Fixed Disabling email does not disable the bounce handler

Neilski

Active member
Affected version
2.2.15
This issue is not necessarily a bug in XF, but I'm reporting here because it has clear potential to catch people by surprise*. (See also discussion in the "How to duplicate a live site to use as a test site" thread.)

In short, when you disable email with $config['enableMail'] = false; in config.php, the email bounce handler cron job will still run.

The obvious (and maybe only?) way this can cause trouble is when you have cloned your site, because the cron job on the clone can compete with the live site to fetch the bounces from the mailbox. If using activity-based cron jobs, and your live site is busy, the clone site is unlikely to win. If the live site is quiet, you may lose bounces. (I don't know how many you'd need to lose before any given email service degrades your reputation though.)

(*Example of apparent confusion/surprise here ;) :P)
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.16).

Change log:
Skip processing email bounces and unsubscribes when email has been disabled in config.php
There may be a delay before changes are rolled out to the XenForo Community.
 
Back
Top Bottom