Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
smtp forward dest split routing #1847
This is progress on #1472 and it improves upon a longstanding mail routing issue that affects users of per-domain mail forwarding.
I have a bunch of
The previous workaround was to forward transactions with multiple destination hosts to the default forward host and let the smart host sort it out. See #573 and #671. That works reasonably well the vast majority of the time. The edge case is split transactions with undeliverable recipients. They end up being queued and some of those recipients are ultimately undeliverable and bounce.
This PR removes the "forward multiple destination transactions to smarthost and let it sort it out" behavior and adds recipient validation to smtp_forward. Example:
Within a transaction, it defers subsequent recipients if they have a different forward host than the first recipient. This is possible because
Changes proposed in this pull request:
changed the title from
Smtp forward dest split
Smtp forward dest split routing
Mar 6, 2017
@@ Coverage Diff @@ ## master #1847 +/- ## ======================================= Coverage 46.23% 46.23% ======================================= Files 22 22 Lines 5864 5864 Branches 1474 1474 ======================================= Hits 2711 2711 Misses 3153 3153