> -----Original Message----- > From: Joe Polk > Sent: Friday, January 31, 2003 8:03 PM > Subject: Sendmail and m4: odd issue > > > Okay, on a clients server I needed to make a change to the > sendmail.cf. So I made the changes to sendmail.mc like a > good boy and m4 sendmail.mc > sendmail.cf. The server wouldn't > listen on the external port so I went into sendmail.mc and > commented out the appropriate line like so: > # dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA') > Then I m4'd the mc ot cf again. This didn't work. The server > still wouldn't listen externally. I checked sendmail.cf and > it appears that the line that mc should have changed didn't. > > The line reading: > O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA > > ...should read: > # O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA > > Why would m4 fail?
Because a comment in m4 is "dnl" not #. i.e. add dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA') in your .mc file. Then recreate you .cf file. Steve Cowles -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list