@@ -44,7 +44,7 @@
fi
--- user.c.orig 2009-02-21 13:31:24.000000000 +0100
-+++ user.c 2009-02-21 17:41:46.000000000 +0100
++++ user.c 2009-02-21 18:43:20.000000000 +0100
@@ -467,6 +467,16 @@
#endif
fclose(fs);
@@ -72,3 +72,17 @@
fprintf (fs, "%s\n", dotqmailline);
emptydotqmail = 0;
}
+@@ -948,6 +959,13 @@
+ fprintf (fs, "%s\n", SPAM_COMMAND);
+ #endif
+ emptydotqmail = 0;
++ } else if (spam_check == 0) {
++#ifdef MODIFY_SPAM_NEED_EMAIL
++ fprintf(fs, "%s %s@%s\n", NOSPAM_COMMAND, ActionUser, Domain);
++#else
++ fprintf (fs, "%s\n", NOSPAM_COMMAND);
++#endif
++ emptydotqmail = 0;
+ } else {
+ fprintf (fs, "%s/" MAILDIR "/\n", vpw->pw_dir);
+ /* this isn't enough to consider the .qmail file non-empty */
|