[SOLVED]Bounce is not working because POP use 995 port

Greetings from Malaysia.

The Version of phpList I’m using - 3.2.3
The Browser I’m using - Chrome
URL of my phpList (public, not Admin) - http://si-my2015.shareinvestor.com/
Problem I’m having - Bounce is not working.

I followed along this , but seems not to be working as well. Please help! :smile:

I toggled the bounce mailbox port between 995 and 993, but none is affected.

Emails are sending out fine, only for the confirmed email, but unconfirmed email will be added to the list of unconfirmed, which can be set manually to confirmed it.

I have tested by sending to outrageous emails that I could think of, but no error shown in the Log of Events.

If you need any more info, I will gladly share.

Thank you! :pensive:

Here is the code in the config.php

<?php
 $database_host = "localhost";
 $database_name = "si_phplistdb";
 $database_user = "root";
 $database_password = 'root.root';
 define("PHPMAILERHOST",'mr3.domain.com');
 define('PHPMAILERPORT',25);
 define ("TEST",0);
 $pageroot = '/email_ads';
 define("PLUGIN_ROOTDIR","plugins");

 #CUSTOMS
 define('ALWAYS_ADD_USERTRACK',1);
 define('CLICKTRACK',1);
 
 $message_envelope = 'unsubscribe@domain.com';
 $bounce_protocol = 'pop';

 define ("MANUALLY_PROCESS_BOUNCES",0);
 define('BLACKLIST_EMAIL_ON_BOUNCE', 1);
 define ("MANUALLY_PROCESS_QUEUE",0);

 $bounce_mailbox_host = 'mail.domain.com';
 $bounce_mailbox_user = 'unsubscribe@domain.com';
 $bounce_mailbox_password = '...';
 $bounce_mailbox_port = "110/pop3/notls";
 $bounce_mailbox_port = "995/pop3/ssl/novalidate-cert";

 $bounce_mailbox_purge = 1;
 $bounce_mailbox_purge_unprocessed = 1;
 $bounce_unsubscribe_threshold = 2;
 define("ENCRYPTION_ALGO",'sha256');
 $blacklist_gracetime = 5;

 // Customizations
 define ("REGISTER",0);
 define("EMAILTEXTCREDITS",1);
 define("PAGETEXTCREDITS",1);
 define ("NOSTATSCOLLECTION",1);
 $stats_collection_address = 'myemail@domain.com';
 define('PROCESSCAMPAIGNS_PARALLEL',true);
 define('CLICKTRACK',1);
 define('CLICKTRACK_SHOWDETAIL',1);
 define('USE_SPAM_BLOCK', 1);
 define('REGISTER', 1);
 define('PROCESSCAMPAIGNS_PARALLEL',false);
define('MAILQUEUE_BATCH_SIZE', 20000);
define('MAILQUEUE_BATCH_PERIOD', 3600);
define('MAILQUEUE_THROTTLE', 1);

Here are the headers

X-Phplist-Version: 3.2.3
List-Unsubscribe: <http://si-my2015.shareinvestor.com/>
List-Owner: <mailto:myemail@domain.com>
Return-Path: unsubscribe@domain.com
X-Messageid: 20
X-Listmember: kamal.iqlaas@domainr.com
List-Help: <http://si-my2015.shareinvestor.com/>
List-Subscribe: <http://si-my2015.shareinvestor.com/>
X-Virus-Scanned: amavisd-new at shareinvestor.com
Mime-Version: 1.0
Authentication-Results: mail1.shareinvestor.com (amavisd-new); dkim=neutral reason="invalid (public key: not available)" header.d=listedcompany.com
Bounces-To: unsubscribe@domain.com
Precedence: bulk
Message-Id: <03e7043fd0333f6e8ae0a7d62200d35d@SI Admin>
X-Mailer: PHPMailer 5.2.14 (https://github.com/PHPMailer/PHPMailer)
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=listedcompany.com; s=mr3; t=1457667907; bh=yCdpnYyrKBKqrcHUOLxFkz7FJxYqb4+G0OLFCLjEKxs=; h=Date:To:From:Subject:List-Help:List-Unsubscribe:List-Subscribe: List-Owner; b=TWh5SDMgiOPjY1OxO5NKTbheg7rcRGBFZJ3hjiphSoqkG2xZ3SUo7X6bX1fhbqXtq 57admrjXkBy8xSOrJ8TSXp0StqjAVwO88ixBGsFk/0FD4JKACToXmAgEyHTB8p6TyR GcPrIKWu1ejIM9j4O2MYFeOnXITXleYZB/MMIryI=
Content-Type: multipart/alternative; boundary="b1_03e7043fd0333f6e8ae0a7d62200d35d"
Received: from mail1.shareinvestor.com (LHLO mail1.shareinvestor.com) (192.168.8.170) by mail1.shareinvestor.com with LMTP; Fri, 11 Mar 2016 11:45:07 +0800 (SGT)
Received: from localhost (localhost.localdomain [127.0.0.1]) by mail1.shareinvestor.com (Postfix) with ESMTP id 7C35E223CFB for <kamal.iqlaas@shareinvestor.com>; Fri, 11 Mar 2016 11:45:07 +0800 (SGT)
Received: from mail1.shareinvestor.com ([127.0.0.1]) by localhost (mail1.shareinvestor.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Ds0CDkeT4-PW for <kamal.iqlaas@shareinvestor.com>; Fri, 11 Mar 2016 11:45:07 +0800 (SGT)
Received: from mr3.shareinvestor.com (unknown [192.168.8.44]) by mail1.shareinvestor.com (Postfix) with ESMTPS id 66D09223B29 for <kamal.iqlaas@shareinvestor.com>; Fri, 11 Mar 2016 11:45:07 +0800 (SGT)
Received: from si-my2015.shareinvestor.com (mvl4.shareinvestor.com [192.168.10.49]) by mr3.shareinvestor.com (8.13.8/8.13.8) with ESMTP id u2B3j7dI017008 for <kamal.iqlaas@shareinvestor.com>; Fri, 11 Mar 2016 11:45:07 +0800

Bounces should go to this email address. You weren’t very clear as to what the problem actually is. What happens when you run Process bounces from the admin menu?

Hi Mr Cameron.

First of all, cheers for replying.

Secondly, my bad. I read through again my post and I was a bit transparent.

  1. Yes, bounces should go to the email adress. But it does not appear in the List of Campaigns section on each campaign sent. Please note on the “Bounced” which is 0.

Apparently I can only post 1 image. The message continues.

I hope that clear things up for you Sir.
Any help would be great.
Again, I appreciate your prompt reply.

Regards,
Iqlaas

Message continues here.

  1. I defined the process bounces automatically, which is set to 0.
    define(“MANUALLY_PROCESS_BOUNCES”, 0);

When I set it to 1, it became like this.

@Iqlaas Your php installation does not include the IMAP extension which is needed for phplist to process bounces.

If your hosting account uses cpanel then you might be able to add the extension yourself. Look at the Software group of icons for any to do with php. In my case the Select PHP Version icon lets me add php extensions.

Or you can ask your hosting company to include the IMAP extension.
Or, try installing the IMAP plugin, which tries to work around this problem, https://resources.phplist.com/plugin/imap

Cheers Mr Cameron. You are a great help.

I noticed you are from London. Wonder youre a Gunner , Chelski or Spurs.

Anyway, great that with your help I am moving forward instead of running around in circle.

Have a great weekend.

Iqlaas.

1 Like

@duncanc

Did exactly as you said. And here is the result.

From the looks of it, I don’t think its working, yet.

Changed the
$bounce_protocol = 'pop'; to 'mbox'; ,
but still produced the same message as in the picture.

Please help! :sweat:

@Iqlaas The bounce protocol needs to be ‘pop’.

But the error message that is displayed looks quite clear - phplist cannot connect to the mail server using the values that you have entered in the config file - host, user, password, port. You will need to get the correct values from your hosting company, I cannot tell you what they should be.

@duncanc Cheers again for the prompt reply ! :heart_eyes:

Hi again Duncan.

So after installing the IMAP plugin, i received the server error 500.

No idea what went wrong. Any idea ?

Your help is much appreciated! :disappointed:

Why did you install the plugin? Previously phplist was trying to connect so your php already provides the IMAP extension.

As I explained previously, phplist could not connect to the pop3 server using the values that you entered in the config file.

Hello Duncan.

This is where you told me to install the plugin.

Message continue below

In the config.php file above, I set the bounce process manually to 0,
define ("MANUALLY_PROCESS_BOUNCES",0);

which will result to this picture below


As you should notice the “Process Bounces” is not apparent.

Message continues below

But as of to this time I am writing to you, when I clicked the Process Bounces, this is the result.

Its different now from the previous time I asked you, remember ?

@Iqlaas Sorry but I don’t really understand what you have been changing.
If you process bounces and get the message “Cannot create POP3 connection …” then there is something wrong with the values that you have entered in the config file. You really need to raise this problem with your hosting company as there is nothing more that I can explain.

@duncanc Yeah me either. From your answer I really cant see nothing is wrong with the config, rather just the credentials for host, user, password and port. I will refer to my superior about this. Cheers for the huge help! :+1:

@duncanc Its working.

For pop, have to use the 995 connection port.

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

Cheers! :+1:

1 Like