Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jul 2004 05:29:28 +0200
From:      Oliver Fuchs <oliverfuchs@onlinehome.de>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Turning off submission (587) port
Message-ID:  <20040708032928.GC3501@oliverfuchs.ath.cx>
In-Reply-To: <200407071201.23675.racerx@makeworld.com>
References:  <200407071201.23675.racerx@makeworld.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040708032928.GC3501>