[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: smtpmail vs msmtp
From: |
Eric Abrahamsen |
Subject: |
Re: smtpmail vs msmtp |
Date: |
Thu, 01 Aug 2019 15:21:45 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Štěpán Němec <stepnem@gmail.com> writes:
> On Thu, 01 Aug 2019 13:44:21 -0700
> Eric Abrahamsen wrote:
>
>> I'm using smtp with multiple accounts, and a `message-send-mail-hook'
>> that sets the msmtp account based on the From header. Is that still the
>> way everyone is doing it? Is there anything simpler for handling
>> multiple accounts?
>
> I'm also using multiple accounts and all I'm doing to that end on Emacs
> side seems to be the following:
>
> (setq send-mail-function 'message-send-mail-with-sendmail
> message-send-mail-function 'message-send-mail-with-sendmail
> sendmail-program "/usr/bin/msmtp"
> message-sendmail-envelope-from 'header
> message-sendmail-f-is-evil nil)
>
> I.e., I let msmtp pick the account based on the From header.
Crap, really? I've got this unwieldy thing that sets the account using
`message-sendmail-extra-arguments', I wonder if that's just not
necessary at all. I'll try removing it.
Thanks for the tip,
Eric
- smtpmail vs msmtp, Saša Janiška, 2019/08/01
- Re: smtpmail vs msmtp, Štěpán Němec, 2019/08/01
- Re: smtpmail vs msmtp, Bob Newell, 2019/08/01
- Re: smtpmail vs msmtp, Eric Abrahamsen, 2019/08/01
- Re: smtpmail vs msmtp, Štěpán Němec, 2019/08/01
- Re: smtpmail vs msmtp,
Eric Abrahamsen <=
- Re: smtpmail vs msmtp, Lars-Johan Liman, 2019/08/02
- Re: smtpmail vs msmtp, Eric Abrahamsen, 2019/08/02
- Re: smtpmail vs msmtp, Lars-Johan Liman, 2019/08/06
- Re: smtpmail vs msmtp, Eric Abrahamsen, 2019/08/06
- Re: smtpmail vs msmtp, Saša Janiška, 2019/08/02
- Re: smtpmail vs msmtp, Bob Newell, 2019/08/02
- Re: smtpmail vs msmtp, Saša Janiška, 2019/08/03
Re: smtpmail vs msmtp, Fraga, Eric, 2019/08/01