On 03/23/2011 12:13 PM, Matus UHLAR - fantomas wrote: > > This is what spamass-milter already does. Mail to multiple recipients > apparently can be re-checked in users' filters to get better results, while > rejecting much of spam at SMTP level. While this can't be done with > spamass-milter (yet), I could do this with perlfilter.
I'm confused. Can you, or can you not (yet) filter using users' own configurations with spamass-milter? > Now I need to know how to add custom headers to D* files in courier queue... That's complicated. First, you'd have to decide whether or not to reject the message. This can't be done per-user. After that, you'd need to loop through each user and run spamc for that user. You'd then have to duplicate the message and control data and feed that to courier's "submit". When you're done with the loop, you'd mark complete all of the deliveries in the original control file. Courier-pythonfilter's XFilter class does basically that for old courier systems. You can look at the oldSubmit() function for reference. I wouldn't recommend this. You gain no performance advantage over running spamc once and rejecting obvious spam, and then running spamc from maildrop. You'd be making your system extremely complicated with no benefit. ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users