Thanks for the response, Mark! My idea was to still have all the sender/recipient/message information but only for those e-mails that are quarantined. Thus, we would want to call save_info_preliminary and save_info_final whenever a message is being quarantined. The users could then control that behavior from the config file, e.g. quarantine only, report only, or both. Do you see that as a useful feature that could possibly get added to a future amavisd release?
Tenyo Mark Martinec wrote: > Tenyo, > > >>> Hi. I'm working on a custom Amavis/SA quarantine solution using MySQL, >>> and I was curious if there's a way to disable the SQL reporting while >>> still having spam get quarantined? >>> > > Control knob is not provided to turn off reporting and still use SQL > for quarantining, although both mechanisms are not tightly coupled, > so SQL quarantining would work even without SQL reporting (although > releasing from quarantine may be more difficult, lacking some information). > > >> It looks like amavisd follows these steps for SQL reporting/quarantining: >> ... >> So my approach will be to try and delay all transactions until the final >> stage where I would only commit them if the message is getting >> quarantined. Do you guys see any problems with that? >> > > I believe you can just comment out calls to > save_info_preliminary and save_info_final to achieve what you want. > > Note that SQL reporting is needed for pen pals so work, > which seems like a very useful feature - saved us from a > couple of false positives in the last couple of weeks. > > 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 > AMaViS-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/amavis-user > AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 > AMaViS-HowTos:http://www.amavis.org/howto/ > > > -- Tenyo Grozev Perimeter Internetworking 203-541-3425 -- The sender of this email subscribes to Perimeter Internetworking's email anti-virus service. This email has been scanned for malicious code and is believed to be virus free. For more information on email security please visit: http://www.perimeterusa.com/malicious_code_defense_content.html This communication is confidential, intended only for the named recipient(s) above and may contain trade secrets or other information that is exempt from disclosure under applicable law. Any use, dissemination, distribution or copying of this communication by anyone other than the named recipient(s) is strictly prohibited. If you have received this communication in error, please delete the email and immediately notify our Command Center at 203-541-3444. ------------------------------------------------------------------------- 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 AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/