On 2006. 09. 12. 17:13, Mark Martinec wrote:
>> Is there an easy hook where I can collect these (sender IP and the
>> result of virus and spam filtering in amavis), or a suggested method to
>> retrieve the information from amavis?
> No such hooks are provided, but all the necessary information
> is available when a subroutine save_info_final() is cxalled,
> where you can add your code.
Thanks for the pointer, I will take a look at it.

BTW, don't you plan a "reverse" AM.PDP protocol, where amavisd would be 
the client and an external program the server?
For the first iteration passing only as much information from the e-mail 
as possible would be more than enough (at least for me at the moment ;) 
and then it could be extended to handle policy decisions (setting 
amavisd variables for example), or whatever.

So there could be some states (pre anything, pre virus filtering, pre 
spam filtering, post filtering, etc) where the amavis policy server 
(analog to the postfix one) could decide about further processing, or 
change amavisd parameters, the e-mail itself, or whether the mail should 
be scanned for viruses, spams, etc. Or something similar.

This would allow a more general approach than the current lookup methods 
offer, I think.

Thanks,
-- 
Attila Nagy                                   e-mail: [EMAIL PROTECTED]
Free Software Network (FSN.HU)                 phone: +3630 306 6758
http://www.fsn.hu/

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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