From 2998925e315acfd8799421d06d0590798b3076ff Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 5 May 2014 08:39:14 +0000 Subject: mda: attempt to prevent training loops --- lib/PublicInbox/MDA.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/PublicInbox/MDA.pm') diff --git a/lib/PublicInbox/MDA.pm b/lib/PublicInbox/MDA.pm index e2b2f914..d2ce79eb 100644 --- a/lib/PublicInbox/MDA.pm +++ b/lib/PublicInbox/MDA.pm @@ -65,6 +65,9 @@ sub set_list_headers { $simple->header_set("List-Id", $pa); $simple->header_set("List-Post", $pa); + # prevent training loops + $simple->header_set('Delivered-To'); + my $url = $dst->{url}; if (defined $url) { $simple->header_set("List-Archive", "<$url>"); -- cgit v1.2.3-24-ge0c7