Re: Turning off submission (587) port
Gregory Neil Shapiro [EMAIL PROTECTED] schrieb: 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. Hand editing the sendmail.cf is a bad idea. You're right. Bad habit. Sorry for advising this. Thomas -- Thomas Wolf Wiener Software Fabrik Dubas u. Wolf GMBH 1050 Wien, Mittersteig 4 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Turning off submission (587) port
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. -- Best regards, Chris -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ClamAV virus dat updated: Wed Jul 7 2004 at 03:02:59 daily.cvd updated (version: 393, sigs: 1409, f-level: 2, builder: trog) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Turning off submission (587) port
Chris [EMAIL PROTECTED] 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 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Turning off submission (587) port
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 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Turning off submission (587) port
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. Hand editing the sendmail.cf is a bad idea. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Turning off submission (587) port
Gregory, Great reply... I like how you gave the exact instructions. Shawn --- Gregory Neil Shapiro [EMAIL PROTECTED] wrote: 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 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw To unsubscribe, send any mail to [EMAIL PROTECTED] __ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Turning off submission (587) port
On Wednesday 07 July 2004 12:24 pm, Gregory Neil Shapiro wrote: 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. Hand editing the sendmail.cf is a bad idea. I agree - I ended up adding FEATURE(`no_default_msa') to my respected *.mc file. That did the trick. -- Best regards, Chris -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ClamAV virus dat updated: Wed Jul 7 2004 at 03:02:59 daily.cvd updated (version: 393, sigs: 1409, f-level: 2, builder: trog) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Turning off submission (587) port
* Chris [EMAIL PROTECTED] [0701 18:01]: 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. While we're on the subject, how do I stop sendmail starting, and sow salt on the inodes so nothing grows there again? I want exim instead. I grepped quickly through /etc/defaults/rc.conf and didn't see anything obvious. And ISTR there's a make.conf option too, isn't there? (I've been away since freeBSD 4.7 ish). -- Here's something to think about: How come you never see a headline like `Psychic Wins Lottery'? -- Jay Leno Rasputin :: Jack of All Trades - Master of Nuns ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Turning off submission (587) port
Dick Davies [EMAIL PROTECTED] wrote: * Chris [EMAIL PROTECTED] [0701 18:01]: 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. While we're on the subject, how do I stop sendmail starting, and sow salt on the inodes so nothing grows there again? I want exim instead. I grepped quickly through /etc/defaults/rc.conf and didn't see anything obvious. And ISTR there's a make.conf option too, isn't there? Have a look at /etc/mail/mailer.conf and the associated man page. It's quite possible that there's magic in the Makefile for the Exim port to update mailer.conf for you. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Turning off submission (587) port
On Wed, 07 Jul 2004, Chris wrote: 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. -- Best regards, Chris From sendmail Cookbook I have this example (10.2) for sendmail.mc: FEATURE(`no_default_msa') DAEMON_OPTIONS(`NAME=MSA, Port=587, Addr=127.0.0.1, M=E') DAEMON_OPTIONS(`NAME=MTA, Addr=127.0.0.1') MASQUERADE_AS(`chef.whoareyou.com') The MASQUERAD_AS feature in this example is only used if you want replies to mils sent to a server with a active SMTP port. Change to /etc/mail, run make stop, make all, make install, make start Oliver -- ... don't touch the bang bang fruit ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]