Apparently this has been going on for quite some time⊠the other email we see hundreds of is from discourse, to discourse,
Weâre sorry, but your email message to [âdiscuss@forum.comâ] (titled [Discussions] Email issue â Auto Generated Reply) didnât work.
Your email was marked as âauto generatedâ, which we canât accept. If you believe this is in error, contact a staff member.
Not sure what type of mail server youâre running, but can you set up some type of automation to delete auto-submitted bounces, etc., from the incoming POP3 inbox?
We ran into this as well. The cause of the infinite loop is because we are sending an âAuto Generated Replyâ back to email addresses that we detect as âno-replyâ or âauto-generatedâ. If pop3_polling_username is similar to notification_email, the email that bounced will be polled for and we end up starting another cycle.
It does seem really weird to me that we reply to email addresses that we detect as âno-replyâ so I opened a PR to stop doing that.
I worry though that we lose out on some of the feedback we have now, I wonder if we should allow the first one of these through and then stop the loop thereafter?
Poison the âreplyâ with a magic header, if you ever see this header you silently reject?
Yeah Sam has the right idea here we cannot lose this feedback. Put in a guid (a constant will work) and if you see it in the reply coming back to you, cancel your reply.