View Single Post
  #3   (View Single Post)  
Old 3rd July 2008
scottro's Avatar
scottro scottro is offline
Real Name: Scott Robbins
ISO Quartermaster
 
Join Date: Apr 2008
Location: NYC
Posts: 652
Default

Easiest way to do it in FreeBSD
cd /usr/ports/mail/ssmtp
make replace

This will rewrite mailer.conf so that it uses ssmtp instead of sendmail.
Then, you don't need to put the sendmail line in .muttrc.
However, as jbhappy correctly mentioned, it's /usr/local/sbin/ssmtp that you want.

I see that you also give the option to offer another solution. I've come to prefer msmtp. Firstly, ssmtp has been abandoned and is no longer maintained. Secondly, msmtp gives you a bit more flexibility--you can send from multiple accounts and such.

I cover it in my my mutt page.
http://home.nyc.rr.com/computertaijutsu/mutt.html
Reply With Quote