Catchall for postmaster/hostmaster/abuse

Jan Kowalsky jankow at datenkollektiv.net
Tue Jun 12 18:27:01 CEST 2018


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:
postmaster at example.org postmaster at 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@/ postmaster at ourdomain.org


But then also all outgoing mails to any postmaster at otherdomain.com goes
also to postmaster at ourdomain.org

Any idea?

Thanks and regards
Jan


More information about the users mailing list