This is a discussion on Re: [AMaViS-user] Collecting statistics within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; Tom, > Looking at the latest release notes, it would appear the optimal way would > be to access the ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Tom,
> Looking at the latest release notes, it would appear the optimal way would > be to access the hook mail_done(), and simply connect to a mysql server, > insert the data you want, and disconnect. That is certainly a possibility too. You will have to duplicate some of the SQL connection management and sanitation code that is otherwise already available in save_info_preliminary/save_info_final. > I'm curious how much data mail_done() actually returns or can access, > but I'll snoop around in that later :) See what is available in packages/objects: Amavis::In::Connection Amavis::In::Message::PerRecip Amavis::In::Message > Could you make the name of the virus detected, available in $msginfo ? Ok, will do that. 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?p...rge&CID=DEVDEV _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/...fo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/ |
![]() |
| Thread Tools | |
| Display Modes | |
|
|