diff --git a/src/lib-sieve/plugins/date/tst-date.c b/src/lib-sieve/plugins/date/tst-date.c
index e512607ec87ef22ed936da3236a9d81b5c04c8cd..5e1aaad4108202d2243e07ca63195166b9fcfc74 100644
--- a/src/lib-sieve/plugins/date/tst-date.c
+++ b/src/lib-sieve/plugins/date/tst-date.c
@@ -481,8 +481,7 @@ static int tst_date_operation_execute
 				strlen(date_string), &date_value, &original_zone) ) {
 				got_date = TRUE;
 			}
-		} else printf("HEADER %s not found\n", str_c(header_name));
-
+		}
 	} else if ( op == &currentdate_operation ) {
 		/* Use time stamp recorded at the time the script first started */