Deliverability

SMTP2GO Rejects Forwarded Mail: Fix Aliases and Mailman With SRS

Forwarded aliases and Mailman list mail can be rejected by an SMTP2GO relay because the envelope sender is a domain you haven't verified. Fix it by rewriting the envelope sender to your own domain: use postsrsd for forwards, and check that Mailman sends with its own bounce address.

Sohail HussainSohail Hussain9 min read

Short answer

  • Postfix is passing the original sender's address as the envelope sender (MAIL FROM) through your relay, and the relay won't send for a domain you haven't verified.
  • Rewrite the envelope sender to your own domain with SRS (postsrsd) for forwards and aliases, and let Mailman use its own list bounce address for list mail.
  • Then confirm your domain is verified at the relay and test one alias and one list post.

After moving outbound mail to SMTP2GO, forwarded aliases and Mailman list posts started bouncing. Direct mail from your own users still works. A thread on r/selfhosted describes this and points to SRS or sender rewriting as the fix, but it quotes no exact error string, so I won't invent one. Read the real rejection text in your Postfix log and in SMTP2GO's activity log.

Why a relay rejects forwarded mail

Every SMTP message carries two senders. The envelope sender (MAIL FROM, also called Return-Path) is used for bounces and SPF checks. The header From is what the reader sees and what DMARC aligns against.

When Postfix forwards an alias, it normally keeps the original envelope sender, for example alice@gmail.com. Delivered directly, that is sloppy but often works. Sent through a relay that wants verified sender domains, it fails: the relay sees mail for gmail.com arriving from your account, and you can't prove you own gmail.com. That is the most likely cause here. The spec doesn't give SMTP2GO's exact wording, so I can't confirm it from a quoted error.

A relay that accepted the message wouldn't save you. The next server would check SPF for gmail.com against the relay's IP, which Gmail's record doesn't authorize. Spamhaus's guidance for forwarders is to replace the envelope sender address with an address you control, and it names SRS as a popular way to do that. Microsoft's documentation describes the same problem: autoforwarding is incompatible with SPF, which is why Microsoft 365 rewrites the envelope sender too.

Mailman is a variation. Mailman 3 normally sends list mail with the list's -bounces address as the envelope sender. If list traffic is rejected like this, one of three things is usually happening:

  • A forwarding alias is handing the post onward instead of Mailman's own delivery path.
  • Something in your Postfix config overrides the sender.
  • The rewritten sender's domain isn't verified at the relay.

Confirm which path is failing

Find the rejected delivery:

grep -E "status=(bounced|deferred)" /var/log/mail.log | tail -20

Take the queue ID from that line and pull every line for it:

grep "A1B2C3D4E5" /var/log/mail.log

The from=<...> value on the qmgr line is the envelope sender Postfix tried to use.

from= showsMeaningFix
An outside address such as alice@gmail.comForward or alias keeping the original senderInstall SRS (Fix 1)
listname-bounces@example.comMailman is rewriting correctlyCheck domain verification and relay login (Fix 4)
<> (empty)Bounce or notificationNormal; check whether your relay account accepts null-sender mail

Log paths differ by distro. Some systems use journalctl -u postfix instead of /var/log/mail.log.

Fix 1: install postsrsd for aliases and forwards

SRS rewrites the envelope sender to your domain and encodes the original inside it, so bounces can still find their way back. alice@gmail.com becomes something like SRS0=HHH=TT=gmail.com=alice@example.com. The header From is untouched.

  1. Install postsrsd. On Debian or Ubuntu run sudo apt install postsrsd.

  2. Set your domain in the postsrsd config. Older packages read /etc/default/postsrsd (SRS_DOMAIN=example.com). Newer 2.x releases use /etc/postsrsd.conf. Check which file your package ships.

  3. Point Postfix at it in /etc/postfix/main.cf. This is the classic 1.x form:

    sender_canonical_maps = tcp:127.0.0.1:10001
    sender_canonical_classes = envelope_sender
    recipient_canonical_maps = tcp:127.0.0.1:10002
    recipient_canonical_classes = envelope_recipient,header_recipient
    
  4. If you installed postsrsd 2.x, don't copy those lines. Configuration and socket handling changed, so use the Postfix lines from the README that came with your installed version.

  5. Start postsrsd and reload Postfix:

    sudo systemctl enable --now postsrsd
    sudo systemctl reload postfix
    
  6. Send a test through an alias and check the log. from= should now show an SRS0= address at your domain.

Don't skip the reverse mapping

The recipient_canonical_maps lines decode SRS addresses when bounces come back. Without them, bounces for forwarded mail never reach the original sender.

sender_canonical_maps also applies to locally originated mail. postsrsd leaves addresses in your own domain alone, so normal user mail should be unaffected, but test it anyway.

Some servers reject very long addresses. A Google Workspace community answer notes that an SRS address should be accepted, but sometimes it can be excessively long and some servers will not accept it. That is rare in practice.

Fix 2: keep Mailman on its own envelope sender

  1. Confirm the list address is delivered to Mailman through the Postfix transport maps Mailman generates, not to a forwarding alias.
  2. Make sure example.com is a verified sending domain at the relay, because list bounces will use listname-bounces@example.com.
  3. If you also forward list mail on to other addresses, run that leg through postsrsd as in Fix 1.
  4. Check the list's From header munging setting (called DMARC mitigations in newer Mailman versions). It decides whether members' providers accept posts from senders whose domain publishes a strict DMARC policy.

Header munging is a separate problem from the relay rejection, but people often hit both at once after a relay change.

Fix 3: force a fixed sender instead of SRS

If you only need to get past the relay, you can rewrite every foreign envelope sender to one address:

sender_canonical_maps = regexp:/etc/postfix/sender_canonical
sender_canonical_classes = envelope_sender
/^(.*)@(?!example\.com$).*$/    forwarding@example.com

I'd skip this unless you have a reason. It discards the original sender, so every bounce lands in one mailbox and you can't route it. SRS does the same job and keeps bounces routable. Spamhaus lists using the forwarding user's own mailbox as the sender as another valid approach, and notes that both let you count bounces.

Fix 4: verify the sender domain at the relay

Even with SRS, the rewritten sender at example.com has to be allowed. In the SMTP2GO dashboard, open the sender or domain settings, add example.com if it's missing, and publish the DNS records it asks for. I'm not giving a menu path because dashboard labels change.

Then check your own records. Our SPF generator and DKIM generator help build them, and the email header analyzer shows how a delivered test message was authenticated. DNS changes can take minutes to a day, so wait before deciding a record is wrong.

What SRS does not fix

SRS makes SPF pass at the next hop. It doesn't solve DMARC for forwarded mail. Microsoft's documentation says DMARC also requires domain alignment between the SPF or DKIM domain and the From address domain. If the original sender publishes p=reject and the DKIM signature breaks in transit, strict receivers can still reject the forward.

For Mailman this usually means a subject or footer change that breaks the poster's DKIM signature. Handle that with the list's From munging setting, not with SRS.

SymptomLikely causeFix
Relay refuses at submissionForeign envelope senderSRS or a fixed sender
Forward accepted, then fails SPF downstreamOriginal sender kept, relay IP not authorizedSRS
Forward passes SPF but bounces on DMARCOriginal domain has p=reject, DKIM brokenNot an SRS problem; see Mailman munging or ARC
Bounces for forwards vanishReverse mapping missingAdd the recipient_canonical lines
Rejection only for list mailAlias in the path, or unverified -bounces domainFix 2 and Fix 4

Checklist before you try again

  • from= in the Postfix log shows an address at your own domain for forwarded mail.
  • postsrsd is running and Postfix was reloaded after the change.
  • The reverse mapping for bounces is configured.
  • Your sending domain is verified at the relay and its DNS records are live.
  • One alias and one list post have been tested end to end.

Test one path first

Before moving all traffic to the relay, send one alias message and one list post and read the Postfix log for each. It takes five minutes and shows the envelope sender before real mail depends on it.

If nothing works

Contact SMTP2GO support. They can tell you whether the rejection is the unverified-sender rule or something else, such as a rate limit or a failed SMTP login. Include the exact rejection text from your Postfix log, the queue ID, the timestamp with time zone, the from= and to= values, the account name, and the steps you already tried.

Subject: Relay rejects forwarded mail, envelope sender on another domain

Hello,

Since routing outbound mail through SMTP2GO, forwarded alias mail and
Mailman list posts are rejected. Postfix queue ID: A1B2C3D4E5
Time: 2026-11-30 14:02 UTC
Envelope sender (from=): SRS0=...@example.com
Recipient (to=): user@example.net
Exact rejection text: {paste the line from the Postfix log}

I have verified example.com as a sender domain and published the
requested DNS records. I have also set up SRS (postsrsd). Please tell me
which rule is rejecting this message and what sender address
format is allowed.

Thanks

Common questions

Does SRS change the From address my recipients see?

No. SRS only rewrites the envelope sender. The header From stays as the original sender wrote it. Microsoft's documentation says the same about its own SRS: SRS doesn't affect the From address shown in email clients.

Is this specific to SMTP2GO?

No. Any relay that checks the sender domain against your account will refuse foreign envelope senders, and any receiving server that checks SPF will fail them. Other providers have similar sender-verification steps for their own SMTP services. SMTP2GO is just where this thread surfaced it.

Do I need SRS for normal outgoing mail from my users?

No. Their envelope sender is already on your domain. SRS matters only when you relay mail whose envelope sender belongs to someone else.

Why does a forward pass SPF but still land in spam?

SPF can pass on the rewritten sender while DMARC still fails on alignment. Microsoft's anti-spoofing FAQ says SRS only partially fixes the problem of forwarded email. Check the Authentication-Results header on the received message to see which check failed.

For background on the two sender addresses, see Return-Path vs Reply-To. For how DMARC alignment works, see what DMARC is.

deliverabilitysmtp2gopostfixmailman
Share this article
Sohail Hussain

Sohail Hussain

Founder & CEO at Mailneo

Building Mailneo — AI-powered email marketing for growing businesses.

Related Articles

Deliverability

451 4.7.500 Server busy: SMTP2GO stuck at Processed (Microsoft)

`451 4.7.500 Server busy. Please try again later.` is a temporary Microsoft deferral of the connecting IP, not a problem with your message. SMTP2GO keeps retrying, so mail sits at "Processed" for hours. Ask SMTP2GO to rotate your IP, move to a dedicated IP, or allow-list carefully in Defender.

Sohail Hussain|9 min read
Deliverability

535-5.7.8 Username and Password not accepted: Gmail SMTP fix

The error 535-5.7.8 Username and Password not accepted means Google rejected the login you sent over SMTP. Usually the fix is to turn on 2-step verification, generate an app password, and use that 16-character password instead of your normal one. Shared accounts should use delegation, not shared credentials.

Sohail Hussain|9 min read
Deliverability

Gmail 550-5.7.1 "very low reputation of the sending domain"

The Gmail error 550-5.7.1 "very low reputation of the sending domain" is a reputation block, not an authentication failure, so fixing DKIM alone won't clear it. Confirm SPF, DKIM and DMARC align, read the full bounce for the cause, then cut complaints and send only to engaged, opted-in contacts.

Sohail Hussain|10 min read
Deliverability

550 5.7.1 MailFrom domain is listed in Spamhaus DBL: how to delist

This bounce means the receiving server found your envelope sender domain on the Spamhaus Domain Block List (DBL). Changing your IP won't help. Look the domain up at check.spamhaus.org, find and stop the abuse behind the listing, publish DMARC to see who sends as you, then submit a removal request.

Sohail Hussain|10 min read

Ready to supercharge your email marketing?

Start sending smarter emails with AI-powered campaigns. No credit card required.

Get Started Free