projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1d8278
)
NotifySend.php
author
Alan Knowles
<alan@akkbhome.com>
Wed, 6 Apr 2011 15:52:50 +0000
(23:52 +0800)
committer
Alan Knowles
<alan@akkbhome.com>
Wed, 6 Apr 2011 15:52:50 +0000
(23:52 +0800)
NotifySend.php
patch
|
blob
|
history
diff --git
a/NotifySend.php
b/NotifySend.php
index
045d700
..
47c6668
100644
(file)
--- 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');