I have a Raspberry Pi and installed msmtp, msmtp-mta and mailutils. I send emails via Google SMTP and it works great for specific email addresses. If I try to send emails to "root" it works if I use msmtp (echo Test | msmtp -v root), but it does not work if I use mail (mail root). In the msmtp log file I find this: "recipients=root@RaspberryPi3".
Somehow, the connection between "mail" and "msmtp" does not work when it comes to doing the aliases substitution?
Does anybode recognize this, or have tips for trouble shooting?
Thanks!