diff options
author | Eric Wong <e@yhbt.net> | 2020-01-10 22:55:29 +0000 |
---|---|---|
committer | Eric Wong <e@yhbt.net> | 2020-01-12 21:27:50 +0000 |
commit | da0eeb321433b70819dd417afcaf1ac86e1da5df (patch) | |
tree | e41358ca6366ddcde592be2d7666a0d62f4cdef7 /examples/unsubscribe.milter | |
parent | 195c40c82e77c73e171f75529b80c7561565d512 (diff) | |
download | public-inbox-da0eeb321433b70819dd417afcaf1ac86e1da5df.tar.gz |
Mail to gmane is being delivered to gmane-mx.org, nowadays, and we don't want ordinary readers to be able to trigger unconfirmed unsubscription off any mailing lists which go through our unsubscribe.milter. https://lars.ingebrigtsen.no/2020/01/06/whatever-happened-to-news-gmane-org/
Diffstat (limited to 'examples/unsubscribe.milter')
-rw-r--r-- | examples/unsubscribe.milter | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/unsubscribe.milter b/examples/unsubscribe.milter index d6db766a..f7bf6f1d 100644 --- a/examples/unsubscribe.milter +++ b/examples/unsubscribe.milter @@ -75,7 +75,7 @@ $cbs{header} = sub { # We don't want people unsubscribing archivers: sub archive_addr { my ($addr) = @_; - return 1 if ($addr =~ /\@m\.gmane\.org\z/); + return 1 if ($addr =~ /\@m\.gmane(?:-mx)?\.org\z/); return 1 if ($addr eq 'archive@mail-archive.com'); 0 } |