--- a/src/post.c
+++ b/src/post.c
@@ -1431,7 +1431,9 @@ check_article_to_be_posted(
 			my_fprintf(stderr, _(txt_error_sender_in_header_not_allowed), cnt);
 			EndInverse();
 			my_fflush(stderr);
+#ifdef NOT_DEBIAN
 			errors++;
+#endif
 			continue;
 		}
 #endif /* !FORGERY */
@@ -1462,7 +1464,9 @@ check_article_to_be_posted(
 				EndInverse();
 				my_fflush(stderr);
 #ifndef FORGERY
+#ifdef NOT_DEBIAN
 				errors++;
+#endif
 #endif /* !FORGERY */
 			}
 			free(cp2);
