Bounce Management???

Hi,



Can someone please tell me how I can get the bounce management working?!?!



My emails are sending from my postfix server that was created just for Mautic. The Return-Path is set by mautic just as it likes. I have the bounce mailbox setup and it’s being monitored by Mautic. When the fetch email cron runs, it sees the bounced email and states that the cron has processed 1 message.



However, nothing every happens… the lead list I have setup for bounce emails still shows 0 users, and the report shows the email is ignored, but not failed.



I double checked the email header and the bounce email is to info+bounce_56a6eceb2a987@marketing.mydomain.com



I cannot seem to figure out what is going on with bounce management.



Any help would be greatly appreciated

Hi,

Can someone please tell me how I can get the bounce management working?!?!

My emails are sending from my postfix server that was created just for Mautic. The Return-Path is set by mautic just as it likes. I have the bounce mailbox setup and it’s being monitored by Mautic. When the fetch email cron runs, it sees the bounced email and states that the cron has processed 1 message.

However, nothing every happens… the lead list I have setup for bounce emails still shows 0 users, and the report shows the email is ignored, but not failed.

I double checked the email header and the bounce email is to info+bounce_56a6eceb2a987@marketing.mydomain.com

I cannot seem to figure out what is going on with bounce management.

Any help would be greatly appreciated

If you view the lead, does it show them with a bounce label on the right? And is it a soft or hard bounce?

Are you running the list building from job?

Thanks!
Alan

Alan,

Thanks for the reply!

When viewing the lead, it does not show a bounce label. I have a lead list setup called Bounced Emails with a filter set for bounced email equals yes, and the lead does not move into that list either.

I have the following job running every 5 min to rebuild the list php /var/www/html/app/console mautic:leadlists:update --env=prod

The test email that we are sending to is bounce-test@service.socketlabs.com

Here are the header and message contents from the return message.

Mail headers View basic headers | View raw message
From line From 3e8.10.info+bounce_56a6eceb2a987=marketing.MyDomain.com@advanced-email.com Mon Jan 25 21:52:31 2016
Return-Path:
X-Original-To: info+bounce_56a6eceb2a987@marketing.MyDomain.com
Delivered-To: info+bounce_56a6eceb2a987@marketing.MyDomain.com
Received: from mail1.quiksoft.com (mail1.quiksoft.com [74.81.197.41]) by marketing.MyDomain.com (Postfix) with ESMTP id 346A410636 for ; Tue, 26 Jan 2016 03:52:31 +0000 (UTC)
X-FBL: M2U4LjEyLjE0ZjAwMDAwMDAwMDA2Mi5pbmZvK2JvdW5jZV81NmE2ZWNlYjJhOTg3PW1hcmtldGluZy56ZWxsYXRlY2guY29t
From: MAILER-DAEMON
To: info+bounce_56a6eceb2a987@marketing.MyDomain.com
Message-ID:
Subject: Message delivery failed…
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----33D00BEF02924490820158550AD524A1"

Message contents
This is the mail system at host service.socketlabs.com.

I’m sorry to have to inform you that your message could not
be delivered to one or more recipients.

bounce-test@service.socketlabs.com :host service.socketlabs.com said: 550 No such
recipient

Failed delivery status
Reason for failure 550 No such recipient
Reporting mail server service.socketlabs.com

Allen,

Were you able to review?

Can someone please help me with this issue?

Zalla,

I have the same issue.

I am getting bounces in the designated bounced email inbox, but mautic is not pulling them back into the system, and i have setup as per the guide, tested the server connection from the email config and all says success.

It seems mautic is not executing the email fetch correctly.

Sorry I cant be of any more help.

I’m still experiencing the same issue and tried every solution to no avails. I’m searching for a tool to export the bounced addresses and re-import them to mautic while marking them to “do not contact” to avoid sending further emails to bounced contacts. We just left sendy for mautic and it used to handle this issue with no problems.

Zella,

I also have the same issue (check here).

This help me to solve part of my problems:

[quote=6253:@smitione]You probably don’t have enabled de IMAP extention at php.
I was facing the same problem and it was fixed whe i enabled it.
Also, try using port 993 with SSL novalidate cert.
Hope that it helps[/quote]

However, although using port 993 helped on fetching the bounced emails properly, still the bounced smart list (created in mautic) do not update when the list:update cron job runs.

Btw, if you haven’t set it up yet. Try adding the following cron job (app/console mautic:list:update). It may work for you.

Haven’t heard from the mautic team for more than 6 weeks on this issue :frowning:

Running also into the issue with +. It seems when received (I am using a mailserver) a new separate folder is created because of the Bouncemail+bounce238238@xxxxx.com. Mautic wil not see it, i suspect.

I have not found a way to solve this. Maybe it is unrelated but other experienced this?

IF you do not have the means to setup a catchall:
In app/bundles/EmailBundle/Helper/MailHelper.php:

Change:

[code]public function generateBounceEmail($idHash = null)
{
$monitoredEmail = false;

    if ($settings = $this->isMontoringEnabled('EmailBundle', 'bounces')) {
        // Append the bounce notation
        list($email, $domain) = explode('@', $settings['address']);
        $email .= '+bounce';
        if ($idHash) {
            $email .= '_'.$this->idHash;
        }
        $monitoredEmail = $email.'@'.$domain;
    }

    return $monitoredEmail;
}[/code]

to:

[code] public function generateBounceEmail($idHash = null)
{
$monitoredEmail = false;

    if ($settings = $this->isMontoringEnabled('EmailBundle', 'bounces')) {
        // Append the bounce notation
      /*  list($email, $domain) = explode('@', $settings['address']);
        $email .= '+bounce';
        if ($idHash) {
            $email .= '_'.$this->idHash;
        }
	  */
        $monitoredEmail = $settings['address'];
    }

    return $monitoredEmail;
}[/code]

This behavior also occurs with unsubscribe headers, so change:

[code]public function generateUnsubscribeEmail($idHash = null)
{
$monitoredEmail = false;

    if ($settings = $this->isMontoringEnabled('EmailBundle', 'unsubscribes')) {
        // Append the bounce notation
        list($email, $domain) = explode('@', $settings['address']);
        $email .= '+unsubscribe';
        if ($idHash) {
            $email .= '_'.$this->idHash;
        }
        $monitoredEmail = $email.'@'.$domain;
    }

    return $monitoredEmail;
}[/code]

to:

[code] public function generateUnsubscribeEmail($idHash = null)
{
$monitoredEmail = false;

    if ($settings = $this->isMontoringEnabled('EmailBundle', 'unsubscribes')) {
        // Append the bounce notation
     /*   list($email, $domain) = explode('@', $settings['address']);
        $email .= '+unsubscribe';
        if ($idHash) {
            $email .= '_'.$this->idHash;
        }*/
        $monitoredEmail = $settings['address'];
    }

    return $monitoredEmail;
}[/code]

After some testing, I understand the hashing lessens the processing of bounce/unsub mail – the documentation fails to specify that this method ONLY works if you enable a catchall mailbox.
(And your server does not ‘create’ folders for nonexistent addresses)

This method of processing DOES NOT work if you use something like @yahoo.com out of the box.
Removing the hash as mentioned above, processes them appropriately, as an alternative.

despite catch all setting same issue.
email is landing in different folder.

the catch domain email id will work fine if you use it without any + sign i.e. bouncebounce_45646bbf04c47@domain.tld it will store email in inbox folder.
if you use + sign i.e. bounce+bounce_45646bbf04c47@domain.tld it is creating new folder like inbox and store email there.

Hi guys,

We have the same issue:

In Mautic we are sending out email to series of contacts. When emails are bounced, we do receive emails in the bounce email inbox, but not all of these bounces that are coming in are registered in Mautic for some reason. Some are, but some are not.

This seems like a fairly important feature to get fixed right? Does anyone have a working solution?

Cheers,

Karan

Hi MxyzptlkFishStix,

Yeah apologies. We are not sending locally, but we are using Amazon SES as a service.

When we send out the emails using a campaign, we do not get any bounces in the report:

http://mail2.supplychainradio.com/asset/1:email-reportjpg

But when I create a segement list (email equeals bounced) for that specific campaign, I do get some contact that are bounced, but not all of them. I do get all of them in my email inbox.

Hopefully you guys have a solutions to get ALL the bounces in the system. Not having this increased the chance that our email address will get a bad reputation which is not preferable at all.

Cheers,

Karan

Hi MxyzptlkFishStix,

Yes, according to our developer, he followed the documentation provided to the teeth. Is there a way to check if the setup is correct?

Thanks!

Hi MxyzptlkFishStix,

Im sorry for the late reply. I will contact our developer and provide the screenshots. Thanks!

Karan

Hi MxyzptlkFishStix,

Please see the screenshots provided by the developer:

“/s/config/edit#emailconfig” = http://mail2.supplychainradio.com/asset/3:mautic-email-setting3png

Amazon AWS SES Info = http://mail2.supplychainradio.com/asset/2:aws-sespng

Is this helpful?

Happy to hear from you!

Karan

Hi MxyzptlkFishStix,

We are going to do some testing coming week with your suggested setup. Curious to see if it works and hopefully I can donate to your tea fund ;-).

Cheers,

Karan

[quote=16365:@swip]IF you do not have the means to setup a catchall:
In app/bundles/EmailBundle/Helper/MailHelper.php:

Change:

[code]public function generateBounceEmail($idHash = null)
{
$monitoredEmail = false;

    if ($settings = $this->isMontoringEnabled('EmailBundle', 'bounces')) {
        // Append the bounce notation
        list($email, $domain) = explode('@', $settings['address']);
        $email .= '+bounce';
        if ($idHash) {
            $email .= '_'.$this->idHash;
        }
        $monitoredEmail = $email.'@'.$domain;
    }

    return $monitoredEmail;
}[/code]

to:

[code] public function generateBounceEmail($idHash = null)
{
$monitoredEmail = false;

    if ($settings = $this->isMontoringEnabled('EmailBundle', 'bounces')) {
        // Append the bounce notation
      /*  list($email, $domain) = explode('@', $settings['address']);
        $email .= '+bounce';
        if ($idHash) {
            $email .= '_'.$this->idHash;
        }
	  */
        $monitoredEmail = $settings['address'];
    }

    return $monitoredEmail;
}[/code]

This behavior also occurs with unsubscribe headers, so change:

[code]public function generateUnsubscribeEmail($idHash = null)
{
$monitoredEmail = false;

    if ($settings = $this->isMontoringEnabled('EmailBundle', 'unsubscribes')) {
        // Append the bounce notation
        list($email, $domain) = explode('@', $settings['address']);
        $email .= '+unsubscribe';
        if ($idHash) {
            $email .= '_'.$this->idHash;
        }
        $monitoredEmail = $email.'@'.$domain;
    }

    return $monitoredEmail;
}[/code]

to:

[code] public function generateUnsubscribeEmail($idHash = null)
{
$monitoredEmail = false;

    if ($settings = $this->isMontoringEnabled('EmailBundle', 'unsubscribes')) {
        // Append the bounce notation
     /*   list($email, $domain) = explode('@', $settings['address']);
        $email .= '+unsubscribe';
        if ($idHash) {
            $email .= '_'.$this->idHash;
        }*/
        $monitoredEmail = $settings['address'];
    }

    return $monitoredEmail;
}[/code]

After some testing, I understand the hashing lessens the processing of bounce/unsub mail – the documentation fails to specify that this method ONLY works if you enable a catchall mailbox.
(And your server does not ‘create’ folders for nonexistent addresses)

This method of processing DOES NOT work if you use something like @yahoo.com out of the box.
Removing the hash as mentioned above, processes them appropriately, as an alternative.[/quote]

This is useful to whom is using IMAP bounce processing.

Do you know how bounced email processing? is it process on email subject or email body?