How to handle bounces + with own mail server

Your software
CentOS 8.2
mautic 3.1.1
php 7.3.22
mysql Ver 15.1 Distrib 10.3.17-MariaDB

Your problem
My email server is running on

Mautic is running on


So i created a contact in mautic with something@mydomain.tld to see how bounces are handled. I get the error notification on the dashboard of mautic (failed to execute campaign), but the contact will not show up in the segment Bounces (filter bounced email = yes)

What else will mautic need, so the bounces are treated correct?

Did you run the mautic:emails:fetch command via CLI or Cron?

yes. tried both now. the contacts are still not showing up in the segment.


 * * * * * php /var/www/mautic/bin/console mautic:segments:update
 * * * * * php /var/www/mautic/bin/console mautic:campaigns:update >/dev/null 2>&1
 * * * * * php /var/www/mautic/bin/console mautic:campaigns:trigger >/dev/null 2>&1
 * * * * * php /var/www/mautic/bin/console mautic:broadcast:send >/dev/null 2>&1
 * * * * * php /var/www/mautic/bin/console mautic:email:fetch >/dev/null 2>&1

and the cli gives me:

0 emails processed for {mail.mydomain.tld:993/imap/ssl}INBOX with a criteria of UNSEEN

Those bounced yes flags are they somewhere visible at the contact itself?

Does it make a difference for the flag, if the email is a transactional or marketing email?

Sorry for the poor example, but in the picture where it says “Do Not Contact” if an email has bounced that box will be yellow and say “Bounced” if everything is working properly

Not that I am aware. In my experience the difference in transactional and marketing email designations is for the marketing messages only to be sent to a contact X number of times, as you designate in the settings, and triggered in campaigns.

nice big avatar image. wish that one would should up on my site. anyway, let’s focus on the other issue, bounces. all i see “this event encountered an error …”

The bounce flag field itself is only visible in the db not in the backend?

Do I have to set an action in the campaign to handle bounces?

Not that I’m aware. Having the mailbox and bounce address and crons running is the only steps as far as I know.
Have you tried enabling the custom connection settings and testing connection to mailbox and the specific folder?

I’ve had difficulty with bounce management to the point I’ve downloaded all the messages in my bounce enabled folder from server, extracting the emails to a csv and uploading in do not contact segment and adding a bounced tag. I run a simple campaign on that segment to set “Do Not Contact”

A rudimentary work around but works nonetheless till I have the time to troubleshoot further.

1 Like