Sendmail local only.....
Rob
bitabyss at gmail.com
Wed Jan 23 11:02:42 PST 2008
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
More information about the freebsd-questions
mailing list