Jack, > I'm trying to write a simple plugin for SpamAssassin. When I run a test > on the command line against test messages, it works just fine. But > amavisd is not returning a result on the test. > > Anyone have any tips for writing SpamAssassin plugins with Amavisd? > Is there something simple I'm missing?
There is nothing specific to amavisd-new about writing SA plugins. If it works from a command-line spamassasin, it should work too when called from amavisd. When testing make sure to invoke 'spamassassin' as user vscan (or whatever user amavisd runs under), otherwise you may be encountering issues with file ownerships/protections, and using different environment (like a different login directory or different SA rules directory). Also verify that the same version of Perl is invoked, in case you have more that one version installed on the system. > Does amavis not pass image attachments to SpamAssassin? It does. The complete message in its original form is passed to SA (not just its components one by one, like virus scanners get their contents from amavisd). Mark ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ 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/
