I have a small filter app that adds a message header containing the message size both in bytes and as a string of asterisks (available here: http://www.cnysupport.com/index.php/source-code/postfix-message-size-header-utility).
It's a small C app that runs as a filter. It reads the message from stdin, prepends the above headers, then writes to stdout) Right now it runs as: filter unix - n n - - pipe user=filter argv=/usr/bin/spamc -e /usr/sbin/ContentFilter -oi -f ${sender} ${recipient} since I'm feeding spamassassin directly, however I'd like to switch to amavisd-new, which will then call spamassassin and the AV scanners. Does anybody have any idea how I could get amavis to pass each message though the filter, regardless of whether or not it's spam or infected? I use it to hold/reject messages that exceed the size allowed by some downstream mail processing applications. Thanks! Terry ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ 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/