-
-
Notifications
You must be signed in to change notification settings - Fork 825
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
closes core#4070 - respect default return path #25309
closes core#4070 - respect default return path #25309
Conversation
(Standard links)
|
@spalmstr While working on this issue, I saw your post on answers.microsoft.com asking about VERP support. If you a) apply this patch, b) set a default |
@MegaphoneJon Wonderful, that is great, but did this patch actually get applied as the check failed? I did a
earlier today on my development environment that pulls, I think dev:master, and I didn't see that the patch had been applied. |
Jenkins re test this please |
test this please |
I have at last got round to doing some testing and verified that the Return Path is set to the one expected. However, Exchange overwrites this with the From address. So, if you are sending from a different From address to the default return path, bounces end up in that From address's inbox, not the one configured to receive bounced emails. This is, I suspect, a failing of Exchange, not CiviCRM. |
@spalmstr I assume that means you are both sending from Exchange and your bounce address is an Exchange mailbox? I tested this sending via Postfix but with the bounce address being an Exchange mailbox, and that worked, just want to confirm we didn't get different results for the same test. |
I tested using a different From address going via MS Exchange. In each case, the Return-Path was set to the From address, not the Return-Path set by CiviCRM. Both From and Return-Path addresses are MS Exchange ones. This is a bit disappointing - with physical mail there may be different address to which to send undelivered mail to the address of the sender. It means that we have to make sure that all CiviMail jobs are sent from the same address. The CiviCRM bounce tracking is useful for tracking. I had hoped that since MS Exchange Plus Addressing became the default that we could have Return-Paths of the form [email protected], but it seems not to be possible. I tweaked the code to set the Return-Path to that, but as noted above, it made no difference. Thanks, though, for your efforts. It looks a useful change. |
If I'm reading correctly, it sounds like the testing showed that (1) the patch does get Civi to behave well wrt setting Aside: The conception of Those issues don't sound like they should block 25309. I'm gonna flag |
I have no issue. It seems Exchange tweaks the Return Path. |
https://lab.civicrm.org/dev/core/-/issues/4070
Overview
Administer » CiviMail » Mail Accounts allows you to specify a default return path header for your emails. However, FlexMailer ignores it.
Replication Steps
Return-Path
value.Return-Path
header.Before
Same value as if you had no
Return-Path
set.After
Return-Path
matches the default set on the mail account.