First.. a big thank you for putting this code online.
But I have an issue and I can't seem to figure out what the problem is.
I read the documentation multiple times but I get stuck.
When I set things up like you discibed in the readme file, and run a campaign with 2 good and 2 fake mailaddresses, I don't see the bounces in my MailWizz campaign report.
The 2 fake mailaddresses get unsubscribed, so that part looks allright, although I wander why you decide to set these bounce addresses to UNSUBSCRIBE in stead of BOUNCED/BLACKLISTED like MailWizz does.
Also there is a contradictionary in your README.md and the bouncehandler.php:
README.md says:
<acct-file |/usr/bin/php /opt/pmta/bouncehandler/bouncehandler.php> records b record-fields b timeQueued,bounceCat,vmta,orig,rcpt,srcMta,dlvSourceIp,jobId,dsnStatus,dsnMta,dsnDiag </acct-file>
bouncehandler.php * Notes says:
<acct-file | /usr/bin/php /opt/pmta/bouncehandler/bouncehandler.php> records b type,timeQueued,bounceCat,vmta,orig,rcpt,srcMta,dlvSourceIp,jobId,dsnStatus,dsnMta,dsnDiag </acct-file>
Restarting the pmta when the version of bouncehandler.php * Note gives me a Parse error in line 44 of /etc/pmta/config: unknown directive. So this is defenitly incorrect (don't schoot the messenger)!
It would also be handy if you can tell me which MailWizz crons can be commented out listed below:
`#1 Campaigns sender, runs each minute.
Hi Gerd (magicdude4eva)!
First.. a big thank you for putting this code online. But I have an issue and I can't seem to figure out what the problem is.
I read the documentation multiple times but I get stuck. When I set things up like you discibed in the readme file, and run a campaign with 2 good and 2 fake mailaddresses, I don't see the bounces in my MailWizz campaign report. The 2 fake mailaddresses get unsubscribed, so that part looks allright, although I wander why you decide to set these bounce addresses to UNSUBSCRIBE in stead of BOUNCED/BLACKLISTED like MailWizz does.
Also there is a contradictionary in your README.md and the bouncehandler.php: README.md says:
<acct-file |/usr/bin/php /opt/pmta/bouncehandler/bouncehandler.php> records b record-fields b timeQueued,bounceCat,vmta,orig,rcpt,srcMta,dlvSourceIp,jobId,dsnStatus,dsnMta,dsnDiag </acct-file>
bouncehandler.php * Notes says:
<acct-file | /usr/bin/php /opt/pmta/bouncehandler/bouncehandler.php> records b type,timeQueued,bounceCat,vmta,orig,rcpt,srcMta,dlvSourceIp,jobId,dsnStatus,dsnMta,dsnDiag </acct-file>
Restarting the pmta when the version of bouncehandler.php * Note gives me a Parse error in line 44 of /etc/pmta/config: unknown directive. So this is defenitly incorrect (don't schoot the messenger)!
It would also be handy if you can tell me which MailWizz crons can be commented out listed below: `#1 Campaigns sender, runs each minute.
2 Transactional email sender, runs once at 2 minutes.
/2 * /usr/bin/php -q /var/www/smtp1.mailhouserock.com/public_html/mailer/apps/console/console.php send-transactional-emails >/dev/null 2>&1
3 Bounce handler, runs once at 10 minutes.
/10 * /usr/bin/php -q /var/www/smtp1.mailhouserock.com/public_html/mailer/apps/console/console.php bounce-handler >/dev/null 2>&1
4 Feedback loop handler, runs once at 20 minutes.
/20 * /usr/bin/php -q /var/www/smtp1.mailhouserock.com/public_html/mailer/apps/console/console.php feedback-loop-handler >/dev/null 2>&1
5 Delivery/Bounce processor, runs once at 3 minutes.
/3 * /usr/bin/php -q /var/www/smtp1.mailhouserock.com/public_html/mailer/apps/console/console.php process-delivery-and-bounce-log >/dev/null 2>&1
6 Various tasks, runs each hour.
0 /usr/bin/php -q /var/www/smtp1.mailhouserock.com/public_html/mailer/apps/console/console.php hourly >/dev/null 2>&1`
I think crons:
3 Bounce handler, runs once at 10 minutes.
4 Feedback loop handler, runs once at 20 minutes.
5 Delivery/Bounce processor, runs once at 3 minutes.
... can be commented out (am I right, please correct me when I'm wrong)?
Cheers!