Discussion:
postfix alias for all users
(too old to reply)
Leonardo de Souza
2015-10-09 13:13:24 UTC
Permalink
I have the need to create an alias for all User postfix.

example:

***@domain.com for all the domain users
Rob Brown
2015-10-09 17:41:01 UTC
Permalink
Post by Leonardo de Souza
I have the need to create an alias for all User postfix.
AFAIK, there is no shortcut here. You have to do it manually.

Find your aliases file, often /etc/alias or /etc/postfix/alias, and edit it.
Put in a line like:

alluser: tom,dick,harry,etc.

You might or might not find it convenient to include /etc/passwd and then
massage the appropriate entries into the the alluser line.

When you have finished editting, run the newaliases command.

See man aliases for more information.

Loading...