pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/majordomo When the approve script processes a lis...
details: https://anonhg.NetBSD.org/pkgsrc/rev/991265f4a28a
branches: trunk
changeset: 497268:991265f4a28a
user: he <he%pkgsrc.org@localhost>
date: Sat Jul 23 14:44:39 2005 +0000
description:
When the approve script processes a list bounce, remove any
"Delivered-To:" header pointing to the list so that if postfix is
involved in the message delivery, it will not think the message is
looping.
Idea and patch from cjs@
diffstat:
mail/majordomo/distinfo | 3 ++-
mail/majordomo/patches/patch-am | 16 ++++++++++++++++
2 files changed, 18 insertions(+), 1 deletions(-)
diffs (34 lines):
diff -r 8d15846dc9d5 -r 991265f4a28a mail/majordomo/distinfo
--- a/mail/majordomo/distinfo Sat Jul 23 11:37:08 2005 +0000
+++ b/mail/majordomo/distinfo Sat Jul 23 14:44:39 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2005/02/24 09:59:24 agc Exp $
+$NetBSD: distinfo,v 1.4 2005/07/23 14:44:39 he Exp $
SHA1 (majordomo-1.94.5.tgz) = 44b18c7b9133f2cd992f6e718551d613d9d45c00
RMD160 (majordomo-1.94.5.tgz) = 7f6b48fb5cc5b23948133658b055588d0d6608c4
@@ -15,3 +15,4 @@
SHA1 (patch-aj) = 6d4fe712af39cb986c24d0227f86aacb6d048870
SHA1 (patch-ak) = 401da2e552ff92ef35a60e45d6b8994dfd091b49
SHA1 (patch-al) = 776088c5916b1b0516e8abaecd69870ba57f4a76
+SHA1 (patch-am) = bbdc7c4d650c99e182bac2ae50ccd82f111c7bcc
diff -r 8d15846dc9d5 -r 991265f4a28a mail/majordomo/patches/patch-am
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/majordomo/patches/patch-am Sat Jul 23 14:44:39 2005 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-am,v 1.1 2005/07/23 14:44:39 he Exp $
+
+--- approve.orig 1997-04-05 21:18:36.000000000 +0200
++++ approve
+@@ -214,6 +214,11 @@ sub process_bounce {
+ $from_skipped = 1;
+ next;
+ }
++ if (/^delivered-to: $post_to/i) {
++ # Remove Delivered-To: lines that point to the list, since they
++ # will cause postfix to think that the message is looping.
++ next;
++ }
+ s/^~/~~/;
+ print MAIL $_;
+ }
Home |
Main Index |
Thread Index |
Old Index