Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jan 2008 14:02:59 -0500
From:      Rob <bitabyss@gmail.com>
To:        Agus <agus.262@gmail.com>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Sendmail local only.....
Message-ID:  <47978F63.2070107@gmail.com>
In-Reply-To: <fda61bb50801221325p35aae924y116f74c2c026fa1c@mail.gmail.com>
References:  <fda61bb50801221325p35aae924y116f74c2c026fa1c@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Agus wrote:
> Just trying to make sendmail work locally only.....And by that i mean, i
> dont want sendmail to be able to relay or send mail to any other machine
> except for localhost....

I like to avoid sendmail all together.

Install ports/mail/ssmtp

Turn off sendmail:
sendmail_enable="NONE"          # Run the sendmail inbound daemon (YES/NO/NONE).
sendmail_outbound_enable="NO"   # Dequeue stuck mail (YES/NO).
sendmail_submit_enable="NO"     # Start a localhost-only MTA for mail submission

>From pkg-descr:
"A secure, effective and simple way of getting mail off a system to your
mail hub. It contains no suid-binaries or other dangerous things - no mail
spool to poke around in, and no daemons running in the background. Mail is
simply forwarded to the configured mailhost. Extremely easy configuration.

WARNING: the above is all it does; it does not receive mail, expand aliases
or manage a queue. That belongs on a mail hub with a system administrator.

WWW: http://packages.debian.org/testing/mail/ssmtp.html
"
 -rob





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