- my $url = $dst->{url};
- if (defined $url) {
- $simple->header_set("List-Archive", "<$url>");
- $simple->header_set("List-Help", "<${url}help>");
+ $simple->header_set("List-Id", "<$pa>"); # RFC2919
+
+ # remove Delivered-To: prevent training loops
+ # The rest are taken from Mailman 2.1.15, some may be used for phishing
+ foreach my $h (qw(delivered-to approved approve x-approved x-approve
+ urgent return-receipt-to disposition-notification-to
+ x-confirm-reading-to x-pmrqc)) {
+ $simple->header_set($h);