Gary,
> Mark, this failed for me:
> $spam_quarantine_to = '[EMAIL PROTECTED]';
> @spam_quarantine_to_maps = (
> { '.example.com' => undef, # turn off quarantine for this recip
> },
> $spam_quarantine_to, # for everybody else use a global default
> );
> This worked:
> @spam_quarantine_to_maps = (
> { '.example.com' => '', # turn off quarantine for this recip
> },
> $spam_quarantine_to, # for everybody else use a global default
> );
Ah yes, you are quite right. The undef causes a fallback to the next lookup
table.
To make sure the setting is switched off right away, the '' is needed,
or no other fallback lookup table be specified in the @*_maps list.
> This worked:
> @spam_quarantine_to_maps = (
> { '.example.com' => undef,
> '.' => $spam_quarantine_to,
> }
> );
Indeed. There is no next lookup table in this case, so the undef behaves
the same as '' would.
Thanks for trying it out and pointing out a mistake in my example.
Mark
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/