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
        );


-------------------------------------------------------
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&kid3432&bid#0486&dat1642
_______________________________________________
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