--Vincent Schonau wrote on 08.10.2002 18:09 +0200: > On Mon, Oct 07, 2002 at 08:58:14PM +0200, Roland Schneider wrote: > >> But this solution has some other problems, I finally moved >> my spamc (and dccd) into a perlfilter-module which is able >> to rewrite messages and add headers 'on the fly', and allows >> per-user whitelisting via courier's whitelist-api. > > Yay! I've been trying to find time to build something like this > (specifically, DCC). > > Anything you're willing (and able) to share?
Its at http://courier.serv.ch/prefix-etc/filters/ Runs on a low-volume jailed server, not updated for a while. You need to export $ENV{JAILADDR} and $ENV{JAILHOST} and set a symlink from /relay to the location of courier, or edit the code accordingly. Initialization of variables etc. is somewhat tricky and easy messed up, dont debug on a 'real' server and watch the maillog. There are also some recent issues in this list with courier scrambling mime-content which has been rewritten from filters. I'd recommend at least MIME=none for courier, and some tests with mimified spam. The remote-checks from spamc (dnsbl) should be disabled, they are better done from within couriertcpd if you can afford to reject the messages unseen. Some mailers dont care about the final return-code and resend the whole crap ad infinitum. I still hope somebody writes a courier-milter which is capable of running native sendmail-milter's, gave up that idea myself because there was no usable documentation about the milter- protocol anywhere. Roland ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
