PHPLIST 3.2.5 bounce management not working

Dear All,

We installed phplist 32.5 with php 7 and Apache 2.4.x , installation & functionality is working fine, thanks for your new and most awaited feature “image embedded” .

But Bounce part seems not working for me and also not getting any log/error any where to find the issue .

  1. Run campaign with wrong email id , receiving bounce at user define in
    $message_envelope but campaign showing no bounce .
  2. i am able to login via entered user and passwd from outlook ( smtp 587 , pop 110 port)

Sorry but didn’t getting any clue.
Your help will be highly appreciated by us. Thanks in advance.

Below is my configuration for bounce.

[root@Email-Campaining config]# less config.php | grep message_envelope
$message_envelope = ‘username@alt.altorganise.com’;
[root@Email-Campaining config]# less config.php | grep bounce

$bounce_protocol = ‘pop’;
$bounce_mailbox_host = ‘email-1.altorganise.com’;
$bounce_mailbox_user = ‘username@alt.altorganise.com’;
$bounce_mailbox_password = ‘userpassword’;
$bounce_mailbox_port = “110/pop3”;
$bounce_mailbox = ‘/opt/vmail/alt.altorganise.com/username’;
$bounce_mailbox_purge = 1;
$bounce_mailbox_purge_unprocessed = 1;
$bounce_unsubscribe_threshold = 1;

if you go to ‘system’ ‘log of events’, it should have a message that will provide some insight into what’s going on.

most likely the login info for the phpList bounce user/password/port/authentication does not match the pop server.

change one thing at a time, process bounces, look at the log of events. do this from the web interface, it will also provlde more feedback.

Thanks for your reply.

I am using Linux centos 7.2, and i checked /var/log/messages & secure log along with httpd/error.log & access.log but getting no error any where .

How we can enable logs for phplist as by default it is not generating any error or log anywhere that is why I am fail to get the error. I also check php.ini and where already php error is enabled.
Is there any cli command to check same ?

[root@Email-Campaining ~]# less /opt/php-install/lib/php.ini | grep _errors

display_errors = On
display_startup_errors = On
log_errors = On
log_errors_max_len = 1024
ignore_repeated_errors = Off
track_errors = On
html_errors = On
error_log = /var/log/httpd/php_errors.log
[root@Email-Campaining ~]#

@anupam4881 Are you actually running the process bounces page?

First issue found was related to imap support not enabled. when run same via cli

[root@Email-Campaining ~]# /var/www/html/phplist/bin/phplist -pprocessbounces
gives that imap support was not enabled.

I again compiled php with imap support and after that now struggling with below error
RUN:

/var/www/html/phplist/bin/phplist -pprocessbounces

case-1 if use
$bounce_mailbox_port = ‘110/pop3/starttls’;

phpList - Cannot create POP3 connection to email-1.altorganise.com: Can’t open mailbox {email-1.altorganise.com:110/pop3/starttls} INBOX: invalid remote specification

case-2 if use
$bounce_mailbox_port = ‘110/pop3/notls’;
phpList - Cannot create POP3 connection to email-1.altorganise.com: Too many login failures

change pop to imap but same error.

In short it is now stuck at this point not working for imap & pop both.

Very strange i am able to configure and login via Thunderbird & webmail with below same setting.
STARTTLS/port110/pop3/email-1.altorganise.com same user and password. TLS and plan text is not allowed at mail server end. it only listen on STARTTLS.

Thanks in advance.

Regards
Anupam

Also
case-3
$bounce_mailbox_port = ‘995/pop3/tls/novalidate-cert’; or without tls and novalidate same result.

phpList - Cannot create POP3 connection to email-1.altorganise.com: POP3 connection broken in response
phpList - reprocessing
phpList - 0 bounces to reprocess
phpList - 0 out of 0 processed
phpList - Identifying consecutive bounces
phpList - Nothing to do
phpList - total of 0 subscribers processed

i am able to login via cli on my mail server.
[root@Email-Campaining php-7.0.9]# openssl s_client -connect email-1.altorganise.com:995
Regards
Anupam

@anupam4881 Try

$bounce_mailbox_port = "995/pop3/ssl/novalidate-cert";

I get the response

Cannot create POP3 connection to email-1.altorganise.com: Can not authenticate to POP3 server: [AUTH] Authentication failed.

which suggests that it is connecting and then failing authentication.

Yes, WORKING NOW …

relay is not allowed that is why you r getting auth error , but from my setup ( phplist) it’s not\w authenticated. lot of thanks.

So in short
. phplist must be compile or supported with imap module
if your mail server support STARTTLS than your recommended string will work
$bounce_mailbox_port = “995/pop3/ssl/novalidate-cert”;

[root@Email-Campaining ~]# /var/www/html/phplist/bin/phplist -pprocessbounces
phpList version 3.2.5 © 2000-2016 phpList Ltd, http://www.phplist.com
phpList - 11 bounces to fetch from the mailbox
phpList - Please do not interrupt this process
phpList - Closing mailbox, and purging messages
phpList - reprocessing
phpList - 0 bounces to reprocess
phpList - 0 out of 0 processed
phpList - Identifying consecutive bounces
phpList - unsubscribing 20 -> 1 bounces
phpList - unsubscribing 22 -> 1 bouncesbers
phpList - unsubscribing 23 -> 1 bounces
phpList - unsubscribing 24 -> 1 bounces
phpList - unsubscribing 25 -> 1 bounces
phpList - unsubscribing 26 -> 1 bounces
phpList - unsubscribing 27 -> 1 bouncesbers
phpList - unsubscribing 28 -> 1 bounces
phpList - unsubscribing 29 -> 1 bounces
phpList - unsubscribing 30 -> 1 bounces
phpList - unsubscribing 33 -> 1 bounces
phpList - total of 11 subscribers processed
[root@Email-Campaining ~]#

Regards
Anupam