Peter Burden wrote:
> I've still got some work to do on the filter to ensure that the generated
> signature doesn't include excessively long lines and I also want to improve
> the templates to allow a form of conditional operation.
>
> Something like
>
> { Fax Number %Fax% }
>
> meaning that if the "Fax" field is empty in the database (i.e. the particular
> user doesn't have a Fax)  then the "Fax Number" string is also omitted from
> the generated signature for that user.
>   
I'm using the dictionary named "attribPrefixes" for that - see the code:
http://code.google.com/p/courier-pythonfilters-ldap/source/browse/trunk/sigappender/sigappender.py


-- 
Best Regards,
    Aleksander Adamowski
        GG#: 274614
        ICQ UIN: 19780575 
        http://olo.org.pl


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

Reply via email to