Ho do I create non local aliases in postfix?
I update /etc/mail/aliases
and have run:
/usr/bin/newaliases
But got the following error:
Code: Select all
postalias: warning: /etc/mail/aliases, line 37: name must be local
Code: Select all
postalias: warning: /etc/mail/aliases, line 37: name must be local
Code: Select all
virtual_alias_domains = example.com, example.net, example2.com
virtual_alias_maps = regexp:/etc/postfix/virtual_alias
Code: Select all
postmaster@example.com postmaster
info@example.com joe
sales@example2.com jane
# Uncomment entry below to implement a catch-all address
# @example.com jim
# Uncomment entry below to implement a catch across all domains (example.com, example.net and example2.com)
/postmaster@.*/ catch_all@example.com