On 03/26/2011 02:48 PM, Matus UHLAR - fantomas wrote: > On 26.03.11 10:27, Gordon Messmer wrote: >> 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. > > I have only asked how can I push some headers to filtered mail. > As I have already said, I would run spamc from courierfilter and if there's > only one recipient, I'd like to push x-spam headers to the mail. > In both cases I'd like to remove x-spam headers from incoming mail.
Gotcha. I'm pretty sure courier-pythonfilter's spamassassin module already does what you want it to do. > Is this the only way to modify message from courierfilter? Not any more. It used to be. It is still the only way you could run spamc with per-user configs where there is more than one recipient, due to limitations of SMTP. ------------------------------------------------------------------------------ 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