[geeks] Sendmail
Scott Howard
scott at doc.net.au
Sat Mar 2 19:19:28 CST 2002
On Sat, Mar 02, 2002 at 07:47:34PM -0500, Ryn wrote:
> Is there a way to configure sendmail to bind to port 25 but only accept
> connections
> from localhost? We are trying to configure mail delivery agents on our
> applications
> servers, and want to disable everyone but the local machine from relaying mail.
In sendmail.cf :
Change
O DaemonPortOptions=Name=MTA
to
O DaemonPortOptions=Name=MTA,Address=127.0.0.1
If you're using .mc generation (as you should be!) then the line to add to
your .mc file is
DAEMON_OPTIONS(`Name=MTA, Address=127.0.0.1')
Scott.
More information about the geeks
mailing list