# Bounce mail not working if lead has same domain as that of email domain used to send mail

**URL:** <https://forum.mautic.org/t/bounce-mail-not-working-if-lead-has-same-domain-as-that-of-email-domain-used-to-send-mail/19422>\
**Category:** Product Support\
**Created:** [May 11, 2021, 4:34pm UTC](https://forum.mautic.org/t/bounce-mail-not-working-if-lead-has-same-domain-as-that-of-email-domain-used-to-send-mail/19422 "2021-05-11T16:34:12Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashishajmani](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ashishajmani/32/608_2.png) [@ashishajmani](https://forum.mautic.org/u/ashishajmani)\
**Post date:** [May 11, 2021, 4:34pm UTC](https://forum.mautic.org/t/bounce-mail-not-working-if-lead-has-same-domain-as-that-of-email-domain-used-to-send-mail/19422/1 "2021-05-11T16:34:13Z")

</div>

**Your software**  
My Mautic version is: 3.3.1  
My PHP version is: 7.4.18

my bounce email are working but when the contact has same domain as that of the domain used to send email in Configuration (mail send settings) - bounce email is not working

any ideas ?

thanks  
a

---

<div class="post-metadata">

**Author:** ![ashishajmani](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ashishajmani/32/608_2.png) [@ashishajmani](https://forum.mautic.org/u/ashishajmani)\
**Post date:** [May 11, 2021, 6:08pm UTC](https://forum.mautic.org/t/bounce-mail-not-working-if-lead-has-same-domain-as-that-of-email-domain-used-to-send-mail/19422/2 "2021-05-11T18:08:41Z")

</div>

Found that bounce mails are working via Segment Emails but not via campaigns - any hints experts ?

@mikew @joeyk

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [May 12, 2021, 6:24am UTC](https://forum.mautic.org/t/bounce-mail-not-working-if-lead-has-same-domain-as-that-of-email-domain-used-to-send-mail/19422/3 "2021-05-12T06:24:31Z")

</div>

That should not happen.  
What SMTP?

---

<div class="post-metadata">

**Author:** ![ashishajmani](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ashishajmani/32/608_2.png) [@ashishajmani](https://forum.mautic.org/u/ashishajmani)\
**Post date:** [May 12, 2021, 6:29am UTC](https://forum.mautic.org/t/bounce-mail-not-working-if-lead-has-same-domain-as-that-of-email-domain-used-to-send-mail/19422/4 "2021-05-12T06:29:29Z")

</div>

SendGrid account with Domain 1  
Mail send settings → Domain 2

using segment email → it is working  
Using campaign → neither it worked with default email neither with advanced email settings

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [May 12, 2021, 6:41am UTC](https://forum.mautic.org/t/bounce-mail-not-working-if-lead-has-same-domain-as-that-of-email-domain-used-to-send-mail/19422/5 "2021-05-12T06:41:36Z")

</div>

Are you using bounce API or mailbox monitoring?

---

<div class="post-metadata">

**Author:** ![ashishajmani](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ashishajmani/32/608_2.png) [@ashishajmani](https://forum.mautic.org/u/ashishajmani)\
**Post date:** [May 12, 2021, 7:12am UTC](https://forum.mautic.org/t/bounce-mail-not-working-if-lead-has-same-domain-as-that-of-email-domain-used-to-send-mail/19422/6 "2021-05-12T07:12:52Z")

</div>

# ============= In SendGrid:

1. I have enabled webhook and selected these suppressions settings:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/b/b3b86f6451176e1d88c06027addf3e3427dbbead.png)

1. under Forward Bounce messages settings =\> given mailbox where bounce, blocks etc needs to be forwarded

2. under suppressions =\> Block =\> all emails are getting notified

3. under suppressions =\> Bounces =\> some emails are getting notified and some of them are not (these are those only fired via campaigns)

# ============= Under Mautic:

under configuration =\> email setting =\> under Monitored Email Settings =\> Default Mailbox, Bounces, Unsubscribed settings =\> all points to same mailbox.

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [May 12, 2021, 7:38am UTC](https://forum.mautic.org/t/bounce-mail-not-working-if-lead-has-same-domain-as-that-of-email-domain-used-to-send-mail/19422/7 "2021-05-12T07:38:43Z")

</div>

You should stick to one method. The API should take care of your unsubs, monitored email boxes is if you don’t have an API feedback loop. Did you verify if the API loop is working?  
Thx,  
Joey

---

<div class="post-metadata">

**Author:** ![ashishajmani](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ashishajmani/32/608_2.png) [@ashishajmani](https://forum.mautic.org/u/ashishajmani)\
**Post date:** [May 12, 2021, 7:48am UTC](https://forum.mautic.org/t/bounce-mail-not-working-if-lead-has-same-domain-as-that-of-email-domain-used-to-send-mail/19422/8 "2021-05-12T07:48:07Z")

</div>

I did tried testing the API integration via Sendhook but didnt got any results - my facult that I too ignored it and made in enabled.

Shall I disable the webhook and keep rest of the settings and test it ? - though should have tested it no :~(

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [May 12, 2021, 11:04am UTC](https://forum.mautic.org/t/bounce-mail-not-working-if-lead-has-same-domain-as-that-of-email-domain-used-to-send-mail/19422/9 "2021-05-12T11:04:17Z")

</div>

Sorry, I only do API (Especially Amazon). I found the bounce processor too unreliable on my setup. Can’t hep with that. Maybe you should open a new Forum Topic with the Subject ‘Sendrid API help’.  
Joey

---

<div class="post-metadata">

**Author:** ![ashishajmani](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ashishajmani/32/608_2.png) [@ashishajmani](https://forum.mautic.org/u/ashishajmani)\
**Post date:** [May 12, 2021, 12:18pm UTC](https://forum.mautic.org/t/bounce-mail-not-working-if-lead-has-same-domain-as-that-of-email-domain-used-to-send-mail/19422/10 "2021-05-12T12:18:54Z")

</div>

no worries…thanks @joeyk
