telnet server 25 connection refuse

Barry Brimer lists at brimer.org
Sat Mar 31 14:09:40 UTC 2012


What is the output of

grep DAEMON_OPTIONS /etc/mail/sendmail.mc

What is the output of

netstat -tnlp | grep LISTEN | grep 25



On Sat, 31 Mar 2012, surendra kumar wrote:

> Dear sir
>
> "DAEMON_OPTIONS(`Port=smtp,**Addr=127.0.0.1, Name=MTA')dnl
>
> We have done stil have facing problem
>
> Thanks
>
>
>
> On Sat, Mar 31, 2012 at 9:47 AM, Barry Brimer <lists at brimer.org> wrote:
>
>> 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
>>
>> --
>> redhat-list mailing list
>> unsubscribe mailto:redhat-list-request@**redhat.com<redhat-list-request at redhat.com>
>> ?subject=unsubscribe
>> https://www.redhat.com/**mailman/listinfo/redhat-list<https://www.redhat.com/mailman/listinfo/redhat-list>
>>
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
> !DSPAM:4f76f19146081921720066!
>
>




More information about the redhat-list mailing list