Skip to content
  • Hugh Davenport's avatar
    Add cron job to poll an imap mailbox for bounces · ed5e91ab
    Hugh Davenport authored
    Bug #993018
    
    Checks an imap mailbox, assumes that you have set up a
    seperate mailbox for recieving the mailbounces.
    
    To enable this change, the php imap extension must be loaded
    
    This uses 9b9b2a5c
    
     for the
    mail bounce checking. It also adds a few extra config.php
    settings that need to be set for this cronjob to work.
    
    The config settings that need to be set are:
    $cfg->bounces_handle = true
    $cfg->bouncedomain
    $cfg->imapserver
    
    There are also some other options shown in lib/config-defaults.php
    for power users.
    
    By default, email will only be disabled when more than 4 bounces
    have been received, and the ratio between bounces and emails sent
    to the user is above 0.2
    
    Change-Id: I0bbc4cae26fd5284e4cbdc25b01ea4b566dd045a
    Signed-off-by: default avatarHugh Davenport <hugh@catalyst.net.nz>
    ed5e91ab