Prev: sendmail.mc
Next: sm-client startup problem
From: kd on 16 Dec 2005 19:14 Hey all, bit of sendmail newbie here. I have my sendmail server listening for external mail, my sendmail.cf: # SMTP daemon options O DaemonPortOptions=Port=smtp,Addr=192.168.1.100, Name=MTA I changed it from 127.0.0.1 to 192.168.1.100 so I could listen for external mail and it works fine. But my LogWatch emails are not comming through now and I see: jBH0CIxs030054: to=kd(a)netnerd.ca, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=57738, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] I can telnet to 192.168.1.100 25 fine, but 127.0.0.1 25 is connection refused. Any suggestion how I can listen on both? Thanks all.
From: Andrzej Adam Filip on 16 Dec 2005 19:23 "kd" <kd(a)netnerd.ca> writes: > Hey all, bit of sendmail newbie here. > > I have my sendmail server listening for external mail, my sendmail.cf: > > # SMTP daemon options > O DaemonPortOptions=Port=smtp,Addr=192.168.1.100, Name=MTA > > I changed it from 127.0.0.1 to 192.168.1.100 so I could listen for > external mail and it works fine. > > But my LogWatch emails are not comming through now and I see: > > jBH0CIxs030054: to=kd(a)netnerd.ca, ctladdr=root (0/0), delay=00:00:00, > xdelay=00:00:00, mailer=relay, pri=57738, relay=[127.0.0.1] > [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by > [127.0.0.1] > > I can telnet to 192.168.1.100 25 fine, but 127.0.0.1 25 is connection > refused. > > Any suggestion how I can listen on both? > Thanks all. Specify *both* IP interfaces in *.mc file you use to generate sendmail.cf and recompile it. DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA-local')dnl DAEMON_OPTIONS(`Port=smtp,Addr=192.168.1.100, Name=MTA-public')dnl -- [en: Andrew] Andrzej Adam Filip : anfi(a)priv.onet.pl : anfi(a)xl.wp.pl http://www.sendmail.org/faq/ http://www.sendmail.org/m4/readme.html http://anfi.homeunix.net/sendmail/ Netcraft Site Rank: 502864
From: Sethi on 18 Dec 2005 09:31 On 17 Dec 2005 01:23:57 +0100, Andrzej Adam Filip <anfi(a)priv.onet.pl> wrote: >Specify *both* IP interfaces in *.mc file you use to generate sendmail.cf >and recompile it. > >DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA-local')dnl >DAEMON_OPTIONS(`Port=smtp,Addr=192.168.1.100, Name=MTA-public')dnl ....or simply do not specify any, as suggested in sendmail.mc DAEMON_OPTIONS(`Port=smtp, Name=MTA-local')dnl Luca
From: Per Hedeland on 18 Dec 2005 15:41 In article <jfsaq15elc9j1v0jq879mg29aecs7o1o0s(a)4ax.com> Sethi <l.mirri(a)tin.it> writes: >On 17 Dec 2005 01:23:57 +0100, Andrzej Adam Filip <anfi(a)priv.onet.pl> >wrote: > >>Specify *both* IP interfaces in *.mc file you use to generate sendmail.cf >>and recompile it. >> >>DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA-local')dnl >>DAEMON_OPTIONS(`Port=smtp,Addr=192.168.1.100, Name=MTA-public')dnl > >...or simply do not specify any, as suggested in sendmail.mc > >DAEMON_OPTIONS(`Port=smtp, Name=MTA-local')dnl Or even simpler: I.e. don't put in a DAEMON_OPTIONS() line at all if you don't have some particular reason to do so. None of the sample .mc files shipped with the sendmail distribution have one. --Per Hedeland per(a)hedeland.org
|
Pages: 1 Prev: sendmail.mc Next: sm-client startup problem |