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