Nicklas, > Is there a somehow "simple" way to let a file pass through the rules. I'd > like a known filename to to simply pass these checks.
Sure, just place a rule which permits a specific name before rules that would block it, e.g.: $banned_filename_re = new_RE( [ qr'^secret\.exe$' => 0 ], # allow file name secret.exe qr'^\.(exe-ms)$', # block other MS executables ); Mark ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/