[CentOS] sendmail refusing incoming connections from outside

Sudev Barar sbarar at gmail.com
Sat Aug 6 00:55:29 UTC 2005


On 8/5/05, Dave <wintermutecx at gmail.com> wrote:
> On 8/5/05, Alexander Dalloz <ad+lists at uni-x.org> wrote:
> > Am Fr, den 05.08.2005 schrieb Sudev Barar um 13:23:
> >
> > > You will need to edit /etc/mail/sendmail.mc and regenerate a new sendmail.cf
> > > Edit and add a line similar to below for your network:
> > > DAEMON_OPTIONS(`Port=smtp,Addr=90.0.0.2, Name=MTA')dnl
> >
> > This is wrong, just because it will prevent the MTA listening on
> > localhost, which is important.
> 
>  Just commenting out that line works also
> _______________________________________________

1. Did I not say ADD and not replace?
2. AFAIK commenting out for 127.0.0.1 will put the machine in relay
for all networks and thus open to span and exploits.
3. Interesting to note from Alexander that M4 is regenrated every time
sendmail is retstarted.
-- 
Sudev Barar
Learning Linux



More information about the CentOS mailing list