diff options
Diffstat (limited to 'mail/postfix27')
-rw-r--r-- | mail/postfix27/Makefile | 1 | ||||
-rw-r--r-- | mail/postfix27/files/patch-src::cleanup_message.c | 24 |
2 files changed, 25 insertions, 0 deletions
diff --git a/mail/postfix27/Makefile b/mail/postfix27/Makefile index 0191ec4..9a23d6b 100644 --- a/mail/postfix27/Makefile +++ b/mail/postfix27/Makefile @@ -7,6 +7,7 @@ PORTNAME= postfix PORTVERSION= 20010228.8 +PORTREVISION= 1 CATEGORIES= mail ipv6 MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/official/ \ ftp://ftp.aet.tu-cottbus.de/pub/postfix_tls/%SUBDIR%/ \ diff --git a/mail/postfix27/files/patch-src::cleanup_message.c b/mail/postfix27/files/patch-src::cleanup_message.c new file mode 100644 index 0000000..9136591 --- /dev/null +++ b/mail/postfix27/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"); + } + } + } |