Domains issue

Quanah Gibson-Mount quanah at
Wed Mar 23 18:27:26 CET 2016

--On Wednesday, March 23, 2016 11:23 AM -0700 Quanah Gibson-Mount 
<quanah at> wrote:

> In dealing with a problem with disclaimers, I noticed that amavis is not
> really optimized for multi-domain installations.  In the conf file I find:
> $mydomain = '';   # a convenient default for other settings
> and
> @local_domains_maps = ( [".$mydomain"] );  # list of all local domains
> While this probably is fine for most installations, we have customers who
> anywhere from one domain to > 1500 domains.  This becomes problematic in
> particular when disclaimers are in use.  Clearly, I can modify the conf
> file as necessary, but it'd be great if I could have amavis actually pull
> my domains out of LDAP, for example, so I didn't have to hack the conf
> file at all.  Has there been thought on implementing something along
> these lines?  I.e., a generic database mechanism, so LDAP, SQL, etc, can
> be used for pulling in the domain list?

Note that this would allow for real-time updates to domains considered 
local, w/o having to restart amavis, if implemented properly.



Quanah Gibson-Mount
Platform Architect
Zimbra, Inc.
Zimbra ::  the leader in open source messaging and collaboration
A division of Synacor, Inc

More information about the amavis-users mailing list