Adolsign supports now multiple signatures with multiple attributes by using the configuration file adolsign.config. In addition, you can filter signatures based on group membership or values in AD. Have a look at examples at the end this blog.
Adolsign can now copy not only simple files but directories by the directive --addfile.
Command line switches for default signatures don't take an argument anymore. They apply only for the signature specified in command line.
By specifying the new option --utf8, you will be able to instruct Adolsign to use UTF-8 (Unicode) decoding/encoding during template processing.
Adolsign.config examples:
adolsign.config
Description
[Signature corporate]
Group=Domain Users
Vcard=1
NewDefault=1
ReplyDefault=1
AddFile=corporate.png
AddFile=corporate.css
- Process template files only if the user is member of Domain Users group. You can specify multiple groups. Adolsign will proceed if the user is member of at least one group.
- Produce a Vcard
- This signature is default for new and reply messages
- Copy files corporate.png and corporate.css from the directory where Adolsign is started from.
[Signature \\SRV\netlogon\CompanyX]
field_company=CompanyX
Vcard=0
NewDefault=0
ReplyDefault=0
AddFile=CX-images
AddFile=CX.css
- Process only if AD-value for company name contains CompanyX. Comparisons are based on regular expressions and case-sensitive. You can specify AD-fields multiple times, even the same attribute!
- Don't produce a Vcard
- This signature is not a default one for new and reply messages
- Copy directory CX-images and CX .css from \\SRV\netlogon as well