From 8dc8b69c617550dc1a352861aee1eeca979c8317 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 8 May 2014 02:19:00 +0000 Subject: mda: drop RFC2369 support for now That should be use down stream by delivery agents. --- lib/PublicInbox/MDA.pm | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'lib/PublicInbox/MDA.pm') diff --git a/lib/PublicInbox/MDA.pm b/lib/PublicInbox/MDA.pm index d2ce79eb..6a984b81 100644 --- a/lib/PublicInbox/MDA.pm +++ b/lib/PublicInbox/MDA.pm @@ -58,21 +58,14 @@ sub alias_specified { return 0; } -# RFC2919 and RFC2369 +# RFC2919 sub set_list_headers { my ($class, $simple, $dst) = @_; - my $pa = "<$dst->{-primary_address}>"; - $simple->header_set("List-Id", $pa); - $simple->header_set("List-Post", $pa); + my $pa = $dst->{-primary_address}; + $simple->header_set("List-Id", "<$pa>"); # prevent training loops $simple->header_set('Delivered-To'); - - my $url = $dst->{url}; - if (defined $url) { - $simple->header_set("List-Archive", "<$url>"); - $simple->header_set("List-Help", "<${url}help>"); - } } # returns a 3-element array: name, email, date -- cgit v1.2.3-24-ge0c7