Filtering out delivery status failed

Would it be possible for the email in code to filter out delivery status failure mails? We sent out a mailing last night and have 200 failures as posts in discourse now:

(Any suggestions on getting these out in the first place would also be appreciated,especially the 200 notification entries)

Yep, they should be filtered already because they have a header state of Auto-Submitted

https://github.com/jpmckinney/multi_mail/wiki/Detecting-autoresponders

1 Like

Looks like there’s a lot of broken systems out there then :slight_smile:

I see mails with X-Auto-Response-Suppress: All (from exhange)

Some just have:

Content-Type: multipart/report; report-type=delivery-status;
	boundary="110e4b6c-159b-4262-b2ca-cbe359515e6a"

as content type (and no other identifying headers)

QMail just sends a reject mail from From: MAILER-DAEMON@somedomain or From: mailer-daemon@somedomain.

Another one: X-QQ-HolidayReply: true

(I setup a sieve filter to block mailer-daemon & postmaster locally which cuts down 99% of these btw)

3 Likes

Just improved our auto generated email detection :thumbsup:

https://github.com/discourse/discourse/commit/6c82fbebf5fe2912d534d7eb73c35227443457de

4 Likes

@zogstrip you might have completed a feature here:
https://meta.discourse.org/t/filtering-out-out-of-office-replies-in-the-reply-by-mail-feature/8615

3 Likes

This topic was automatically closed after 24 hours. New replies are no longer allowed.