LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-06-2005, 03:15 PM   #1
RedHat123
Member
 
Registered: Dec 2001
Posts: 60

Rep: Reputation: 15
Question sendmail for internal network and network config questions


i have a LAMP server im using to test my websites with and im behind a router so the web server is not accessible to the outside.

i want to use sendmail as my mailserver while testing my php applications and also because that is what my hosting provider uses. my test webserver is not accessible to the outside and im running behind a broadband router. all i really need to do is setup about 5 or 6 different email accounts for recieving email from the web site after orders are completed etc also maybe another 5 or 6 email accounts for vendor emails (suppliers).

-wait a min, i think i just answered my own question -
maybe i dont need to even send to external addresses, i could just create users on my linux box for use with testing my web site. when i registered a new user, what would i specify for their email address,
user_name@localhost.localdomain -or- user_name@my_internal_domain.com ?

that brings me to my next question. i dont really want to run DNS just for internal networking, id rather just keep my machines as dhcp clients. id like to be able to access my web server via a name like www.testserver.com and have it resolved to an internal IP, do i do that in the hosts file and how will that affect the sendmail config settings ?


extra -
At present ive been modifying the sendmail.mc file and ive noticed sendmail takes a long time to both startup and send an external mail as well, such as to my yahoo account. ive started out by setting a smart_host to my isp and the masqaraude_as as my isp domain. i setup a dummy internal domain as well in the /etc/hosts file. and this domain is listed in the maillog as causing problems such as
Apr 6 15:11:25 billybob sendmail[7150]: starting daemon (8.12.10): SMTP+queueing@01:00:00
Apr 6 15:11:25 billybob sm-msp-queue[7157]: My unqualified host name (billybob) unknown; sleeping for retry
Apr 6 15:12:25 billybob sm-msp-queue[7157]: unable to qualify my own domain name (billybob) -- using short name
Apr 6 15:12:25 billybob sm-msp-queue[7160]: starting daemon (8.12.10): queueing@01:00:00
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Routing on my internal network. Milkman00 Linux - Networking 11 09-02-2005 02:30 PM
Can't Get on Network, Network Config Help needed scbmls Linux - Hardware 1 08-15-2005 11:43 AM
how redgat-network-config to windows network arpi Linux - Networking 1 08-10-2004 06:10 PM
Network Config Questions vdi_nenna Linux - Networking 4 06-07-2002 10:03 PM
smtp internal network 192.168.x.x sendmail sloboda Linux - Networking 0 10-03-2001 04:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration