[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: msmtp - verständnissfrage



On Sun, Feb 13, 2005 at 11:21:16PM +0100, Rainer Bendig aka Ny wrote:

Wie sage ich msmtp nimm fuer @gmx den Mailserver fuer meine eigenen
mails den anderen?

Mehrere Hosts sind bereits eingetragen, auch mit entsprechender "from"
Zeile in der .msmtprc. Und mein Mutt liefert bereits nur ueber ihn
aus.

Guten Tag,

ich hoffe auf nicht allzu harte Strafe, wenn ich mal aus man msmtp
zitiere:
<cite>If you have multiple mail accounts in your msmtp configuration
file
(called  "default", "work", "extra" for example), you can easily switch
between them in Mutt:
Add the following lines to your Mutt configuration file:
set sendmail="/path/to/msmtp"
macro generic "<esc>1" ":set sendmail=\"/path/to/msmtp\""
macro generic "<esc>2" ":set sendmail=\"/path/to/msmtp -a work\""
macro generic "<esc>3" ":set sendmail=\"/path/to/msmtp -a extra\""
You  can now switch between the accounts with <esc>1 (use
"default" account), <esc>2 (use "work" account), <esc>3 (use "extra"
account). </cite>

Außerdem kann man das automatisieren, wenn man aus einem bestimmten
mail-folder heraus immer über einen bestimmten Smarthost senden will.
In die .muttrc:
folder-hook work  set sendmail="/path/to/msmtp -a work"

Besten Gruß
Hinrich



Reply to: