I have a small server that is suposed configured to use my gmail account to send emails about the readings the borad takes I can send emails all right but I have noticed something strange - I specified in my /etc/aliases that all users should be routed to the same email address
/etc/aliases:
postmaster: mail@gmail.com
readings: mail@gmail.com
root: mail@gmail.com
I get all the root mail all right, but nothing else. Seems like the system tries to run the mail, but with wrong address (no use of alias)
postfix/qmgr[1425]: 8732EC047D: from=<readings@gmail.com>, size=4740, nrcpt=1 (queue active)
I've stumbled upon information that postfix does not use aliase with account name - is it true? More importantly, how can I set the alises for other users so that all the mail is sent with the same gmail account?