1 |
On Mon, May 27, 2013 at 09:50:55PM -0400, staticsafe wrote |
2 |
> Hi, |
3 |
> |
4 |
> New mutt user here. I'm curious as to why you are using ssmtp, mutt |
5 |
> can talk SMTP directly. That simplifies thing as well regarding the |
6 |
> "sendmail" symlinks. |
7 |
|
8 |
I normally send my email out via my ADSL ISP (teksavvy.com). My |
9 |
normal /etc/ssmtp/ssmtp.conf is a copy of /etc/ssmtp.teksavvy.ssmtp.conf |
10 |
Let's assume that there's an outage at Teksavvy. I then use my dialup |
11 |
account at 295.ca via my USB dialup modem. The script "~/bin/udialup" |
12 |
consists of... |
13 |
|
14 |
#!/bin/bash |
15 |
sudo /bin/cp -f /etc/ssmtp/295.ssmtp.conf /etc/ssmtp/ssmtp.conf |
16 |
sudo /usr/sbin/pon u295.ca |
17 |
|
18 |
When I finish the dialup session, I execute "~/bin/dialdown"... |
19 |
|
20 |
#!/bin/bash |
21 |
/usr/bin/sudo /usr/sbin/poff |
22 |
/usr/bin/sudo /bin/cp -f /etc/ssmtp/teksavvy.ssmtp.conf /etc/ssmtp/ssmtp.conf |
23 |
|
24 |
I can switch between ADSL and dialup without reconfiguring mutt. As I |
25 |
said, I'm a long time mutt user, and it didn't have smtp when I started |
26 |
using it. |
27 |
|
28 |
-- |
29 |
Walter Dnes <waltdnes@××××××××.org> |
30 |
I don't run "desktop environments"; I run useful applications |