git-svn: trunk@2327
Nigel Horne authored on 2006/09/28 06:31:43... | ... |
@@ -1,3 +1,7 @@ |
1 |
+Wed Sep 27 22:30:41 BST 2006 (njh) |
|
2 |
+---------------------------------- |
|
3 |
+ * clamav-milter: --report would cause phishes to pass through tagged |
|
4 |
+ |
|
1 | 5 |
Wed Sep 27 20:24:26 BST 2006 (njh) |
2 | 6 |
---------------------------------- |
3 | 7 |
* libclamav/mbox.c: CL_EXPERIMENTAL: No longer uses curl, or falls back to |
... | ... |
@@ -23,7 +23,7 @@ |
23 | 23 |
* |
24 | 24 |
* For installation instructions see the file INSTALL that came with this file |
25 | 25 |
*/ |
26 |
-static char const rcsid[] = "$Id: clamav-milter.c,v 1.288 2006/09/27 16:38:39 njh Exp $"; |
|
26 |
+static char const rcsid[] = "$Id: clamav-milter.c,v 1.289 2006/09/27 21:30:17 njh Exp $"; |
|
27 | 27 |
|
28 | 28 |
#define CM_VERSION "devel-270906" |
29 | 29 |
|
... | ... |
@@ -3532,6 +3532,10 @@ clamfi_eom(SMFICTX *ctx) |
3532 | 3532 |
|
3533 | 3533 |
logg("Redirected phish to %s\n", report); |
3534 | 3534 |
} |
3535 |
+ if((!rejectmail) || privdata->discard) |
|
3536 |
+ rc = SMFIS_DISCARD; |
|
3537 |
+ else |
|
3538 |
+ rc = SMFIS_REJECT; |
|
3535 | 3539 |
} else if(quarantine) { |
3536 | 3540 |
for(to = privdata->to; *to; to++) { |
3537 | 3541 |
smfi_delrcpt(ctx, *to); |