I have had a few requests from clients that use interspire with a rotating IP script and then switched over using Interspire with powerMTA.
They all ran into the same issue – Bounce notifications were not being sent back to the bounce address interspire used.
In order to send bounces back to Interspire that occur in powerMTA you have to add the following to your PMTA config:
<domain *> deliver-local-dsn YES </domain>
This will ensure that emails get returned to your Email address that you have specified in you Interspire under your bounce email address.
We now have to tell Interspire’s bounce processor to process emails with the subject “Delivery Report”.
The file we need to edit is: bounce_rules.php and can be found in your Interspire installation directory. /admin/resources/
If you do not add this to your interpsire bounce_rule.php interpsire will simply ignore that email and delete it after the bounce processing has run.
Round about line 68 you will find this line:
$GLOBALS['BOUNCE_RULES_SUBJECT'] = array(
Just below that we add:
'Delivery report',
Save the file.
Now go ahead and create a test list in interspire.
Add an email that you know will bounce.
Send a test campaign and see if the email gets marked as bounced after Interspires bounce has run.
In order to speed up the bounce run you can manually run the bounce process in interspire.
If the email does not get marked as bounced you can always debug the bounce process to see why it ignored the email. To debug, simply follow this guide on interspires website.
If Interspire is not marking the email as bounced and you have activated debug mode and you receive something like this:
Line 883; Date: Thu, 22 May 2013 10:45:25 +2 Line 884; Processing emailid: 20; listid: 1024 Line 471; the email headers werent returned properly. See if they have a utf-8 byte-order-mark in them. Line 891; no proper email headers found. Returning ignore
Then add this to your powerMTA configuration:
<domain *> ignore-8bitmime true </domain>
I tried this. It is not working. Can you please let me know what other things I can try ?
Have you enabled debug mode? If yes, please post the output so I can have a look.
Thanks, it started working. I was using verp as yes in PMTA. That was causing the issue.
Hi Mate!
Its not working for me, can you suggest why ?
I tried to add this line so that my config looks like
max-smtp-out 20 # max. connections *per domain*
bounce-after 4d12h # 4 days, 12 hours
retry-after 10m # 10 minutes
deliver-local-dsn YES
I’m not able to feed the bounced messages to my bounce Email ID/InterSpire bounce processor, while if I send a bounce message from built in Exim, it successfully processes the bounces.
Please suggest.
Gags,
make sure you use it in this format. You have to tell pmta what domain to deliver the dsn.
or you bounce domain
The * means all domains.