Chris, > Is it possible to log *only* quarantined mails, and not all mails > passing through amavis? From what I can see, setting @storage_sql_dsn > will cause logging of all mails.
Not possible without tweaking the code. The @storage_sql_dsn is global. It might be possible to tweak entries in %sql_clause and replace a simple INSERT and UPDATE with some conditionalized SQL magic. It is also possible to have per-policy-bank %sql_clause, although this does not address your particular need. Probably the least work would be to modify code. But do you really want this? The pen pals feature won't work any longer. Mark ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ 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/
