I don't know if anybody has noticed, but I've written a solution for a problem recurring on this list: appending standardized signatures to mail messages, server side.
Using Gordon Messmer's courier-pythonfilter framework, I've implemented a filtering module named "sigAppender" which automatically appends signatures to text/plain and text/html MIME parts, populating them with personalized data extracted from an LDAP directory. It handles encoding issues automatically. It supports multiple signature templates, selected by a dedicated LDAP attribute (you'll have to modify your LDAP schema slightly). It's a part of a larger package of LDAP-related pythonfilter modules for Courier-MTA: http://code.google.com/p/courier-pythonfilters-ldap/ The source repository is available for browsing here: http://code.google.com/p/courier-pythonfilters-ldap/source/browse The other filtering module (currently there are only 2), named "fromNormalizer", is used for controlling the "From" headers so that a person can only send with the mail addresses that the corresponding LDAP entry allows (the mail attribute, and an optional altkomPermittedSenderAddresses multi-valued custom attribute). I think these modules solve one of the more widespread problems with courier MTA, especially with relation to recent EU regulations concerning electronic communications. The downside is, the appended signatures will break any S/MIME signatures since there is no way for the server to know the private key of the signer. -- 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 tel. brak kom. +48 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
