At 02:19 PM 2/16/2006, Brian Wong wrote:
On 2/14/06, Noel Jones <[EMAIL PROTECTED]> wrote:
>
> Seems to me the easy way would be careful setting of
> @bypass_banned_checks_maps and @banned_files_lovers_maps
> would do this.
> Something like:
>
> @bypass_banned_checks_maps = (
>   { 'example.com'      => 0,  # this domain, but not its
> subdomains
 >     '.example.com'     => 0,  # this domain, including its
> subdomains
>   },
>    [qr/^/ => 1],   # true by default
> );
>
> Where "example.com" is your local domain.  The *lovers_maps
> would be identical for the case where a banned file was
> sent to both a local user and a remote domain.
>

Thanks for the hint, but this specific example doesnt work because you must enclose the regular expression in the new_RE() function call in
order for it to match correctly. More like

@bypass_banned_checks_maps = (
{ 'example.com' => 0, # this domain, but not its subdomains '.example.com' => 0, # this domain, including its subdomains
          },
          new_RE ( [qr/^/ => 1] ),   # true by default
        );


Thanks for the correction.

--
Noel Jones


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
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/

Reply via email to