How to disable Sendmail Submission

I am trying to use ASSP and redirect sendmail to have submission run on port 588 instead of 587. From what I can tell, this is impossible without directly editing /etc/mail/sendmail.cf. I have updated numerous configurations but when I do a make install in /etc/mail, this line just pops right back in:

Code:
O DaemonPortOptions=Port=587, Name=MSA, M=Ea

That's in addition to this line:

Code:
O DaemonPortOptions=Port=588, Name=MSA, M=Ea

Which comes from this line in my .mc file:

Code:
DAEMON_OPTIONS(`Port=588, Name=MSA, M=Ea')dnl

Has anyone run into this or figured out how to solve it? I really want this to stay fixed. What happens when this breaks is that assp starts first and then sendmail starts second and dies because port 587 is in use. Then I have to manually fix and restart both or else no email comes in.

Thanks!
Rusty Nejdl
http://networking.ringofsaturn.com
 
You can have multiple DaemonPortOptions, so setting one will not override the other -> Use
Code:
FEATURE(`no_default_msa')
to turn off the default setting (which is the 'port 587' one).

See /usr/share/sendmail/cf/README.
 
Back
Top