Skip to main content

A Short Signature for Replies in Zimbra

A full signature with a photo and an office address is what a new contact should see. By the fifth reply in a thread it is noise: every message repeats it, and the text people actually wrote disappears between the photos. This article keeps the full signature for new messages and forwards, and gives replies a short one: name, job title, company and phone.

What you get​

Here is a thread of three messages between James and Aisha, as Aisha sees the last one:

James Carter's second reply in Aisha Okafor's inbox: his text with the short signature James Carter, VP of Customer Experience, Example Software, Phone, then Aisha's quoted reply with her short signature, then James's first message with his full signature and photo

  • The first message carries James's full signature, with his photo and address.
  • Each reply carries a short signature of three lines.
  • The thread keeps the full signature once, at the bottom, where it was first sent.

What you will build​

RuleConditionExceptions
Reply signature (new)Sender in the domain, and message type Replynone
Company signatureSender in the domainMessage type Reply (added)
Department rules, if you have themSender in the department's groupMessage type Reply (added)

Every signature rule that matches adds its signature, so the full rules have to step aside for replies. Otherwise a reply would get the short and the full signature.

Before you start​

Step 1 - Make the short template​

Open Content > Templates, click Add Template..., choose Signature wizard... and name the template Reply signature. On the Personal tab, untick Photo, Email and Mobile. On the Company tab, untick Street address, Postal code and City. Keep the name, the job title, the company and the phone. Click Save, then check it with Preview with user.

The signature wizard with the Template Name Reply signature
Step 1 of 5

Start a template with Add Template... > Signature wizard... and name it Reply signature.

Step 2 - Add the rule for replies​

Open Rules > Signature Rules, click Add Rule... and name the rule Reply signature. On the Signature tab choose the template Reply signature.

On the Conditions tab add two conditions and keep All conditions are met:

  1. Sender > Sender, In Domain, your domain.
  2. Message > Type, Reply.

Click Save.

The Signature tab of the new rule Reply signature, with the template Reply signature
Step 1 of 5

Name the rule Reply signature and choose the template Reply signature.

MSH Zimbra Rules recognizes a reply by its subject, which starts with Re:, together with the In-Reply-To header that mail clients add when the user clicks Reply, see Message type. A new message that the user types Re: into by hand is still a new message.

Step 3 - Keep the full signatures off replies​

Double-click the rule Company signature, open Exceptions, click Add, choose Message > Type and then Reply. Click OK and Save. If the rule already has exceptions, keep Any exception is met: the rule is then skipped for a reply as well as for everything it skipped before.

Do the same for every other full signature rule, such as the department rules.

The Signature Rules page with Company signature
Step 1 of 4

Double-click Company signature to edit it.

Step 4 - Test it with a thread​

Send a new message from one user to a colleague, reply to it as the colleague, and reply once more as the first user:

James Carter's new message Northwind kickoff agenda in Aisha Okafor's inbox, with his full signature, photo and address
Step 1 of 5

A new message gets the full signature.

The short signature goes above the quoted message, where the reader expects it, see Positioning. MSH Zimbra Rules does not change the quoted messages, so the signatures already in the thread stay as they were sent.

Variations​

  • A short signature per department. One Reply signature uses the default colors for everyone. For the department colors in replies too, make a short template per department and give each department's reply rule the condition In Group with the same exceptions as its full rule.
  • No signature at all on replies. Skip steps 1 and 2 and only add the exceptions of step 3.

If replies do not get the short signature​

  • A reply has both signatures. A full signature rule has no Reply exception. Open the message's processing trace in the Rules tester or in Message history: every rule that says applied added a signature.
  • A reply gets the full signature. The message was not recognized as a reply. The trace shows the detected type, for example Message is: 'New'. Messages written with New Message and a typed Re: are new messages.
  • Forwards get the full signature. That is the setup of this article. Choose Reply or Forward in the rule and in the exceptions to change it.

Want to try it on your own server? Start a free trial.