magicdude4eva / port25-bouncehandler

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

getting error #33

Open Mohit1946 opened 3 years ago

Mohit1946 commented 3 years ago

Please see

[root@mail pmta]# echo "test@test.com" | /usr/bin/php /opt/pmta/bouncehandler/bouncehandler.php --debug [25/Sep/2020 12:18:26] ------------------------------------------------------------------ [25/Sep/2020 12:18:26] Port25 PowerMTA bounce-handler [25/Sep/2020 12:18:26] (C) 2016-2017 Gerd Naschenweng https://github.com/magicdude4eva [25/Sep/2020 12:18:26] ------------------------------------------------------------------ [25/Sep/2020 12:18:26] Handling bounce categories=bad-mailbox,bad-domain,routing-errors,inactive-mailbox,spam-related,policy-related [25/Sep/2020 12:18:26] Soft-bounce categories=bad-configuration,bad-connection,content-related,invalid-sender,other,policy-related,quota-issues,spam-related,virus-related [25/Sep/2020 12:18:26] Bounce-provider: Interspire, initialising [25/Sep/2020 12:18:26] Skipped - not configured! [25/Sep/2020 12:18:26] Bounce-provider: MailWizz, initialising [25/Sep/2020 12:18:26] Endpoint-URL=http://mail.welcomefriend.co/wiz/api/index.php PHP Fatal error: Uncaught Error: Class 'MailWizzApi_Config' not found in /opt/pmta/bouncehandler/providers/bounce-provider-mailwizz.php:53 Stack trace:

0 /opt/pmta/bouncehandler/bouncehandler.php(109): require_once()

1 {main}

thrown in /opt/pmta/bouncehandler/providers/bounce-provider-mailwizz.php on line 53

I was also test with an CSV file

[root@mail pmta]# cat /root/eufr-subscribers-rg746b35rkf98.csv | /usr/bin/php ./bouncehandler/bouncehandler.php [25/Sep/2020 06:19:01] ------------------------------------------------------------------ [25/Sep/2020 06:19:01] Port25 PowerMTA bounce-handler [25/Sep/2020 06:19:01] (C) 2016-2017 Gerd Naschenweng https://github.com/magicdude4eva [25/Sep/2020 06:19:01] ------------------------------------------------------------------ [25/Sep/2020 06:19:01] Handling bounce categories=bad-mailbox,bad-domain,routing-errors,inactive-mailbox,spam-related,policy-related [25/Sep/2020 06:19:01] Soft-bounce categories=bad-configuration,bad-connection,content-related,invalid-sender,other,policy-related,quota-issues,spam-related,virus-related [25/Sep/2020 06:19:01] Bounce-provider: Interspire, initialising [25/Sep/2020 06:19:01] Skipped - not configured! [25/Sep/2020 06:19:01] Bounce-provider: MailWizz, initialising [25/Sep/2020 06:19:01] Endpoint-URL=http://mail.welcomefriend.co/wiz/api/index.php PHP Fatal error: Uncaught Error: Class 'MailWizzApi_Config' not found in /opt/pmta/bouncehandler/providers/bounce-provider-mailwizz.php:53 Stack trace:

0 /opt/pmta/bouncehandler/bouncehandler.php(109): require_once()

1 {main}

thrown in /opt/pmta/bouncehandler/providers/bounce-provider-mailwizz.php on line 53

I am using Php 7.4 and pmta version 4.5r11

Please help me to solve it,