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

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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/ 

Reply via email to