Jan Kowalsky
2018-06-12 16:27:01 UTC
Hi all,
we have a log of domains - not in each there is an hostmaster/postmaster
e.g. as mail or alias address defined.
We would like to get all mails for postmaster if there is no other
postmaster defined.
While we could achive this with a virtual_alias_maps.cf as the last one
in main.cf we have to
# all domains, without own postmaster:
***@example.org ***@ourdomain.org
...
but it would be nice not to have to add each single domain but have a
regex like this:
# Catchall to comply with RFC standards
^postmaster@/ ***@ourdomain.org
But then also all outgoing mails to any ***@otherdomain.com goes
also to ***@ourdomain.org
Any idea?
Thanks and regards
Jan
we have a log of domains - not in each there is an hostmaster/postmaster
e.g. as mail or alias address defined.
We would like to get all mails for postmaster if there is no other
postmaster defined.
While we could achive this with a virtual_alias_maps.cf as the last one
in main.cf we have to
# all domains, without own postmaster:
***@example.org ***@ourdomain.org
...
but it would be nice not to have to add each single domain but have a
regex like this:
# Catchall to comply with RFC standards
^postmaster@/ ***@ourdomain.org
But then also all outgoing mails to any ***@otherdomain.com goes
also to ***@ourdomain.org
Any idea?
Thanks and regards
Jan