I have a Postfix installed and working with SPF check and SRS-rewriting. When it forwards email for an external address, sometimes its smtp denies relaying the mail with the message: Relay access denied 550 Sender verification failed Other systems accept these emails without any problems.
Is it some disallowed-character-problem in the SRS-rewritten MAIL FROM address?
The rewritten mail from addresses look like:
SRS0=47InG7z-zA=XJ=original.domain=john.doe@srs.my.domain
A response:
Apr 9 16:08:37 postfix/smtp[21401]: 9D894323C43E: to=<forward.address@example.com>, orig_to=<orig.address@my.domain>, relay=example.com[256.256.256.256]:25, delay=2, delays=0.37/0.49/1/0.1, dsn=5.0.0, status=bounced (host example.com[256.256.256.256] said: 550-Verification failed for<SRS0=47InG7z-zA=XJ=original.domain=john.doe@srs.my.domain> 550-Called: 1.2.3.4 550-Sent: RCPT TO:<SRS0=47InG7z-zA=XJ=original.domain=john.doe@srs.my.domain> 550-Response: 554 5.7.1<SRS0=47InG7z-zA=XJ=original.domain=john.doe@srs.my.domain>: Relay access denied 550 Sender verify failed (in reply to RCPT TO command))