You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using postsrsd since some years now on several MTAs, but today I had a strange behavior (the daemon is configured as documented btw.). This is how an incoming email is being processed:
MX is an antispam system, which forwards to the SRS MTA (the antispam system is whitelisted here)
The SRS MTA is responsible for email delivery and sends all outgoing email using the antispam system as SMTP relay
Today a spam email found its way trough the antispam system, targeting a non-existing alias of the used SRS domain (which should bounce, actually). Now this happened:
Antispam system forwarded email from [email protected] to the SRS MTA
SRS MTA rewrote the sender address to SRS...spammer.tld=[email protected] and sends it using the antispam system as SMTP relay to its own SRS domain MX (!?)
Antispam system forwarded the email using the SRS rewritten sender back to the SRS MTA
SRS MTA is happy about the valid SRS sender and doesn't rewrite again, but still sends it using the antispam system as SMTP relay to its own SRS domain again (!?)
Then this loops endless from point 3. Usually I assumed if the recipient email alias wasn't found at the SRS MTA, the email should be bounced here (this is how it is configured and it works with non-SRS domains). But instead the sender is being rewritten, if required, and the email is being sent again - so Postfix stops the processing at that point, and there is no local recipient alias validation using the virtual maps anymore.
Now I try to find a way to fix that problem... Do you have any idea what could be wrong, why that nasty loop happens?
The text was updated successfully, but these errors were encountered:
Off the top of my head, the fact that the SRS MTA treats srsdomain.tld as a relay domain looks fishy. If I understand your setup correctly, one of two things should happen for any mail addressed to that domain:
The recipient is a valid SRS alias, PostSRSd rewrites it to the actual destination, and the SRS MTA relays it to your antispam system.
The recipient is not a valid SRS alias, PostSRSd will not touch it, and the SRS MTA should either deliver it locally (if it is addressed to a valid local mailbox) or reject it.
What definitely should not happen is that the SRS MTA relays emails for srsdomain.tld which it cannot deliver locally.
Hi,
I'm using postsrsd since some years now on several MTAs, but today I had a strange behavior (the daemon is configured as documented btw.). This is how an incoming email is being processed:
Today a spam email found its way trough the antispam system, targeting a non-existing alias of the used SRS domain (which should bounce, actually). Now this happened:
Then this loops endless from point 3. Usually I assumed if the recipient email alias wasn't found at the SRS MTA, the email should be bounced here (this is how it is configured and it works with non-SRS domains). But instead the sender is being rewritten, if required, and the email is being sent again - so Postfix stops the processing at that point, and there is no local recipient alias validation using the virtual maps anymore.
Now I try to find a way to fix that problem... Do you have any idea what could be wrong, why that nasty loop happens?
The text was updated successfully, but these errors were encountered: