On Mon, May 27, 2013 at 09:50:55PM -0400, staticsafe wrote
> Hi,
> 
> New mutt user here. I'm curious as to why you are using ssmtp, mutt
> can talk SMTP directly. That simplifies thing as well regarding the
> "sendmail" symlinks.

  I normally send my email out via my ADSL ISP (teksavvy.com).  My
normal /etc/ssmtp/ssmtp.conf is a copy of /etc/ssmtp.teksavvy.ssmtp.conf
Let's assume that there's an outage at Teksavvy.  I then use my dialup
account at 295.ca via my USB dialup modem.  The script "~/bin/udialup"
consists of...

#!/bin/bash
sudo /bin/cp -f /etc/ssmtp/295.ssmtp.conf /etc/ssmtp/ssmtp.conf
sudo /usr/sbin/pon u295.ca

  When I finish the dialup session, I execute "~/bin/dialdown"...

#!/bin/bash
/usr/bin/sudo /usr/sbin/poff
/usr/bin/sudo /bin/cp -f /etc/ssmtp/teksavvy.ssmtp.conf /etc/ssmtp/ssmtp.conf

  I can switch between ADSL and dialup without reconfiguring mutt.  As I
said, I'm a long time mutt user, and it didn't have smtp when I started
using it.

-- 
Walter Dnes <[email protected]>
I don't run "desktop environments"; I run useful applications

Reply via email to