aboutsummaryrefslogtreecommitdiff
path: root/mail/postfix1/files
diff options
context:
space:
mode:
authorDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2001-11-27 15:48:49 +0000
committerDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2001-11-27 15:48:49 +0000
commit6b072f9c01a55f1cfef7e69c949dd217deba96b6 (patch)
tree8a0f175cfe06e2f68984fc258abd62a77fbc1162 /mail/postfix1/files
parent698436c4771c2ce8731b0df1fd7c0c7fd788d951 (diff)
downloadports-6b072f9c01a55f1cfef7e69c949dd217deba96b6.tar.gz
ports-6b072f9c01a55f1cfef7e69c949dd217deba96b6.zip
Notes
Diffstat (limited to 'mail/postfix1/files')
-rw-r--r--mail/postfix1/files/patch-src::cleanup_message.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/mail/postfix1/files/patch-src::cleanup_message.c b/mail/postfix1/files/patch-src::cleanup_message.c
new file mode 100644
index 000000000000..9136591841bf
--- /dev/null
+++ b/mail/postfix1/files/patch-src::cleanup_message.c
@@ -0,0 +1,24 @@
+--- ./src/cleanup/cleanup_message.c.orig Tue Nov 27 16:55:39 2001
++++ ./src/cleanup/cleanup_message.c Tue Nov 27 16:58:43 2001
+@@ -269,6 +269,10 @@
+ state->errs |= CLEANUP_STAT_CONT;
+ } else if (strcasecmp(value, "IGNORE") == 0) {
+ return;
++ } else if (strcasecmp(value, "WARN") == 0) {
++ msg_info("%s: warning: header %.200s; from=<%s> to=<%s>",
++ state->queue_id, header, state->sender,
++ state->recip ? state->recip : "unknown");
+ }
+ }
+ }
+@@ -498,6 +502,10 @@
+ state->errs |= CLEANUP_STAT_CONT;
+ } else if (strcasecmp(value, "IGNORE") == 0) {
+ return;
++ } else if (strcasecmp(value, "WARN") == 0) {
++ msg_info("%s: warning: body %.200s; from=<%s> to=<%s>",
++ state->queue_id, buf, state->sender,
++ state->recip ? state->recip : "unknown");
+ }
+ }
+ }