I'm trying to re-write the
TO: header in sent emails with
I've configured mail sent to
root to be sent via
ssmtp (by creating a symlink at
It is redirected to the
/etc/aliases entry, but the TO: header is always the user itself, in this case, it is "TO: root".
The SMTP server rejects this alias. I'd like to have the TO: field re-written to a configurable email address.
I have configured:
/etc/ssmtp/ssmtp.conf as I expect would work.
Is this possible with