|
@@ 208-214 (lines=7) @@
|
| 205 |
|
* sample: |
| 206 |
|
* <[email protected]>: |
| 207 |
|
* Unable to switch to /var/vpopmail/domains/domain.com: input/output error. (#4.3.0) |
| 208 |
|
*/ elseif (preg_match("/<(\S+@\S+\w)>.*\n?.*input\/output error/i", $body, $match)) { |
| 209 |
|
$result['rule_cat'] = 'internal_error'; |
| 210 |
|
$result['rule_no'] = '0172'; |
| 211 |
|
$result['bounce_type'] = 'hard'; |
| 212 |
|
$result['remove'] = 1; |
| 213 |
|
$result['email'] = $match[1]; |
| 214 |
|
} /* |
| 215 |
|
* rule: internal_error |
| 216 |
|
* sample: |
| 217 |
|
* <[email protected]>: |
|
@@ 219-225 (lines=7) @@
|
| 216 |
|
* sample: |
| 217 |
|
* <[email protected]>: |
| 218 |
|
* can not open new email file errno=13 file=/home/vpopmail/domains/fromc.com/0/domain/Maildir/tmp/1155254417.28358.mx05,S=212350 |
| 219 |
|
*/ elseif (preg_match("/<(\S+@\S+\w)>.*\n?.*can not open new email file/i", $body, $match)) { |
| 220 |
|
$result['rule_cat'] = 'internal_error'; |
| 221 |
|
$result['rule_no'] = '0173'; |
| 222 |
|
$result['bounce_type'] = 'hard'; |
| 223 |
|
$result['remove'] = 1; |
| 224 |
|
$result['email'] = $match[1]; |
| 225 |
|
} /* |
| 226 |
|
* rule: mailbox unknown; |
| 227 |
|
* sample: |
| 228 |
|
* ????????????????: |
|
@@ 418-424 (lines=7) @@
|
| 415 |
|
} /* |
| 416 |
|
* rule: too many recipients |
| 417 |
|
* <[email protected]>: .... said: 553 sorry, too many recipients..... |
| 418 |
|
*/ elseif (preg_match("/<(\S+@\S+\w)>.*553 sorry, too many recipients/i", $body, $match)) { |
| 419 |
|
$result['rule_cat'] = 'other'; |
| 420 |
|
$result['rule_no'] = '0311'; |
| 421 |
|
$result['bounce_type'] = 'soft'; |
| 422 |
|
$result['remove'] = 2; |
| 423 |
|
$result['email'] = $match[1]; |
| 424 |
|
} |
| 425 |
|
|
| 426 |
|
global $rule_categories, $bmh_newline; |
| 427 |
|
if ('0000' == $result['rule_no']) { |