You’ll want to use Ctrl-F to bring up the Code Editor’s find function. You need to look for message_envelope. It should be around line 71 and the entire section of code we’ll be taking a look at and modifying is the following:
# $message_envelope = 'listbounces@yourdomain';
# Handling bounces. Check README.bounces for more info
# This can be 'pop' or 'mbox'
$bounce_protocol = 'pop';
# set this to 0, if you set up a cron to download bounces regularly by using the
# commandline option. If this is 0, users cannot run the page from the web
# frontend. Read README.commandline to find out how to set it up on the
# commandline
define ("MANUALLY_PROCESS_BOUNCES",1);
# when the protocol is pop, specify these three
$bounce_mailbox_host = 'localhost';
$bounce_mailbox_user = 'popuser';
$bounce_mailbox_password = 'password';
We need to un-comment the $message_envelope line by removing the # symbol from the beginning of the line. Then you need to type in the email address you’d like phpList to send mail from, note that this is different than what you type in the From section when sending a message.
If you set your from address to [email protected] for instance, if a user tries to hit reply that’s where they’ll be sending to. But if you have your message_envelope set to [email protected] this is the address used for bounce backs.
Without setting this your mail will be sent out from your actual cPanel user, so [email protected] or something similar. You would be able to directly check the bounce backs by logging into webmail with your main cPanel account, but to have phpList handle bounce backs for you, you’ll want to create a separate email address for this.
You also need to update the bounce_mailbox_user, and bounce_mailbox_password sections with your valid email credential as well.
When you’re done making these modifications click on Save Changes up in the top right of the Code Editor.
When you’re done editing, the config file should look similar to this:
$message_envelope = '[email protected]';
# Handling bounces. Check README.bounces for more info
# This can be 'pop' or 'mbox'
$bounce_protocol = 'pop';
# set this to 0, if you set up a cron to download bounces regularly by using the
# commandline option. If this is 0, users cannot run the page from the web
# frontend. Read README.commandline to find out how to set it up on the
# commandline
define ("MANUALLY_PROCESS_BOUNCES",1);
# when the protocol is pop, specify these three
$bounce_mailbox_host = 'localhost';
$bounce_mailbox_user = '[email protected]';
$bounce_mailbox_password = 'MyPa$$W0rd';