Sending and receiving S/MIME encrypted email in Zammad

S/MIME in Zammad lets agents sign and encrypt support replies with your organization's certificate. This page covers the decisions, setup sequence and limits to confirm before go-live.

On this page

When S/MIME in Zammad is the right email protection

If your customers expect support email to be signed or encrypted, S/MIME is the email protection your helpdesk has to support. S/MIME protects the content of individual messages: outbound mail can be signed with the organization's certificate so recipients can verify it came from you and was not altered, and it can be encrypted to a recipient's certificate so only that recipient can read it. Inbound signed or encrypted mail from customers who use S/MIME is then verified or decrypted so agents can work the ticket. Teams in banking, healthcare, public sector and other regulated customer bases usually need this when contract terms, customer security questionnaires or internal policy require encrypted or signed correspondence about personal or sensitive data.

S/MIME is different in purpose from transport encryption. TLS on the mail server connection protects messages while they travel between servers, but the message can still sit readable on each server it passes through. S/MIME travels inside the message itself, so protection persists on the mail store and in the helpdesk, and it carries identity through a certificate chain. That also means it needs a certificate per sender address, a trust decision about which certificate authorities you accept, and a plan for certificate renewal and for customers whose certificates have expired. Confirm with your security and compliance leads whether TLS enforcement alone meets your requirement before adding S/MIME, since the two controls solve different problems.

Certificate issuance, key custody and trust decisions sit outside Zammad, in your certificate authority and your identity and key management processes. Zammad's handling of signing, encryption, certificate validity checks and per-group sender accounts is a feature area that changes between releases, so confirm the exact behavior, settings and required roles against the Zammad admin documentation for the release you run before you commit to a design.

Which S/MIME options fit your support flows

This table compares the main S/MIME configuration choices in Zammad: sender certificates, how contacts' certificates are trusted, signing versus encrypting, and when PGP is the better fit. Read each row against your own customer base and confirm every option in the admin settings of your release before you commit to a design.

Configuration choiceWhen it fits and what it requiresWho manages the certificate lifecycle
One organization certificateSuits a single support mailbox or a small team where all outbound mail can come from one identity. Customers need to trust one issuing chain.Your PKI or security team issues, renews and revokes the certificate and its private key.
Per-group sender certificatesSuits support groups with separate sender addresses, such as billing and technical support. Each address needs its own certificate and matching key in Zammad.Your PKI team manages several certificates. Renewal calendars must cover every group address, not just one.
Trusting contacts' individual certificatesFits small, known customer populations where you can collect and verify each contact's certificate. Expect ongoing collection work as customers change devices or certificates.Customers or their IT teams supply certificates. You must confirm each one and track expiry and replacement.
Trusting the issuing CAFits larger or changing customer bases where individual certificates are impractical to collect. You accept any valid certificate chaining to the trusted authority, so confirm the CA's policy first.The customer-side CA operator manages issuance. You manage the trusted CA entry and its removal if the authority is compromised.
Signing onlyFits outbound replies where customers need proof that mail came from your organization, without requiring message confidentiality. Lower customer requirements than encryption.Your team manages the signing certificate. Customers must be able to validate it.
Signing and encryptingFits conversations containing sensitive personal or financial data. Requires a valid encryption certificate for every recipient, so agents need a way to see when one is missing.Your team manages the signing key pair. Each recipient's encryption certificate must be obtained and kept current by you or the customer.
S/MIME versus PGP for technical customersS/MIME fits customers whose mail systems already hold X.509 certificates from a CA. PGP fits technical customers who manage their own keys. Confirm both options in your release before choosing.S/MIME keys follow a CA lifecycle. PGP keys are generated and rotated by the customer or your team, with no central authority.

How an encrypted reply moves through Zammad

The diagram starts with an inbound S/MIME message arriving at a group sender account and ends with the customer's mail client decrypting the agent's reply. The key hand-offs are the agent choosing sign and encrypt in the reply form, Zammad applying the organization certificate and private key, and the customer's client holding the matching keys. Two decision points, a missing customer certificate and an expired certificate, are shown as items to confirm in your configuration before go-live.

Inbound and outbound S/MIME flow through a Zammad group sender account, with decision points to confirm.

Set up S/MIME certificates and sender accounts in Zammad

This sequence takes an S/MIME deployment from confirming the Zammad release and its documented settings to sending a signed and encrypted message that an external client can verify. Each step closes with a check so the team knows the setup works before agents rely on it.

  1. Confirm the release and S/MIME settings path

    The administrator checks which Zammad release is running in the test environment and reads the S/MIME section of the administrator documentation for that version. Confirm the admin settings path, the required fields and any prerequisites the documentation lists, because labels and menu locations can change between releases. Record the version and the settings path in the change ticket. Done when the team can name the exact admin screen where certificates are imported and the release number is written down for the rollout record.

  2. Obtain the organization certificate and key

    The mail or security team requests an S/MIME certificate and its private key for each sender address from the certificate authority the organization uses. Ask the CA which format it issues, whether the key can be exported, and whether the certificate covers the exact mailbox address used by each group. Store the private key in a controlled location with restricted access, not in shared drives or tickets. Done when each sender address has a certificate file and key pair that the team has checked against the mailbox it will represent.

  3. Import the certificate and private key

    An administrator imports the organization certificate and private key into Zammad through the S/MIME settings, following the field requirements from the documentation for the confirmed release. Enter any key passphrase at import time and confirm the import succeeds without errors. Remove local copies of the exported files from shared workstations once the import is verified. Done when Zammad lists the certificate with its subject, the expected email address and an expiry date that matches the CA record.

  4. Add the trust chain and contact certificates

    Add the issuing CA chain so Zammad can validate the organization certificate, and import certificates or CA certificates for external contacts whose signed mail the team must verify. Ask customers or partners which CA issued their certificates, since trusting one CA may cover many contacts. Keep a record of which CAs were added and who approved them. Done when a message signed by a test contact from an approved CA shows as validly signed in Zammad, and a message from an untrusted CA does not.

  5. Map certificates to group sender accounts

    Assign each certificate to the sender address of the group it represents, so outgoing mail from a support queue uses the matching identity. Check that the sender address in the email channel, the certificate subject and the group destination all refer to the same mailbox. Mismatched addresses are a common reason signed mail fails validation at the recipient. Done when a test ticket in each group shows the expected sender identity and the certificate matches that address in the settings view.

  6. Enable sign and encrypt for agents

    Turn on the sign and encrypt options that the documentation describes for agents, and decide whether they are optional per message or set by default for specific groups. Confirm which roles can use the buttons, using the role and group permissions already defined for the helpdesk. Agents who encrypt to a recipient need that recipient's certificate, so document which contacts are covered. Done when an agent test account sees the expected buttons on a ticket and the team has written down the rule for when each option is used.

  7. Test with internal and external S/MIME clients

    Send signed and encrypted messages from Zammad to an internal mailbox and to an external S/MIME client the team does not control, then reply from both clients back into Zammad. Open the received messages in each client and confirm the signature validates and the encrypted body decrypts. Test an expired certificate to confirm Zammad reports the validity problem as expected. Done when every test message validates or decrypts in both clients, and the results, client versions and certificate serials are recorded before agents go live.

Certificate choices for customers and agents

Some customers already sign or encrypt their email with S/MIME, usually because their own security policy requires it or because they work with regulated counterparties. For these customers, the main work is establishing trust: Zammad must be able to validate the sender's certificate chain so that agents can see a meaningful signature status and reply with encryption. The agent experience depends on whether the certificate is imported or chained to a trusted authority, and on whether the customer's certificate is current.

  • Certificate source: Confirm whether the customer's certificate is issued by a CA you can add as trusted, or whether you need to import the individual certificate.
  • Signature status: Expect agents to see a verification result for signed messages, and confirm how Zammad displays an unverifiable signature.
  • Encrypted replies: Confirm which sender certificates Zammad stores and whether an agent can encrypt a reply without extra steps.
  • Expiry handling: Check how Zammad treats an expired or revoked certificate, since this affects both verification and encryption.
  • Test with real correspondence: Send signed and encrypted test messages from the customer's client and confirm the agent sees the expected status.

Before relying on encryption for this group, confirm the exact trust behavior in the Zammad documentation for your version and repeat the test after each certificate renewal.

Security risks in S/MIME support email

S/MIME gives customers confidentiality and signatures, but the helpdesk becomes a place where decrypted mail, private keys and certificate decisions meet. The cards below cover where that exposure sits and which controls to plan before go-live, each to be checked against the security documentation for the Zammad release you deploy.

Private key exposure on the server

The organization's private key must be readable by the Zammad application to sign and decrypt mail, so anyone who can reach the application server, its backups or its configuration may be able to read it. Plan restricted file permissions and a backup policy that treats the key as a secret, and decide whether the key lives on the host or in an external store. Check how the release documents key storage before you import the key.

Administrators reading encrypted content

Administrators who manage certificates, channels or the database can often reach ticket content in ways that agents cannot, including through the Rails console or direct database access. Plan role limits that separate certificate administration from ticket access, and keep the number of administrators with server access small. Confirm in the admin documentation which roles can view decrypted articles and which settings expose them.

Metadata visible despite encryption

S/MIME encrypts the message body and attachments, but sender, recipient, subject line and timing usually remain visible to mail servers and to anyone with access to the mailbox. Tell customers and reviewers what the encryption does not hide, and decide whether subject lines should carry ticket details. Confirm the exact headers left in the clear with a test message sent through your own mail path.

Encrypted mail sent to the wrong recipient

An agent who replies to a ticket can encrypt to a certificate that belongs to another person, especially when a shared group address, a forwarded thread or a changed contact is involved. Plan a check of the recipient certificate before the encrypt button is enabled, and train agents to read the certificate status shown on the article. Test a reply on a changed contact before relying on the workflow.

Weak certificate revocation handling

A revoked or expired contact certificate that is still trusted lets mail be encrypted to a key that should no longer be used. Plan a defined source for revocation status and a process for updating or removing trusted certificates, and confirm how the release reacts to expired certificates and CA changes. Review this process again each time you upgrade, because validity handling can change between releases.

Decrypted copies in attachments and search

Once a message is decrypted, its body, attachments and extracted text may be stored in the database, in attachment storage and in the search index, which can outlive the original encrypted message. Plan retention and access rules for those copies, and decide whether attachment content should be indexed at all. Check the search index settings and backup scope against the release's security documentation before you go live.

Keeping S/MIME working after go-live

Expiry tracking is the recurring task that prevents most S/MIME failures. Someone must own a register of every certificate the helpdesk depends on: the organization certificate and its private key used for signing and decryption, and the certificates of customers or their issuing CA that agents rely on when verifying signatures or encrypting replies. Each entry needs an owner, an expiry date, the group sender address it serves, and the date when renewal work must start. Confirm the lead time your certificate authority requires for renewal and reissue, because that lead time, not the expiry date itself, determines when the work begins. Zammad's handling of expired certificates should be tested on the installed version, since the validity check results and the wording agents see are what your first-line team will report when something breaks.

Plan rotation and CA chain updates as change-controlled procedures, not ad hoc fixes. When the organization certificate is replaced, the new certificate and private key must be imported for the correct group sender, the old entry retired, and signed test messages sent from each sender address to confirm agents see a valid signature. A CA chain update, such as a new intermediate certificate from your issuer, must be imported so that existing customer signatures still validate. Record which intermediates were added and when, because a missing intermediate typically shows up as a failed verification on mail that was accepted the week before.

Re-test S/MIME after every Zammad upgrade and keep the procedure in the runbook. Release changes can affect mail processing, certificate handling and the sign and encrypt controls agents use, so each upgrade needs a repeatable test: sign, encrypt, decrypt and verify across every sender group, plus a check of an expired test certificate. Write these steps into the runbook and rehearse them on a non-production instance restored from a recent backup before the production upgrade window. Ask your DeployOpen or internal team to record the test results as evidence for your change records.

Limits to confirm in your environment

The S/MIME feature set in Zammad depends on the release you run, how your certificates are issued and stored, and how your email channels and groups are configured. None of the answers below should be taken from this page. Confirm each one in the Zammad admin documentation or on a test instance built from the same release and channel you plan to use.

Release availability and form

Confirm which Zammad release first includes S/MIME signing, encryption and certificate management, and whether the feature ships as a core function or needs configuration added in your version. Check the release notes for the exact line you plan to run, including the 7.x and 6.5 security branches. Record the version you tested so later upgrades can be compared against it.

Zammad releases

Private key protection

Ask whether the organization private key can sit in a hardware token, an HSM or an external key store, or whether it must be imported into the Zammad database. If the key is stored in the application, confirm how it is encrypted at rest, who can export it through the admin interface, and how it is covered by your backups.

Revocation and expired certificates

Zammad checks validity dates on certificates, but confirm whether it consults certificate revocation lists or OCSP responders, or whether it only checks dates. Find out what happens when a contact's certificate is revoked after it was imported, and how agents are warned when a signing certificate is near expiry.

Supported certificate formats

Confirm which file formats and encodings the import screens accept, such as PEM or PKCS#12 for keys and certificate bundles, and whether a full certificate chain is required for a trusted CA to validate signatures. Test with the certificate types your own CA issues, including intermediate CAs, before you collect certificates from customers.

Mixed encrypted and unencrypted threads

Decide how a single ticket will behave when some replies are encrypted and others are not, and when a customer sends a plain message after an encrypted one. Confirm how the agent sees the encryption status on each article, whether replies can be forced to encrypted only when a recipient certificate exists, and how the thread looks in exports and notifications.

Channel and group interaction

Confirm how S/MIME signing and encryption interact with the email channel you use, including OAuth mailboxes, IMAP and SMTP accounts, and per-group sender addresses. Check that the certificate for each sender address is linked to the correct group, and that a mail forwarded or routed by an email filter keeps its cryptographic content intact.

Questions buyers ask before setting up S/MIME in Zammad

What drives the cost of setting up S/MIME in Zammad?

The cost depends mostly on how many parts of the setup are new to your organization, not on the Zammad software itself, which has no license fee for self-hosted use. The main components are certificate procurement for the organization and any sender addresses, the trust design for customer certificates or their certificate authorities, the number of groups that need their own sender accounts, testing with real customer mail clients, and the internal approval path for certificates and keys. Each group or sender address adds configuration and testing work. Ask any partner for a quote that lists these components separately, and state who buys certificates, who runs the test plan and who signs off the change.

How long does an S/MIME rollout in Zammad take?

The timeline depends far more on customer readiness than on the Zammad configuration itself. Work moves faster when your organization already has a certificate authority, a clear process for issuing and renewing certificates, and a named owner for the private key. It slows down when customers need to exchange certificates first, when their mail clients handle S/MIME differently, or when your internal approval for handling private keys takes several review rounds. Ask for the plan to list which steps depend on customers or third parties, because those steps usually set the schedule.

Can our own team set up S/MIME in Zammad without a partner?

Yes, if your team owns the certificate lifecycle and can test mail end to end. The configuration in Zammad is manageable for an administrator who understands certificates, but the work that tends to stall is outside the helpdesk: obtaining the organization certificate, protecting the private key, deciding which customer certificates or certificate authorities to trust, and confirming that replies arrive signed and encrypted in common mail clients. If nobody on your team has done those tasks before, or no one can run a dedicated test mailbox, a fixed-scope engagement can cover the gaps while your team keeps ownership of the keys.

What do we need to provide for an S/MIME setup?

The work needs inputs from your side before configuration starts. Typically that includes the organization certificate and its private key, or the details of the certificate authority that will issue them, plus the list of sender addresses and the groups that send and receive under each one. For customers who will exchange encrypted mail, you need their certificates or the certificate authority that issued them, and a process to collect those certificates. You also need a test mailbox that can send and receive S/MIME mail, and a named person who can approve the handling of keys. Confirm the exact formats and storage rules with your security team before the first certificate is imported.

How does S/MIME differ from PGP for Zammad email?

S/MIME relies on X.509 certificates issued by a certificate authority, while PGP relies on keys that each party generates and exchanges, usually without a central authority. S/MIME is usually the better fit when your customers are businesses or institutions that already run certificate infrastructure, because trust can flow through the authority and the certificates can be managed centrally. PGP can suit technical customers who already manage their own keys and prefer that model. Zammad supports both, so the choice depends on what your customers already use. The PGP channel documentation in this series covers key import and matching, so compare both before you commit.

What should we check before we trust a customer certificate in Zammad?

Check that the certificate is valid for the email address it claims, that it has not expired, and that the issuing authority is one your organization has agreed to trust. Expired certificates are a common source of failed encrypted replies, so your design should say how Zammad handles them and who decides what happens next. Ask your team to document the trust decision for each certificate authority, including who approves additions and how revoked or replaced certificates are removed. Testing with real customer mail clients is the best check that the trust design works in practice.

Does S/MIME help with compliance audits?

S/MIME can support evidence that email content is signed and encrypted in transit, but it does not make a helpdesk compliant on its own. Auditors look for documented key management, access control over private keys, records of who can sign and encrypt, and proof that the process runs as described. DeployOpen prepares systems, controls and evidence for compliance assessments, but independent auditors and certification bodies issue any audit reports or certifications. Ask your auditor which controls they expect for encrypted email before you define the setup.

Does DeployOpen set up S/MIME for Zammad?

DeployOpen plans, implements, integrates and documents self-hosted open-source platforms inside your own infrastructure, which covers S/MIME setup for Zammad as part of a written scope. Most engagements are fixed-scope, so the scope, deliverables and timeline are agreed in writing before work starts. A quote follows from that written scope, and DeployOpen does not publish a price list. Ask for the scope to state which certificates and keys you provide, which customer certificates are in scope, how many groups and sender addresses are covered, and what testing is included with customers.

How DeployOpen scopes and delivers S/MIME for Zammad

DeployOpen treats S/MIME for Zammad as a scoped piece of work inside your own infrastructure, starting with the certificates, key custody and groups that carry your mail. We agree the written scope first, then build, test, document and hand over the setup so your security and support teams can review and run it.

How we scope

  • Inventory the mail domains, Zammad groups and sender addresses that need S/MIME signing or encryption
  • Confirm who issues the organization certificate, where the private key is held and who can use it
  • Agree in writing which contacts' certificates or certificate authorities will be trusted and how expiry is handled

How we build

  • Configure the organization certificate and private key per group sender account in your Zammad instance
  • Set up sign and encrypt controls for agents and test how outbound and inbound messages behave
  • Verify validity checks for expired or untrusted certificates against test mail from known contacts

How we hand over

  • Document the certificate setup, key storage, trust decisions and the steps agents follow when sending
  • Provide a test record showing signed and encrypted messages across each group sender account
  • Walk your security and support teams through the configuration so they can review it against your policies

How we support

  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts
  • Ongoing support, upgrades and continuous testing are available as a retainer for the S/MIME setup
  • Confirm with DeployOpen which renewal, certificate rotation and Zammad upgrade tasks are in or out of scope

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.