Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email firstname.lastname@example.org
From: /dev/rob0 (rob0gmx.co.uk)
Date: Wed Aug 05 2009 - 14:29:29 CDT
On Wednesday 05 August 2009 05:37:12 Yeray Gutiérrez Cedrés wrote:
> If it's right and virtual_mailbox_domain is not set, so its
> default value is virtual_mailbox_maps (wich lists an LDAP
> database), Postfix would perform twice the same LDAP lookup
> (one time in qmgr(8) and another time in virtual(8)).
Minor nitpick: that is not the same lookup. The _maps lookup is for
userexample.com, the domain lookup is merely "example.com".
> I suppose that I'm wrong with that, but I can't see how does this
> behave. If I were right, that would mean that's much better to
> list virtual domains in virtual_mailbox_domains with a simple hash
> than just leaving it to its default value.
Indeed, the domain class definitions (virtual_*_domains, relay_domains
and mydestination, see ADDRESS_CLASS_README) are very important; in
general not something I would want to trust to an external daemon. If
they change so frequently as to benefit from being maintained in an
external database, your site is so large that you should have some
redundancy for both the database and the MTA.
Note that there's no reason why virtual_mailbox_maps cannot also be a
Offlist mail to this address is discarded unless
"/dev/rob0" or "not-spam" is in Subject: header