Connection refused

Randal, Phil prandal at herefordshire.gov.uk
Tue Jan 24 15:37:04 GMT 2006


check your /etc/mail/sendmail.mc

make sure you have the line

  dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl

without the dnl in front only locahost will be able to connect to
sendmail

then do a "service MailScanner restart"

Phil

----
Phil Randal
Network Engineer
Herefordshire Council
Hereford, UK  

> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info 
> [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf 
> Of Darryl DeLao
> Sent: 24 January 2006 15:30
> To: 'MailScanner discussion'
> Subject: RE: Connection refused
> 
> There is no indication in the logs that something is wrong.  
> I can not telnet to the server, and when I flush out my other 
> mail server, which has messages qued up, it says connection 
> deferred, not accepting connections.
> There is no firewall running on the server itself.
> 
> 
> 
> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info
> [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf 
> Of Alex Neuman van der Hans
> Sent: Tuesday, January 24, 2006 9:19 AM
> To: MailScanner discussion
> Subject: Re: Connection refused
> 
> >>> It was working fine yesterday, but now connections are no longer 
> >>> allowed.
> 
> Exactly *what* do you mean by connections are no longer 
> allowed? Do you mean that if you, say, "telnet 
> yourmailserver.com 25" you get a message saying "Connection 
> not allowed"?
> 
> >>> Everything is being deferred.  Any ideas?
> 
> Exactly *what* do you mean by everything is being deferred? 
> Do you mean that if you, for example, check /var/log/maillog, 
> you get something like:
> 
> Jan 24 10:16:05 yourmailserver sendmail[22098]: k0OFFoEd022891: 
> from=<whoever at whatever.com>, size=0, class=0, nrcpts=0, 
> proto=SMTP, daemon=MTA-v6, relay=... never mind, I'm 
> deferring everything! MWAHAHAHAH!!!
> 
> 
> 
> -- 
> MailScanner mailing list
> MailScanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
> 
> Before posting, read http://wiki.mailscanner.info/posting
> 
> Support MailScanner development - buy the book off the website! 
> 
> 
> -- 
> MailScanner mailing list
> MailScanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
> 
> Before posting, read http://wiki.mailscanner.info/posting
> 
> Support MailScanner development - buy the book off the website! 
> 


More information about the MailScanner mailing list