# Bounced emails not being detected

**URL:** <https://meta.discourse.org/t/bounced-emails-not-being-detected/293518>\
**Category:** Product Support\
**Tags:** email\
**Created:** [January 30, 2024, 6:36pm UTC](https://meta.discourse.org/t/bounced-emails-not-being-detected/293518 "2024-01-30T18:36:10Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![RBoy](https://avatars.discourse-cdn.com/v4/letter/r/2bfe46/32.png) [@RBoy](https://meta.discourse.org/u/RBoy)\
**Post date:** [January 30, 2024, 9:30pm UTC](https://meta.discourse.org/t/bounced-emails-not-being-detected/293518/11 "2024-01-30T21:30:05Z")

</div>

I’ve also tried setting the `reply by email address` settings in discourse to `discourse.xxx+%{reply_to}@gmail.com` but then when the email gets delivered, gmail seems to think that the domain [yyy.com](http://yyy.com) (discourse SMTP domain) is trying to spoof the gmail domain and it ends up marking it as spam. It appears that setting a reply to domain different from the senders domain is triggering a DMARC and SPF failure.

```plaintext
ARC-Authentication-Results: i=1; mx.google.com;
       spf=softfail (google.com: domain of transitioning discussion.xxx+verp-b9c40db917ca04993dd3433cc9748518@gmail.com does not designate y.y.y.y as permitted sender) smtp.mailfrom=discussion.xxx+verp-b9c40db917ca04993dd3433cc9748518@gmail.com;
       dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yyy.com
Return-Path: <discussion.xxx+verp-b9c40db917ca04993dd3433cc9748518@gmail.com>

```

---

_[View the full topic](https://meta.discourse.org/t/bounced-emails-not-being-detected/293518)._
