← Back to Blog
tutorials 6 min read · 22 Mar 2026

How to Configure SMTP Relay for Email Signature Injection

Learn how to set up SMTP relay for server-side email signature injection. A step-by-step guide for IT admins managing Microsoft 365, cPanel, Plesk, and more.

Why SMTP Relay Matters for Email Signature Management

If you manage email infrastructure for a company or as a hosting provider, you know the challenge: ensuring every outgoing email carries a consistent, professional signature — regardless of which device or email client the sender uses. The most reliable way to achieve this is through server-side email signature injection via SMTP relay.

Unlike client-side solutions that depend on Outlook plugins or manual user configuration, an SMTP relay approach intercepts outgoing emails at the transport level and applies signatures automatically. This guarantees 100% compliance, works across all devices (including mobile), and eliminates the risk of employees forgetting to update their signature or sending emails without one.

In this tutorial, we walk you through the fundamentals of configuring SMTP relay for signature injection, covering both Microsoft 365 environments and generic SMTP servers such as cPanel, Plesk, Roundcube, and DirectAdmin.

What Is SMTP Relay in the Context of Email Signatures?

SMTP relay is a process where outgoing email is routed through an intermediate server before reaching the recipient. In the context of email signature management, this intermediate server inspects the outgoing message, identifies the sender, and injects the appropriate HTML signature before forwarding the email to its final destination.

This method is sometimes referred to as transport-level signature injection or server-side signature stamping. It is the gold standard for organisations that want centralised control over their email branding.

Option 1: Configuring SMTP Relay in Microsoft 365

Microsoft 365 offers built-in mail flow rules (transport rules) and connectors that make it possible to route outgoing mail through an external signature service. Here is how to set it up:

Step 1: Create an Outbound Connector

In the Microsoft 365 Exchange Admin Center, navigate to Mail flow → Connectors. Create a new connector with the following settings:

Step 2: Create a Mail Flow Rule

Navigate to Mail flow → Rules and create a new rule:

Step 3: Verify DNS and SPF Records

To ensure deliverability, update your SPF record to include the relay server's IP addresses or domain. This prevents recipient servers from flagging your relayed emails as spam. Your signature management provider should supply the exact SPF include statement to add.

Step 4: Test Thoroughly

Send test emails from multiple clients — Outlook desktop, Outlook mobile, webmail — and verify that signatures are being injected correctly. Check that formatting, images, and links render properly across different email clients.

Option 2: Configuring SMTP Relay on cPanel, Plesk, and Other Hosting Panels

For organisations and hosting providers not using Microsoft 365, SMTP relay can be configured at the mail server level. This is particularly relevant for European hosting companies managing multiple client domains on cPanel, Plesk, DirectAdmin, or custom Postfix/Exim setups.

cPanel (Exim-based)

Plesk (Postfix-based)

DirectAdmin and Roundcube

Key Considerations for a Successful Setup

Regardless of your mail platform, keep these best practices in mind when configuring SMTP relay for signature injection:

How Badex Signature Simplifies the Process

At Badex Signature, we built our platform specifically to make SMTP relay-based signature injection easy — whether you run Microsoft 365 or a traditional SMTP mail server on cPanel, Plesk, DirectAdmin, or any other hosting environment.

Here is what sets us apart:

Getting Started

Configuring SMTP relay for email signature injection may seem complex at first, but with the right tools and a clear step-by-step approach, it is a straightforward process that delivers immediate results in brand consistency and professional communication.

If you are an IT administrator or hosting provider looking for a reliable, European-hosted signature management solution that works with your existing infrastructure, Badex Signature is ready to help. Contact us for a personalised walkthrough or start your free trial today.

Ready to automate your email signatures?

Start your free 14-day trial — no credit card required.

Start Free Trial →

Related Articles

tutorials
How to Bulk Import Email Signature Users via CSV | Guide
best practices
Why Your Hosting Clients Need Professional Email Signatures
best practices
Email Signature Management for Remote and Hybrid Teams