--- a/src/post.c
+++ b/src/post.c
@@ -1446,7 +1446,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 */
@@ -1509,7 +1511,9 @@ check_article_to_be_posted(
 				EndInverse();
 				my_fflush(stderr);
 #ifndef FORGERY
+#ifdef NOT_DEBIAN
 				++errors;
+#endif
 #endif /* !FORGERY */
 			}
 			cp2 = my_strdup(hp);
