3 messages in net.sourceforge.lists.courier-users[courier-users] XFilter causing dupli...
FromSent OnAttachments
Aleksander AdamowskiJul 19, 2007 3:04 am 
Aleksander AdamowskiJul 19, 2007 4:36 am 
Gordon MessmerJul 20, 2007 10:56 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] XFilter causing duplicate mail when sending to LDAP aliasesActions...
From:Aleksander Adamowski (alek@altkom.pl)
Date:Jul 19, 2007 3:04:07 am
List:net.sourceforge.lists.courier-users

Hi!

I've written two modules that process mail using xfilter - one adds a standardized, templated message footer based on LDAP data, the other normalizes From headers contents (based on LDAP too).

The filters run fine, with one exception: when a message recipient is an alias (mailing list) from LDAP (objectclass: CourierMailAlias), all the recipients specified in the LDAP maildrop attribute receive not one, but three version of the message: The original version, version processed by the first XFilter filter, and version processed by the second one.

The filters end processing exactly as advised in xfilter documentation:

--- SNIP --- ... # Return 250, no more filters should be run on this copy. return '050 OK' --- SNIP ---

Any ideas what could cause this?

BTW, this happens both when I use the original courier-pythonfilters-0.22 version and a version patched to submit messages using the "local" transport (see my other post today).

kom. 0-601-318-080