Turning off submission (587) port

Thomas Wolf tw at wsf.at
Wed Jul 7 10:20:26 PDT 2004


Chris <racerx at makeworld.com> schrieb:

> Folks,
> I would prefer to shut this port down if I can. I'm unsure if and how it 
> can/do it. Other then that, would there be an effective ipfw rule that would 
> block this?
> 
> If the above needs recompiling sendmail, then I would certainly prefer the 
> latter.
> 

AFAIK, it is sufficient to edit /etc/mail/sendmail.cf and
comment or delete  the follwoing line:
O DaemonPortOptions=Port=587, Name=MSA, M=E
and restart sendmail afterwards.

regarding ipfw,
reject tcp from any to me 587 
would be an appropriate rule.

Thomas

--
Thomas Wolf
Wiener Software Fabrik
Dubas u. Wolf GMBH
1050 Wien, Mittersteig 4



More information about the freebsd-questions mailing list