Since version 1.4.25 msmtp has support for a aliases file. I edited my ~/.msmtprc and added:
1 | aliases ~/.aliases
|
1 | root: myemail@mydomain.tld
|
Only ~/.aliases
didn’t get expanded to the full path:
Other than that, it worked perfectly! Now I can send e-mails to root and have them delivered to my personal e-mailaddress.
Comments