Pol Hallen: > 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 > > that says something like this: "putting postmaster, root, etc" to > /etc/aliases: > > /^(postmaster|root|MAILER-DAEMON|abuse)@/ postmaster > /^(bin|daemon|named|nobody|uucp|www|ftp-bugs|postfix|manager|dumper|operator|decode)@/ > root
That is lame: it redirects mail in other people's domains, too. > or use this: > > /^postmaster@/ postmaster > /^root@/ postmaster > /^MAILER-DAEMON@/ postmaster > > is this correct way to do this? Same problem. Instead, use a script that generates explicit postmas...@example.com entries etc. when you host a new domain. Wietse