Is there a way to use an wildcard for the domainname, like
Wildcards for addresses on a domain are working with "@domain", but "hostmaster@" does not work.
current setup with *@domain wildcard:
virtual_alias_maps = hash:/etc/postfix/virtual
virtual (wildcard for
domain, one mailadress for
domain anything domain2 anything @domain user@localhost mail@domain2 user2@localhost
and now i want to have some standard addresses for every domain, like
But this syntax does not work in that way. One option would be to add the address to each (non-wildcard) domain by hand, another option may be to use a
pcre map for the virtual table. But using a pcre-table for aliases seems too unclean and adding them by hand is what i want to avoid.