Jun 24, 2017

How to forward email by alias on Linux

Compare to .forward file, editing the aliases file instead is simpler since you can edit all the users in one spot instead of having to find different files:

vi /etc/aliases

#forwarding account(s)
alice: [email protected]
rob: [email protected], [email protected]

The final step is to update the aliases and then restart your mail program:

service postfix restart

Post a Comment

Featured Post

Modern tar recognizes the file format

One command works with any supported compression method. tar xf archive.tar.xz tar xf archive.tar.gz tar xf archive.tar etc. ...