-
Notifications
You must be signed in to change notification settings - Fork 513
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
Bounce emails create new conversations #4250
Comments
All incoming emails (including bounce emails) should be turned into conversations. Just like any other email client does not hide emails from you behind the scenes. FreeScout does not send auto-replies to auto-responders: https://github.com/freescout-help-desk/freescout/blob/dist/app/Console/Commands/FetchEmails.php#L576 Can you share bounce emails' headers. |
That seems doomed to result in email loops. Perhaps it should be possible to at least prevent email notifications for a conversation created in such a way? I don't know if I can share the full headers, but they included Are you trying to find some other heuristic Freescout could use? There are lots of reasons a mail server might generate a bounce, e.g. if someone's inbox is full. |
Here is what you are talking about:
If someone have some ideas - feel free to submit a pull request. |
OK, so I'll take that as "PR welcome". I think you've confused things with steps 1 and 2. There's no need for an agent to send a message, this will happen in response to a request from a customer, or a spam message as originally described. It's really:
My real worry is that this triggers a spam rejection from a provider like Google, which will result in dozens of new conversations for each original incoming email, and will take out our mail server as well as ruining our sending reputation. So I will create a PR. |
…) used in Swiftmailer - closes #4250
We just had an issue where the email provider for one of our users refused delivery of a spam message. The server replied with a DSN, which Freescout correctly identified as a bounce. However, Freescout also created a new conversation for this bounce, and then sent out notification emails to everyone on that mailbox, including the original user, containing the original message. This led to a loop where we ended up with an email subject like
[#7254] Undeliverable: [#7253] Undeliverable: [#7252] Undeliverable: [#7251] Undeliverable: [#7250] ... [#7224] Undeliverable: Field yes spend letter writer sport left. clop-4
.It feels like Freescout shouldn't do this, but I can't see anything in the code to prevent it. Is the answer really to set up something with the Workflows module as suggested here? If so, is there a pattern we can copy?
Alternatively, would you accept a PR to refuse to create a new conversation for a bounce message, or is there a risk of the detection being too broad? Or would it be worth detecting frequent bounces from a user and temporarily refusing to send more emails to them, as Mailman does? That would help in situations like this.
We're using https://github.com/tiredofit/docker-freescout, with only official modules.
The text was updated successfully, but these errors were encountered: