configuring sendmail for a private network.
Hello ALL,
My goal is to have users(Unix Users like root on host1) use evolution /sendmail to send and receive emails between users( Unix users either from host1 or any other host on n a private network. The network is a private network with a few servers without any connection to Internet and no DNS. They resolve one another by /etc/hosts. with smtp configured am able to send and receive emails on one machine(host1) from unix user abc on host1 to user xyz on host1 and vice versa. the commad i used to test is host1@abc #echo "this is a test mail" |mailx zyx@host1 But when i tried sending from user abc on host1 to user xyz on host2 its giving error for DNS unable to resolve hostname. the commad i used to test is host1@abc# echo "this is a test mail" |mailx zyx@host2 I am a newbie on sendmail and hence needs help can someone help me to create a simple sendmail config so that i can send mails between multiple hosts using unix usernames within one network. I can use one of the server as mail server and rest as clients. I dont want to configure any other softwares for pop or imap access. I want to keep it simple and use evolution on the clients to send emails between one another on the private network without internet. Thanks in advance for the help M cyclegar |
1. default setup for sendmail is to only listen on 127.0.0.1 ie localhost, so you'll need to fix that first.
see /etc/mail/sendmail.mc DAEMON_OPTIONS.... line comment out using 'dnl' at each end of the line restart sendmail 2. add all the hosts to each /etc/hosts file. |
All times are GMT -5. The time now is 02:20 PM. |