Two ways to hand mail to your server
With Email Security, SecuraWall is the only MX of your domain and delivers protected mail to your own mail server. In inbound gateway mode (A) your server trusts SecuraWall as its gateway and receives the original sender address. In standard mode (B) SecuraWall rewrites the technical sender (sender rewriting, SRS), so SPF passes at a server that does not know SecuraWall. Both modes give the same protection: every check, the quarantine and the warning banner work in both.
Why A is the default
A keeps the original sender address all the way to your mailboxes: logs, rules and reports on your server show the real sender, and delivery failures go straight back to it. It is the set-up Microsoft 365 and Google Workspace document for a third-party gateway. New Email Security domains start in A.
The one setting A needs
Your mail server must trust SecuraWall's two sending addresses: an inbound connector with Enhanced Filtering in Microsoft 365, the inbound gateway setting in Google Workspace, internal SMTP servers in Exchange, or MTA trusted networks in Zimbra and Carbonio. The panel shows the exact steps for each system under Domains › your domain › Settings.
Before you change your MX records
Make the setting before you point your MX records to SecuraWall. Until it is in place, your server may refuse some messages for SPF - the reply says the sender "is not allowed to send mail". If that happens and you cannot change the server right away, switch the domain to B with one click: mail flows at once. Return to A when the setting is done.
When B is the better choice
Choose B when you cannot change your mail server's settings, for example a hosted mail service without gateway options. Users see no difference - the From line stays the same - but your server sees a rewritten technical sender (SRS0=…@bounce.securawall.com), delivery failures return through SecuraWall first, and rules that test the envelope sender see the rewritten address.
Switching between A and B
One mode is used per domain. You can switch at any time in the panel under Domains › your domain › Settings › How mail reaches your server; the change takes effect within a minute. Switching does not change your DNS records or your protection settings.