[courier-users] XFilter causing duplicate mail when sending to LDAP

This is a discussion on [courier-users] XFilter causing duplicate mail when sending to LDAP within the Courier-Imap forums, part of the Mail Servers and Related category; Hi! I've written two modules that process mail using xfilter - one adds a = standardized, templated message footer based on ...


Go Back   Usenet Forums > Mail Servers and Related > Courier-Imap

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-19-2007
Aleksander Adamowski
 
Posts: n/a
Default [courier-users] XFilter causing duplicate mail when sending to LDAP

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).

-- =

Best Regards,
Aleksander Adamowski
GG#: 274614
ICQ UIN: 19780575 =

http://olo.org.pl

--
Aleksander Adamowski
Administrator system=F3w korporacyjnych; Instruktor
Altkom Akademia S.A. http://www.altkom.pl
Warszawa, ul. Ch=B3odna 51
=

kom. 0-601-318-080

S=B1d Rejonowy dla m.st. Warszawy w Warszawie, XII Wydzia=B3 Gospodarczy Kr=
ajowego Rejestru S=B1dowego,
KRS: 0000120139, NIP 118-00-08-391, Kapita=B3 zak=B3adowy: 1000 000 PLN. A=
dres rejestrowy Firmy - ul. Stawki 2, 00-193 Warszawa.
Niniejsza wiadomo=B6=E6 zawiera informacje zastrze=BFone i stanowi=B1ce taj=
emnic=EA przedsi=EAbiorstwa firmy Altkom Akademia S.A.
Ujawnianie tych informacji osobom trzecim lub nieuprawnione wykorzystanie i=
ch do w=B3asnych cel=F3w jest zabronione.
Je=BFeli otrzymali=B6cie Pa=F1stwo niniejsz=B1 wiadomo=B6=E6 omy=B3kowo, pr=
osimy o niezw=B3oczne skontaktowanie si=EA z nadawc=B1 oraz usuni=EAcie wsz=
elkich kopii niniejszej wiadomo=B6ci.
This message contains proprietary information and trade secrets of Altkom A=
kademia S.A. company.
Unauthorized use or disclosure of this information to any third party is pr=
ohibited.
If you received this message by mistake, please contact the sender immediat=
ely and delete all copies of this message. =


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:28 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0