telnet server 25 connection refuse
Barry Brimer
lists at brimer.org
Sat Mar 31 04:17:08 UTC 2012
> We have RHEL 5 version,after configure sendmail.mc ,dovecote configure
> file, and dovecote enable,iptables -F,selinux is off.
>
> and
> telnet server 110 , working fine ,
> but
>
> telnet server 25 connection refuse,
By default, SMTP servers on RHEL systems only listen to localhost, not the
network interface. Chances are you need to put "dnl " in front of the
line "DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl" in your
/etc/mail/sendmail.mc ...
run m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
and restart sendmail
Before you do this, try :
telnet localhost 25
If that answers, then the above fix should work.
Barry
More information about the redhat-list
mailing list