David,

Richard Bishop wrote:
> There are three (actually four) ways that you can achieve
> this functionality

Actually there is one more mechanism, for cases where mail body
needs to be modified (and header editing does not suffice):
there is a mechanism geared towards mimedefang and anomy sanitizer,
which can modify entire mail for purposes like adding disclaimers
or 'defanging' - such as stripping off problematic attachments.
It is a bit of a hack currently, basically it just passes mail
as a file to an external program, and takes back modified file,
and continues with forwarding as if this file were original mail.

> It is not "scanners" but filters that will create new features on amavis
> such has:
>
> GEOIP filters
> acls
> bogofilters compliance...
> All connected to an ldap server ofr storing and query parameters.
> It is for developp more feature for this product (http://www.artica.fr)
>
> After fighting with google i think that the way of Amavis::Custom is the
> best to hook amavis....

Custom hooks have access to all information about mail,
have access to SQL and LDAP lookups mechanism,
can edit header section (add/delere/change header fields),
can call extra quarantining and send extra notifications
or abuse reports, and can influence further decisions such
as virus and spam scanning, and can modify results from
virus and spam scanning, e.g. change score, let mail pass
or be blocked, control delivery notifications.

Changing mail body from custom hooks is currently
not envisioned or supported.

  Mark

------------------------------------------------------------------------------
_______________________________________________
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