[CentOS] sendmail refusing incoming connections from outside

Sat Aug 6 01:07:22 UTC 2005
Craig White <craigwhite at azapple.com>

On Sat, 2005-08-06 at 06:25 +0530, Sudev Barar wrote:
> 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.
----
1 - yes, you did
2 - the 'recommended' method was Alexander's method - see...
<http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/ref-
guide/s1-email-mta.html>
3 - if you read the link above - you will see this referenced

Craig