-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Return Path bounce processing #2714
Comments
Does this not mean that all your bounces happened relatively quickly so that Postal was able to identify which messages they were related to? |
I have bounces that come in very quickly, and some that come in hours later. The way I identify bounces is by going to outgoing messages and filtering by "status: bounced" Before setting up the returnpath route, about 1/4th of the bounces would hard fail since they couldn't be mapped to outgoing messages. They seem very important to process so that's why I'm trying to route just the unmatchable bounces that were sent to the returnpath for manual review/external automation. |
I just disabled the returnpath route and set up a webhook endpoint for the MessageBounced event. I can get just mapped bounces to route to my endpoint, but there doesn't seem to be a way to properly get just unmapped bounces to route to an endpoint without impacting all bounce processing |
@LotisHunters hope you're doing okay. I think I'm experiencing the same issue as you except from my perspective, what I want to see is
I did have a return path route, which I have now deleted. I have an outgoing email which is bouncing after a few minutes of being sent. In the activity log for the original outgoing email I get this: And the incoming email is being processed: But I do not get a webhook. Am I correct in saying I should get a webhook? My webhook is set up correctly and is receiving Does anyone know why this might be? |
Here's what I believe is the relevant logs while the bounce happens. This looks like an error but I'm not certain.
|
My issue is related to this, it seems: |
(This is my first time opening an issue/writing a bug report on GitHub, so I apologize for the format of this or any missing information. I can provide any additional information if needed)
Description of issue
According to the docs here:
https://docs.postalserver.io/other/auto-responders-and-bounces
Specifying the returnpath route is meant to allow for routing of bounces that don't match any outbound messages.
"Once added, messages sent to your return path that aren't detected as bounces will be sent to HTTP endpoint you choose."
When specifying the returnpath route, those messages properly get sent to my webhook which is great. However, according to the next section, bounce messages that can be linked to an outgoing message should not be delivered to that return path and should instead be mapped as bounces.
"A note about bounces
Messages that Postal detects as being bounces for a message you have already sent will not be delivered to your return path route. The original message will be updated and a MessageBounced webhook event will be triggered."
When I specify the returnpath route, all bounce messages sent to the return path address (including bounce messages that can be mapped to outgoing messages) get delivered to my webhook, meaning that bounce message processing in Postal stops working entirely.
Expected behavior
According to the docs, specifying the returnpath route should only match the messages that can't be detected as a bounce for an outgoing message.
Environment details
The text was updated successfully, but these errors were encountered: