Otávio,

> I want to put an perl script to do e-mail auditing and filtering,
> based in some user's rules (including e-mails forwarding, blocking,
> etc), inside amavisd-new process. Is a good choice put this script
> like an AV in "@av_scanners" ? Someone did something like this ?

It is a reasonably good place for such a piece of code, the advantage is
that it does not require any modifications to amavisd code. Drawback
is that its status returns will be interpreted along the same rules
as for other virus scanners (e.g. SA is not called for infected mail).

There are a couple of entries in @av_scanners (amavisd.conf-sample)
that can serve as a starting point:
  'check-jpeg', 'File::Scan', 'check-jpeg-simple', 'always-clean',
  and 'wasteful sleeper example'.

Note that virus scanners are not called if mail body is found in
a cache of recent results, and may not be called for recipients
matching @bypass_virus_checks_maps.

Virus scanning cache may be disabled by setting both the
$virus_check_negative_ttl and the $virus_check_positive_ttl to 0.

  Mark

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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