|
From: Otávio F. <ot...@gm...> - 2010-03-09 18:13:10
|
Hello,
There's an way to modify banned_rules inside Amavis::Custom? Actually
I'm trying:
sub checks {
(...)
$r->banned_filename_re = new Amavis::Lookup::RE(qr/.\.($re)\$/i);
(...)
}
And many errors:
Mar 9 12:40:21 hm2611 amavis[97695]: (97695-01) (!)custom checks
error: Can't locate object method "banned_filename_re" via package
"Amavis::In::Message::PerRecip" at
/usr/local/lib/perl5/site_perl/5.10.1/Locaweb/Amavis/Custom.pm line
143, <GEN22> line 24.
What is the right way to implement banned rules for domains (using
Amavis::Custom)?
best regards,
--
Otávio Fernandes <otaviof at gmail.com>
http://blog.emresumo.com
|