Mail to john.doe@example.com with Mailgun not bouncing

Use this forum for all questions related to bounce management of OpenEMM

Moderator: moderator

sp
Posts: 21
Joined: Mon Apr 12, 2010 2:04 pm

Mail to john.doe@example.com with Mailgun not bouncing

Post by sp »

In order to test bounces, I have sent some mail to john.doe@example.com with OpenEMM (I use the internal SMTP server, not sendmail).

The mail remains in the var/spool/QUEUE directory for quite some time and the qf*-files have information like:
K1274382497
M[412] Failed to resolve domain example.com
N450
T1274295979
I would like to have this hard bouncing, so I have added
^Failed to resolve domain
to conf/bav/bav.rule's [hard]-section.

After restarting OpenEMM the qf*-files get refreshed, but the mail is not hard bounced.

What have I to do in order to get bouncing running with Mailgun?
sp
Posts: 21
Joined: Mon Apr 12, 2010 2:04 pm

Post by sp »

So after ~720 tries the files just got deleted from the mail queue and no sign of a bounce in the statistics :-(.

How can I let this bounce faster and in a way that marks the mailing as bounced for the subscriber?
[20.05.2010 21:11:23] 15376 DEBUG/00002B00000000008: New entry /opt/openemm/var/spool/QUEUE/qf00002B00000000008 for Mailing 43 and Customer 8
[20.05.2010 21:11:23] 15376 DEBUG/00002B00000000008: Entry is ready to send, current trycount is 721
[20.05.2010 21:11:23] 15376 DEBUG/00002C00000000008: New entry /opt/openemm/var/spool/QUEUE/qf00002C00000000008 for Mailing 44 and Customer 8
[20.05.2010 21:11:23] 15376 DEBUG/00002C00000000008: Entry is ready to send, current trycount is 721
[20.05.2010 21:11:23] 15376 DEBUG/00002B00000000008: Updated qfile /opt/openemm/var/spool/QUEUE/qf00002B00000000008
[20.05.2010 21:11:23] 15376 INFO/00002B00000000008: Softbounce 412: Failed to resolve domain example.com
[20.05.2010 21:11:23] 15376 DEBUG/00002C00000000008: Updated qfile /opt/openemm/var/spool/QUEUE/qf00002C00000000008
[20.05.2010 21:11:23] 15376 INFO/00002C00000000008: Softbounce 412: Failed to resolve domain example.com
[20.05.2010 21:11:48] 15376 DEBUG/ADMIN: Found 0 files in queue
[20.05.2010 21:12:18] 15376 DEBUG/ADMIN: Found 0 files in queue
[20.05.2010 21:12:48] 15376 DEBUG/ADMIN: Found 0 files in queue
[20.05.2010 21:13:18] 15376 DEBUG/ADMIN: Found 0 files in queue
[20.05.2010 21:13:23] 15376 DEBUG/QUEUE: Found 4 files in queue
[20.05.2010 21:13:23] 15376 DEBUG/00002B00000000008: New entry /opt/openemm/var/spool/QUEUE/qf00002B00000000008 for Mailing 43 and Customer 8
[20.05.2010 21:13:23] 15376 INFO/00002B00000000008: Removed expired entry
[20.05.2010 21:13:23] 15376 DEBUG/00002C00000000008: New entry /opt/openemm/var/spool/QUEUE/qf00002C00000000008 for Mailing 44 and Customer 8
[20.05.2010 21:13:23] 15376 INFO/00002C00000000008: Removed expired entry
[20.05.2010 21:13:48] 15376 DEBUG/ADMIN: Found 0 files in queue
sp
Posts: 21
Joined: Mon Apr 12, 2010 2:04 pm

Post by sp »

Anyone?
sp
Posts: 21
Joined: Mon Apr 12, 2010 2:04 pm

Re: Mail to john.doe@example.com with Mailgun not bouncing

Post by sp »

Can someone give me a hint how to make a hard bounce out of this please?
sp
Posts: 21
Joined: Mon Apr 12, 2010 2:04 pm

Re: Mail to john.doe@example.com with Mailgun not bouncing

Post by sp »

Okay, as I see it one has to patch semu.py.
obermeie
Posts: 3
Joined: Thu Oct 25, 2012 1:10 pm

Re: Mail to john.doe@example.com with Mailgun not bouncing

Post by obermeie »

Hi,

I had the same problem.
After i realized the domain resolution is made with a python script I installed the bind-utils package (CentOS 6) and everything worked like a charm :-)

jm2c
Post Reply