Signature-For-Persona

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Configuring default signature for persona

Add persona (zimbraAllowFromAddress) to an account

[zimbra@mail ~]$ zmprov ma test@corp.vinay.com +zimbraAllowFromAddress no-reply@corp.vinay.com

Create identity to persona

[zimbra@mail ~]$ zmprov cid test@corp.vinay.com "No Reply" zimbraPrefFromAddress no- reply@corp.vinay.com zimbraPrefFromDisplay "No Reply" zimbraPrefIdentityName "No Reply"

Create signature for the account using below script

[zimbra@mail ~]$ cd /tmp
[zimbra@mail tmp]$ cat test.sh 
#!/bin/bash
/opt/zimbra/bin/zmprov csig test@corp.vinay.com test-signature1 zimbraPrefMailSignatureHTML  '<div><div><div><div><div><div><div><font style="color: rgb(0, 68, 124);" size="2"><span  style="color: rgb(0, 68, 124); font-weight: bold; font-family: arial,helvetica,sans- serif;">___________________________________</span><br style="font-family: arial,helvetica,sans- serif;"><br style="color: rgb(0, 68, 124); font-weight: bold; font-family: arial,helvetica,sans- serif;"><span style="color: rgb(0, 68, 124); font-weight: bold; font-family:  arial,helvetica,sans-serif;">Test User</span><br style="color: rgb(0, 68, 124); font-family:  arial,helvetica,sans-serif;"><span style="font-weight: bold; color: rgb(166, 180, 172); font- family: arial,helvetica,sans-serif;">Linux Admin<br></span><span style="color: rgb(166, 180,  172);"><br style="font-family: arial,helvetica,sans-serif;"><span style="color: rgb(0, 0, 0);"> <span style="font-family: arial,helvetica,sans-serif;">VMware Software Inc</span><br style="font- family: arial,helvetica,sans-serif;"><span style="font-family: arial,helvetica,sans- serif;">USA</span><br style="font-family: arial,helvetica,sans-serif;"><span style="font-family:  arial,helvetica,sans-serif;">San Francisco</span><br style="font-family: arial,helvetica,sans- serif;"><br style="font-family: arial,helvetica,sans-serif;"><span style="font-family:  arial,helvetica,sans-serif;">9898243221 P</span><br style="font-family: arial,helvetica,sans- serif;"><span style="font-family: arial,helvetica,sans-serif;">1924714122 F</span><br  style="font-family: arial,helvetica,sans-serif;"><span style="font-family: arial,helvetica,sans- serif;">http://www.vmware.com</span><br style="font-family: arial,helvetica,sans-serif;"><br  style="font-family: arial,helvetica,sans-serif;"><br></span></span><span style="font-weight:  bold; color: rgb(153, 153, 153);"><span style="color: rgb(0, 0, 0);"><span style="font-weight:  bold;"></span></span></span></font></div></div></div></div></div></div></div>'
d8f08eaf-8651-45c5-958c-2359d610f418 -> this is the signature id created when we run above commands (don't include in above commands while execution).
[zimbra@mail tmp]$

This is how signature looks

'

___________________________________

Test User
Linux Admin

VMware Software Inc
USA
San Francisco

9898243221 P
1924714122 F
http://www.vmware.com


'

Now create signature for persona using the signature id we got from above commands.

[zimbra@mail ~]$ zmprov mid test@corp.vinay.com "No Reply" zimbraPrefDefaultSignatureId d8f08eaf-8651-45c5-958c-2359d610f418
[zimbra@mail ~]$

Use signature ID for account.

[zimbra@mail tmp]$ zmprov ma test@corp.vinay.com zimbraPrefDefaultSignatureId d8f08eaf-8651-45c5-958c-2359d610f418
[zimbra@mail tmp]$
Jump to: navigation, search