Re: Postmaster and abuse default in virtual_alias_map
- Alain NAKACHE wrote:
> Hi,no, not a hash, unless you're ready to script and sync. Keep using ldap
> I need to configure a default management of postmaster@<domain> or
> abuse@<domain> on a virtual domains hosting.
> My custormers have the ability to define these emails in the
> virtual_alias_maps table but if they don't I want to define them by
> using a static file.
> This config has a chance to work :
> virtual_alias_maps = ldap:/etc/postfix/ldap/valias.cf
since your domains are there. create a (ldap) map that implements:
whenever "domain.example" is found in your map of managed domains.
PS. It is a good idea to forget about addresses with no domains (be them
"foo" or "foo@") even if MTAs allow them in some cases.