Aury,
> Mar 30 00:52:18 tatooine amavis[17153]: (17153-01) lookup_hash(<email>)
> matches keys: "."=>DEFAULT
> Mar 30 00:52:18 tatooine amavis[17153]: (17153-01) lookup
> (banned_filename), 1 matches for "<email>", results: "."=>"DEFAULT"
> Mar 30 00:52:18 tatooine amavis[17153]: (17153-01) collect banned
> table[0]: <email>, tables:
> Mar 30 00:52:18 tatooine amavis[17153]: (17153-01) skipping banned
> check: no applicable lookup tables
> %banned_rules = (
> 'DEFAULT' => $banned_filename_re
> );
Could it be that you are assigning $banned_filename_re to
a 'DEFAULT' key in %banned_rules BEFORE you have
anything assigned to $banned_filename_re?
This would be wrong:
%banned_rules = ( 'DEFAULT' => $banned_filename_re );
$banned_filename_re = $banned_filename_re = new_RE( ... );
it would assign undef to $banned_rules{'DEFAULT'}.
This would be correct:
$banned_filename_re = $banned_filename_re = new_RE( ... );
%banned_rules = ( 'DEFAULT' => $banned_filename_re );
Mark
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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/