trying (using examples), amavisd-custom. looking to try to look at a SA check (looks like 'custom-checks' module) to be able to get the lists of TESTS in a variable.
(like this tests=[BAYES_99=3.5, DCC_CHECK=2.17, DIGEST_MULTIPLE=1, HELO_OEM=2.195, HTML_MESSAGE=0.001, MIME_HTML_ONLY=1.457, RAZOR2_CF_RANGE_51_100=0.5, RAZOR2_CF_RANGE_E8_51_100=1.5, RAZOR2_CHECK=0.5, RCVD_IN_BRBL=0.01, RCVD_IN_BRBL_LASTEXT=1, RDNS_NONE=1.1, ST_BUMP_BAYES=2.1, URIBL_AB_SURBL=1.86, URIBL_BLACK=1.955, URIBL_JP_SURBL=1.501, URIBL_OB_SURBL=1.5, URIBL_RHS_DOB=1.083, URIBL_SBL=1.499, URIBL_SC_SURBL=0.474, URIBL_WS_SURBL=1.5] autolearn=spam, I want to look for a specific test, and if that test was trigged, I want to add a header to the email AND do_log(0,) log a message to syslog. Has anyone done that yet? -- Michael Scheidell, CTO Phone: 561-999-5000, x 1259 > *| *SECNAP Network Security Corporation * Certified SNORT Integrator * King of Spam Filters, SC Magazine 2008 * Information Security Award 2008, Info Security Products Guide * CRN Magazine Top 40 Emerging Security Vendors * Finalist 2009 Network Products Guide Hot Companies _________________________________________________________________________ This email has been scanned and certified safe by SpammerTrap(r). For Information please see http://www.secnap.com/products/spammertrap/ _________________________________________________________________________ _________________________________________________________________________ This email has been scanned and certified safe by SpammerTrap(r). For Information please see http://www.secnap.com/products/spammertrap/ _________________________________________________________________________ ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ 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/