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ów korporacyjnych; Instruktor
    Altkom Akademia S.A. http://www.altkom.pl
    Warszawa, ul. Chłodna 51
    
    kom. 0-601-318-080

Sąd Rejonowy dla m.st. Warszawy w Warszawie, XII Wydział Gospodarczy Krajowego 
Rejestru Sądowego,
KRS: 0000120139, NIP 118-00-08-391, Kapitał zakładowy: 1000 000 PLN.  Adres 
rejestrowy Firmy - ul. Stawki 2, 00-193 Warszawa.
Niniejsza wiadomość zawiera informacje zastrzeżone i stanowiące tajemnicę 
przedsiębiorstwa firmy Altkom Akademia S.A.
Ujawnianie tych informacji osobom trzecim lub nieuprawnione wykorzystanie ich 
do własnych celów jest zabronione.
Jeżeli otrzymaliście Państwo niniejszą wiadomość omyłkowo, prosimy o 
niezwłoczne skontaktowanie się z nadawcą oraz usunięcie wszelkich kopii 
niniejszej wiadomości.
This message contains proprietary information and trade secrets of Altkom 
Akademia S.A. company.
Unauthorized use or disclosure of this information to any third party is 
prohibited.
If you received this message by mistake, please contact the sender immediately 
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
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to