From: Alan Knowles Date: Wed, 6 Apr 2011 15:52:50 +0000 (+0800) Subject: NotifySend.php X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=0328504476ba8d25446cdbf1e9dcc30175646ac5;p=Pman.Core NotifySend.php --- diff --git a/NotifySend.php b/NotifySend.php index 045d7008..47c66683 100644 --- a/NotifySend.php +++ b/NotifySend.php @@ -101,7 +101,8 @@ class Pman_Core_NotifySend extends Pman if ($code < 0) { continue; // try next mx... ??? should we wait??? - nope we did not even connect.. } - if ($code == 451) { + // give up after 2 days.. + if ($code == 451 || $next_try_min > (2*24*60)) { // try again later.. // check last event for this item.. $this->addEvent('NOTIFY', $w, 'GREYLISTED');