Skip to main content
Version: 4.1 (2026 H2)

Signature Rules

Signature rules define which Outlook signature template is automatically applied for users belonging to an organizational unit, depending on the type of email being composed and the recipient's domain.

When a user creates a new email, reply, or forward in Outlook (New), primedocs evaluates the applicable signature rules for their OU and automatically inserts the matching signature.

note

Signature rules are configured in primedocs Desktop under Organisation → Organizational Units. Select an OU and click Signatures in the ribbon.

How Rules Are Evaluated​

Rules are evaluated in the order they are listed (top to bottom). The first rule whose conditions match the current email is applied. If no rule matches, no signature is inserted automatically.

Email format

Rule evaluation is independent of the email format. Which variant of the selected template is inserted follows from the format of the draft: the HTML content for HTML emails, the plain text content for emails in «Plain text» format. Embedded images are omitted from plain-text emails.

Rules can be inherited from parent OUs. When inheritance is enabled for a child OU, the parent's rules are used as-is and no additional rules can be defined at the child level.

Rule Configuration​

Each signature rule has the following settings:

FieldDescription
NameA descriptive label for the rule (for identification in the editor only).
Signature TemplateThe Outlook signature template to apply when this rule matches.
ActiveWhen disabled, the rule is skipped entirely.
Use for new messageApply this rule when composing a new email.
Use for replyApply this rule when replying to an email.
Use for forwardApply this rule when forwarding an email.
Domain filterRestrict the rule to emails where every address in the To field contains one of the specified domains. Leave empty to match all recipients. Separate multiple domains with commas and no spaces, e.g. example.com,example-group.com.
Match if no recipientsWhen enabled, the rule also applies if there are no recipients in the To field yet.

Typical Setup: Internal and External Signatures​

A common configuration defines two rules per OU:

  1. External signature: catch-all rule without a domain filter. It applies when no rule above it matches.
  2. Internal signature: applies when every address in the To field contains the company domain (domain filter: example.com).

Place the internal rule above the external rule so it is evaluated first.

warning

Each user should have exactly one applicable signature rule per email type (new/reply/forward) and language. If two rules match the same conditions, the behaviour is undefined.

Inheritance​

If Inherit rules is enabled on a child OU, the active rules of the nearest parent OU that has active rules are used. To define rules specific to a child OU, disable inheritance.

Campaigns and Disclaimers​

The signature rules only determine which signature template is inserted. What the signature additionally contains is controlled by the template itself:

  • Campaigns in Outlook (New): the signature template defines placeholders with the Campaign Fields document function, which are populated at runtime with the active campaign template. The complete flow is described under How a campaign gets into the signature. The signature rule needs no setting for this.
  • Classic Outlook: the signature rules do not apply there. Which signature primedocs Desktop inserts and whether campaign and disclaimer are appended is controlled by the E-Mail Signature document function on the «Signature (classic)» template.