about summary refs log tree commit homepage
path: root/t/nntpd.t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2017-06-26 03:05:39 +0000
committerEric Wong <e@80x24.org>2017-06-26 03:07:46 +0000
commit23d896234f3eb5e579de2e8ddf3c723654862ade (patch)
treefd7812a146f847bae43139ccceb1ee5e35dc72d9 /t/nntpd.t
parentdfdaf74a2ab6d694315d8f636e3771a7a7934f3f (diff)
downloadpublic-inbox-23d896234f3eb5e579de2e8ddf3c723654862ade.tar.gz
Oops, due to an old mistake , List-ID was set incorrectly
in the MDA.  This could cause some breakage w.r.t. mail filters.
Diffstat (limited to 't/nntpd.t')
-rw-r--r--t/nntpd.t4
1 files changed, 3 insertions, 1 deletions
diff --git a/t/nntpd.t b/t/nntpd.t
index ad50a64f..2ccc90fb 100644
--- a/t/nntpd.t
+++ b/t/nntpd.t
@@ -62,7 +62,9 @@ Content-Transfer-Encoding: 8bit
 
 This is a test message for El\xc3\xa9anor
 EOF
-                $mime->header_set('List-Id', "<$addr>");
+                my $list_id = $addr;
+                $list_id =~ s/@/./;
+                $mime->header_set('List-Id', "<$list_id>");
                 $len = length($mime->as_string);
                 my $git = PublicInbox::Git->new($maindir);
                 my $im = PublicInbox::Import->new($git, 'test', $addr);