Nov 12, '03 09:47:00AM • Contributed by: lipids
- As root, vi /etc/postfix/main.cf and include the following line (I put mine at the bottom of the file):
virtual_alias_maps = hash:/etc/postfix/virtual
- As root, vi /etc/postfix/virtual and add the following:
########### # local users ########### localUser1@domain.com localUser1 localUser2@domain.com localUser2 localUser3@domain.com localUser3 localUser4@domain.com localUser4 ########## # catch-all ########## @domain.com catch-all
I put this at the top above the comments. You must include all local users or the catch-all account will get all mail. localUser# is used in place of the actual user account name for local users. catch-all is used in place of the account you designate as the catch-all. domain.com is used in place of your domain name. There are tabs between the entries on each line. There is a caveat -- if you create an alias, that email will go to the catch-all account as well as to the aliased accounts.
- As root, run postmap /etc/postfix/virtual
- As root, run postfix reload
[robg adds: I don't have Server, so I can't attest to the workability of this fix...]
