Turning off submission (587) port

Gregory Neil Shapiro gshapiro at freebsd.org
Wed Jul 7 10:23:51 PDT 2004


> 	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?

1. cd /etc/mail/
2. Edit `hostname`.mc (if it doesn't exist, "cd /etc/mail; make")
3. Add this next to one of the other FEATURE()
   lines: FEATURE(`no_default_msa')
4. Type: make install  (will overwrite sendmail.cf so if you have
   customized that file by hand, you will lose those customizations)
5. Type: make restart



More information about the freebsd-questions mailing list