From: mouss (no email)
Date: Tue Aug 01 2006 - 18:17:03 EDT
Alain NAKACHE wrote:
> Hi,
>
> 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
> hash:/etc/postfix/valiasdefault.cf
no, not a hash, unless you're ready to script and sync. Keep using ldap
since your domains are there. create a (ldap) map that implements:
postmaster at domain dot example
abuse at domain dot example
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.
|
|
|