From 5b3f5f403144c7dc6e8a6eaf2597566fd7d12ce1 Mon Sep 17 00:00:00 2001 From: pfelt Date: Wed, 21 Nov 2007 08:06:54 +0000 Subject: [PATCH] -- prevents the spam daemon from leaving c* files behind in the spool directory --- src/agents/antispam/antispam.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/agents/antispam/antispam.c b/src/agents/antispam/antispam.c index 8b08b93..006c9b1 100644 --- a/src/agents/antispam/antispam.c +++ b/src/agents/antispam/antispam.c @@ -347,7 +347,8 @@ ProcessConnection(ASpamClient *client) switch (cur[0]) { case QUEUE_FLAGS: { copy = FALSE; - ccode = NMAPSendCommandF(client->conn, "QMOD RAW "QUEUES_FLAGS"%ld\r\n", (msgFlags | MSG_FLAG_SPAM_CHECKED)); + /* this is handled by the QCREA done in spamd.c */ + /* ccode = NMAPSendCommandF(client->conn, "QMOD RAW "QUEUES_FLAGS"%ld\r\n", (msgFlags | MSG_FLAG_SPAM_CHECKED)); */ break; } case QUEUE_FROM: { @@ -388,10 +389,12 @@ ProcessConnection(ASpamClient *client) break; } } - + /* this is handled by the QCREA in spamd.c */ + /* if (copy && (ccode != -1)) { ccode = NMAPSendCommandF(client->conn, "QMOD RAW %s\r\n", cur); } + */ cur = line; if (tmpNull) { /* Restore the local copy of the envelope. */