Re: sendmail run on localhost instead of eth0( Urgent )

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Win Toe wrote:
Dear All,
I am running sendmail version 8.12.8-14 with RH.9
DNS is working for both forward and reverse lookup. DNS is OK. No problem.
I can receive mail from server
But i cannot send mail to server.


So I telnet to server at port 25. Then connection refused.
I try to telnet to localhost on server at port 25. Sendmail is running at
port 25 of localhost. But i want to run sendmail on eth0 ( 192.168.11.12 ).
If sendmail is running on eth0, i suppose i can send mail to server.


My quiestions is, how i have to do to run sendmail on eth0 interface.....?
I have no time to read the book. I urgently need helps !!


Thanks in advance !!!

Win Toe
Penguin Millennium
IT training Centre, Yangon, Myanmar.




Look in /etc/mail/sendmail.mc and see these lines:


dnl #
dnl # The following causes sendmail to only listen on the IPv4 loopback address
dnl # 127.0.0.1 and not on any other network devices. Remove the loopback
dnl # address restriction to accept email from the internet or intranet.
dnl #
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl


If your file looks like this, you need to comment out the last line, and save the file. Then issue this command:

make -C /etc/mail

You will need package sendmail-cf installed to do this.

*****please***** fix the time on your system. You are off by SEVEN years. It screws up the order of the email in my email client.

Thanks,
Bill




-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux