Pavel, > is it possible to deduce the name of the file that contains quarantined > message?
The easiest is to do so from the log, one just needs to prepend a quarantine directory to the reported quarantine id. Similar is true if you have reporting to SQL enabled. > Right now we're using quite 'soft' policy - most of spam goes > through and only gets marked and the copy is being kept in quarantine > for five days. The problem is that there are some false positives > reported by our customers and I need to find the exact message. > So I have mail headers from our customer and about 400.000 files in > quarantine... Hmm. The mail-id is not inserted in header of a passed mail (it wouldn't be hard to do so by fiddling with code). The reason why I didn't bother to do so is that message is usually not quarantined when it is passed to recipient (i.e. is below kill level). An exception to that is if you have D_PASS as a spam destiny. I'll consider adding a X-Quarantine-To: header field to passed mail in such cases. You could search the amavisd log for a Message-ID as seen in the mail header, and obtain quarantine name from a matched log entry. It is not elegant, but is doable. Its easier if reporting goes to SQL, so a select on Message-ID or recipient or time or subject can lead you to the quarantine name. Mark ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ 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/
