Press enter to see results or esc to cancel.

Configure Bounce Mails on PhpList


Edit /config/config.php

 

Before doing this Create an Email address to get mounce messages. Say listbounces@yourdomain.com give a fair password and start Editing this file. What We are going to do here is setting Envelop address for all mails as this listbounces@yourdomain.com. Then Whenever these mails get bounced it ll fall in to this INBOX and We read all Bounces from this inbox then delete these mails from there to save space(its up to you whether to delete or not). Now Lets have a detailed look in to this configuration

Switch to this secton

Settings for handling bounces

*/

# Message envelope. This is the email that system messages come from
# it is useful to make this one where you can process the bounces on
# you will probably get a X-Authentication-Warning in your message
# when using this with sendmail
# NOTE: this is *very* different from the From: line in a message
# to use this feature, uncomment the following line, and change the email address
# to some existing account on your system
# requires PHP version > “4.0.5″ and “4.3.1+” without safe_mode

# $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’;

# the “port” is the remote port of the connection to retrieve the emails
# the default should be fine but if it doesn’t work, you can try the second
# one. To do that, add a # before the first line and take off the one before the
# second line

$bounce_mailbox_port = “110/pop3/notls”;
#$bounce_mailbox_port = “110/pop3″;


# when the protocol is mbox specify this one
# it needs to be a local file in mbox format, accessible to your webserver user
$bounce_mailbox = ‘/var/spool/mail/listbounces’;

# set this to 0 if you want to keep your messages in the mailbox. this is potentially
# a problem, because bounces will be counted multiple times, so only do this if you are
# testing things.

$bounce_mailbox_purge = 1; ( Set 0 to Keep bounce mails in that inbox)

 

Make all Changes in your files which marked here in Green

save and restart your PhpList



Comments

Comments are disabled for this post