Pol Hallen skrev den 2013-11-19 22:39:
Hi all :-) I've several virtual domains and I looking for how create
the
aliases for each domains (aliases like postmaster, root, etc.)
I found this
http://serverfault.com/questions/171616/postfix-how-to-make-aliases-work-for-virtual-domains
link is for virtual alias, not system alias
that says something like this: "putting postmaster, root, etc" to
/etc/aliases:
this file contains:
root: foo
formatted lines
/^(postmaster|root|MAILER-DAEMON|abuse)@/ postmaster
/^(bin|daemon|named|nobody|uucp|www|ftp-bugs|postfix|manager|dumper|operator|decode)@/
root
this is not supported in /etc/aliases
or use this:
/^postmaster@/ postmaster
/^root@/ postmaster
/^MAILER-DAEMON@/ postmaster
multiple lines does not help in aliases
but it works as virtual alias if using pcre or regexp table in postfix
is this correct way to do this?
no there is just multiple problems :)