Zhang Huangbin, > Currently i use amavisd-new-2.6.2 + altermime to sign outgoing mails, > is it possible to store disclaimer text in LDAP or MySQL? (I use LDAP now).
Unfortunately this is currently not possible without hacking the code. The currently supported way of switching between disclaimer texts is through @disclaimer_options_bysender_maps, where LDAP makes its contribution through 'amavisDisclaimerOptions' attribute. This attribute value ends up on a command line of a call to altermime in place of _OPTION_ placeholder, which typically is used to supply a file name with a disclaimer text. As long as the number of different disclaimer texts is reasonable this may be a viable option, although I admit it can become cumbersome with large number of users, each editing its own text. But bear in mind that altermime needs a disclaimer text on a file anyway (can't be supplied on a command line), so files would need to be provided one way or another. Mark ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/