I have a fleet of Ubuntu clients running
msmtp-mta along with
I'd like to have the same
/etc/msmtprc on all machines.
At present, when someone uses
sendmail, the mail will be from
email@example.com and the only clue to the client machine is the IP address in the mail header.
Is there a way to add the client host name to every mail sent? Like
- Prepend it to the subject or
- auto-attach a file to any mail or
client.mydomain.com(remember, one file to rule them all, and changes in host name should be met automatically)
Note: I cannot configure the actual SMTP-Server, just the