@@ -44,12 +44,12 @@
fi
--- user.c.orig 2009-02-21 13:31:24.000000000 +0100
-+++ user.c 2009-02-21 16:55:41.000000000 +0100
-@@ -466,6 +466,15 @@
- fprintf(fs, "%s\n", SPAM_COMMAND);
++++ user.c 2009-02-21 17:41:46.000000000 +0100
+@@ -467,6 +467,16 @@
#endif
fclose(fs);
-+ } else {
+ }
++ if(strcmp(spamvalue, "off") == 0) {
+ snprintf(NewBuf, sizeof(NewBuf), "%s/.qmail", mypw->pw_dir);
+ fs = fopen(NewBuf, "w+");
+#ifdef MODIFY_SPAM_NEED_EMAIL
@@ -58,10 +58,11 @@
+ fprintf(fs, "%s\n", NOSPAM_COMMAND);
+#endif
+ fclose(fs);
- }
++ }
#endif
-@@ -884,7 +893,8 @@
+ /* report success */
+@@ -884,7 +894,8 @@
if ( (*dotqmailline == '|') &&
(strstr (dotqmailline, "/true delete") == NULL) &&
(strstr (dotqmailline, "/autorespond ") == NULL) &&
|