[SOLVED] HTML signatures via zmprov CLI
I'm having a problem getting HTML signatures setup via zmprov's CLI. I've looked through lots of different forum posts and the answers I see there do not seem to work for me.
zmprov ma email@example.com zimbraPrefMailSignatureHTML "someHTML"
This does place the zimbraPrefMailSignatureHTML in the settings (verified with zmprov ga) but it doesn't appear in the ZWC settings for the signature. It still shows a blank "Signature #1".
I tried instead using the zmprov modifysignature command that is in the documentation but I can't seem to craft the correct command for it. I've tried the following:
zmprov msig firstname.lastname@example.org Test "<some html>"
where 'Test' is the name of an existing HTML signature on the account that I want to replace. This just shows me the zmprov help so I obviously have the command wrong.
If I use zmprov gsig for my own account I get three things (a normal signature - plain text, an existing HTML signature that I manually put in via the ZWC, and the 'zimbraPrefMailSignatureHTML' that I added at first which didn't seem to have an effect. Below is what zmprov gsig gives for my own user (phone/email redacted):
Any advice you can give (especially using zmprov msig with an HTML signature) would be very much appreciated).
# name Work
UNIX/Linux Systems Administrator
State University of New York at New Paltz
zimbraPrefMailSignatureHTML: <table width='100%' cellpadding='15' summary='used for layout'><tr><td><img width='252' height='71' src='http://www.newpaltz.edu/styleguide/toolbox/emlogo.png' alt='State University of New York at New Paltz logo' /><br /><br /><p>other text here</p></td><td>Paul Chauvet, UNIX & Linux Systems Administrator/><br />Phone: (845) 257-xxxx<br />Fax: (845) 257-xxxx<br /><a href='http://www.newpaltz.edu'>www.newpaltz.edu</a><br /></td></tr></table>
# name Test
zimbraPrefMailSignatureHTML: <p>Paul Chauvet<br>UNIX/Linux Systems Administrator<br>Computer Services<br>New Paltz, NY 12561-2443</p>
<p>Phone: (845) 257-xxxx<br>
Fax: (845) 257-xxxx<br>