--- a/src/post.c
+++ b/src/post.c
@@ -870,7 +870,9 @@ check_article_to_be_posted(
 			my_fprintf(stderr, _(txt_error_sender_in_header_not_allowed), cnt);
 			my_fflush(stderr);
 			EndInverse();
+#ifdef NOT_DEBIAN
 			errors++;
+#endif
 		}
 #endif /* !FORGERY */
 
@@ -967,7 +969,9 @@ check_article_to_be_posted(
 				my_fflush(stderr);
 				EndInverse();
 #ifndef FORGERY
+#ifdef NOT_DEBIAN
 				errors++;
+#endif
 #endif /* !FORGERY */
 			}
 			if (damaged_id(cp))
