[SOLVED] HTML signatures via zmprov CLI
Hello all,
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.
For example:
zmprov ma user@ourdomain.edu 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 user@ourdomain.edu 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).
Quote:
# name Work
zimbraPrefMailSignature: ------------------------------------------
Paul Chauvet
UNIX/Linux Systems Administrator
State University of New York at New Paltz
845-257-xxxx
xxxxxx@newpaltz.edu
------------------------------------------
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>
zimbraSignatureId: 7f945003-738e-4e28-a521-de5748626ad0
zimbraSignatureName: Work
# 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>
www.newpaltz.edu</p><br><img src="http://www.newpaltz.edu/styleguide/toolbox/emlogo.png"><br>
zimbraSignatureId: 77bc4e4d-3421-4466-9a2f-734285d9cb64
zimbraSignatureName: Test