At 03:29 PM 2/14/2009, mouss wrote:
I didn't test this, but in principle, amavisd-new only "tags" mail if
the recipient is in a "local" domain. did you abuse @local_domains_maps
(or one of the alternative ways to declare local domains)?

Good call. I have local_domain_maps = ( 1 ) based on some other feedback to fix some other problem (it wasn't flagging / checking mail to some of the domains that the mail server hosted). I'll guess that instead I need to enter all the domains here based on your described behavior.

I've been testing having all the mail domains that the server hosts in that map file, and it appears to all be working as defined. Thanks for your assistance!

Is there a way to get amavisd to read/know my local_domain_maps from postfix (which is hosting multiple wildly different virtual domains) somewhere so that this updates dynamically? I searched around for a while, and that seemed like a complex undertaking. If my domains were hashed it'd be one thing, but they're all in mysql.

See
http://www.ijs.si/software/amavisd/amavisd-new-docs.html

Thanks! that's really helpful.

Note that you can disable filtering for outbound mail. if this is what
you want

I'd like to avoid that, but if that's what it takes for a fully dynamic config I might have to end up there anyway. Right now adding a new domain is a matter of adding it in postfixadmin (and updating MX). I'd rather be able to update the maps file (above) dynamically, since I'd rather filter my outbound mail, but I might go that way if there's no other recourse.

Rick
PS But I'm filing those notes away for future reference!

Reply via email to