How to configure bounce handling in PhpList

One of the strengths of phpList is its handling of “bounces”.
A bounce is an email message that is returned because it could not be delivered for a number of reasons: The mailbox of the recipient might be full, the email address might no longer be valid or temporarily disabled, the email address might be misspelled, etc. A bounce is not the same as an out-of-office reply. For more info, see this Wikipedia article on bounces.

editor config.php file

look for “Settings for handling bounces” section

01 $message_envelope = 'hawking@localhost';
02 $bounce_protocol = 'mbox';
03
04 define ("MANUALLY_PROCESS_BOUNCES",1);
05 $bounce_mailbox_port = "110/pop3/notls";
06
07 # when the protocol is pop, specify these three
08 $bounce_mailbox_host = 'localhost';
09 $bounce_mailbox_user = 'askwan@localhost';
10 $bounce_mailbox_password = 'askwan.com';
11 $bounce_unsubscribe_threshold = 3;

then save it .

now, install exim4 and dovecot

1 apt-get install exim4 exim4-base exim4-config dovecot-common dovecot-pop3d

configure exim4 and dovecot.conf

1 protocols = pop3
2
3 disable_plaintext_auth = no
4
5 ssl_disable = yes
6 mail_location = mbox:~/mail:INBOX=/var/mail/%u

last, restart dovecot and exim4

then you can use foxmail receive email from you phplist host that have bounced !

Immediately Article

This entry was posted in Linux, php. Bookmark the permalink.

Leave a Reply