[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [msmtp-users] Rewrite From in header
Hi!
On Mon, 12 Mar 2012 11:15:45 +0000, bitozoid wrote:
> I'd love msmtp to be used to send mails from my system. In particular,
> Anacron writes the header of the mail as:
> From: Anacron <root>
>
> The envelope is well rewritten, but not the header. Can msmtp do that?
No; one of the principles of msmtp is to never touch the mail content.
But you could use a small wrapper around msmtp that uses e.g. formail
(from the procmail package) to rewrite your headers.
Martin