magicdude4eva / port25-bouncehandler

Port25 PowerMTA bounce handler for Interspire and MailWizz
MIT License
73 stars 42 forks source link

Unable to process bounce #19

Closed singhk9009 closed 6 years ago

singhk9009 commented 6 years ago

Hello,

I tried to copy the instructions written in read me and place all the folders/files as mentioned but when I try to manually process the unsubscribe its ending up doing nothing. Getting below:

[root@server ~]# cat /var/log/pmta/bounce-2017-12-31-0000.csv | php /opt/pmta/bouncehandler/bouncehandler.php --var/log/pmta/bounce-handler.log [31/Dec/2017 06:22:25] ------------------------------------------------------------------ [31/Dec/2017 06:22:25] Port25 PowerMTA bounce-handler [31/Dec/2017 06:22:25] (C) 2016-2017 Gerd Naschenweng https://github.com/magicdude4eva [31/Dec/2017 06:22:25] ------------------------------------------------------------------ [31/Dec/2017 06:22:25] Handling bounce categories=bad-mailbox,bad-domain,routing-errors,inactive-mailbox,spam-related,policy-related [31/Dec/2017 06:22:25] Soft-bounce categories=bad-configuration,bad-connection,content-related,invalid-sender,other,policy-related,quota-issues,spam-related,virus-related [31/Dec/2017 06:22:25] Bounce-provider: Interspire, initialising [31/Dec/2017 06:22:25] Skipped - not configured! [31/Dec/2017 06:22:25] Bounce-provider: MailWizz, initialising [31/Dec/2017 06:22:25] Endpoint-URL=http://charchatur.com/api [31/Dec/2017 06:22:25] MailWizz enabled! [31/Dec/2017 06:22:25] Bounce-provider: MailWizz, complete [31/Dec/2017 06:22:25] Feedback-provider: initialising [root@server ~]#


Followed below: 1) Created bouncehandler under /opt/pmta/ 2) Placed all folders under bouncehandler including setup.php, copied API under providers. 3) Modified setup.php as defined 4) Added header name and value 5) Modified pmta config to add acct-file records 6) Restarted services and server 7) Trying process manually via running _" cat /var/log/pmta/bounce-2017-12-31-0000.csv | /usr/bin/php ./bouncehandler/bouncehandler.php --debug "

Above all giving me no luck, Am'I missing anything, please guide. Appreciate your help Thanks, Kamlesh

magicdude4eva commented 6 years ago

In most cases it is an old version of PHP - https://github.com/magicdude4eva/port25-bouncehandler#installation-troubleshooting

magicdude4eva commented 6 years ago

Closing this. Perhaps also read this: https://github.com/magicdude4eva/port25-bouncehandler/issues/17#issuecomment-400404409

avdesh31 commented 1 year ago

Hello,

Hello I set up bounce handler but bounces are not getting processed

Getting below: [26/Mar/2023 05:57:27] Port25 PowerMTA bounce-handler [26/Mar/2023 05:57:27] (C) 2016-2017 Gerd Naschenweng https://github.com/magicd ude4eva [26/Mar/2023 05:57:27] --------------------------------------------------------- --------- [26/Mar/2023 05:57:27] Handling bounce categories=bad-mailbox,bad-domain,routing -errors,inactive-mailbox,spam-related,policy-related [26/Mar/2023 05:57:27] Soft-bounce categories=bad-configuration,bad-connection,c ontent-related,invalid-sender,other,policy-related,quota-issues,spam-related,vir us-related [26/Mar/2023 05:57:27] Bounce-provider: Interspire, initialising [26/Mar/2023 05:57:27] Skipped - not configured! [26/Mar/2023 05:57:27] Bounce-provider: MailWizz, initialising [26/Mar/2023 05:57:27] Endpoint-URL=https://mail.shilopar.com/latest/api/inde x.php [26/Mar/2023 05:57:27] MailWizz enabled! [26/Mar/2023 05:57:27] Bounce-provider: MailWizz, complete [26/Mar/2023 05:57:27] Feedback-provider: initialising [26/Mar/2023 05:57:27] Feedback-provider: complete [26/Mar/2023 05:57:27] Initialising RRD reporting via /var/log/pmta/pmta.rrd [26/Mar/2023 05:57:27] Starting bounce processing [26/Mar/2023 05:57:27] Bounce: bad-mailbox from=notification-yvonne_bethlehem=ho tmail.com@mail.multitype.info via mta3/yvonne_bethlehem@hotmail.com jobId=kp092z wxq9c4e, dsnStatus=5.5.0 (unknown protocol-related status) [26/Mar/2023 05:57:27] Bounce: bad-mailbox from=notification-wubbelly=hotmail.co m@mail.multitype.info via mta3/wubbelly@hotmail.com jobId=kp092zwxq9c4e, dsnStat us=5.5.0 (unknown protocol-related status) [26/Mar/2023 05:57:27] Completed bounce processing! Total records=3, processed=0 , skipped=1

please let me know what can i do

avdesh31 commented 1 year ago

I am using PowerMTA5.0r1 PHP 7.3.33 (cli) (built: Feb 14 2023 14:41:46) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.3.33, Copyright (c) 1998-2018 Zend Technologies