vanutsteen.nl => nerds only A blog on rails, php, computing, my bass guitar and stuff

msmtp and the aliases file (/etc/aliases)

on in Linux

Since version 1.4.25 msmtp has support for a aliases file. I edited my ~/.msmtprc and added:

1
aliases ~/.aliases
~/.aliases:
1
root:           myemail@mydomain.tld

Only ~/.aliases didn’t get expanded to the full path:

http://sourceforge.net/mailarchive/forum.php?threadname=1330871670.3229.1.camel%40polly&forumname=msmtp-users

Other than that, it worked perfectly! Now I can send e-mails to root and have them delivered to my personal e-mailaddress.

Comments