ssmtp

wc_fbsd at xxiii.com wc_fbsd at xxiii.com
Wed Mar 29 16:46:43 UTC 2006


At 11:08 AM 3/29/2006, Andy Greenwood wrote:
>I'm having some trouble setting up ssmtp ..... but when I try to use 
>/usr/bin/mail, I get logs in my maillog trying to use sendmail, 
>which is set to none in rc.conf. How do I set this up so that all 
>mail sends out through ssmtp?

Edit /etc/mail/mailer.conf to use ssmtp instead of sendmail.  "man 
mailer.conf" if you're not sure what's going on.  If you installed 
via ports, you can just use "make replace".

You'll also want to completely disable sendmail (easier said than 
done.)  In rc.conf, add:
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


   -Wayne



More information about the freebsd-questions mailing list