* [PATCH 0/2] examples/unsubscribe.milter updates
@ 2020-01-10 22:55 7% Eric Wong
2020-01-10 22:55 6% ` [PATCH 1/2] examples/unsubscribe.milter: skip gmane-mx Eric Wong
0 siblings, 1 reply; 2+ results
From: Eric Wong @ 2020-01-10 22:55 UTC (permalink / raw)
To: meta
It's been a while since I've done anything with this, but
gmane is getting a new domain and I encountered a user
whose MUA favored mailto: in List-Unsubscribe rather than
https://
Eric Wong (2):
examples/unsubscribe.milter: skip gmane-mx
examples/unsubscribe.milter: support unique mailto:
examples/unsubscribe-milter@.service | 6 +++++
examples/unsubscribe.milter | 37 +++++++++++++++++++++++++++-
2 files changed, 42 insertions(+), 1 deletion(-)
^ permalink raw reply [relevance 7%]
* [PATCH 1/2] examples/unsubscribe.milter: skip gmane-mx
2020-01-10 22:55 7% [PATCH 0/2] examples/unsubscribe.milter updates Eric Wong
@ 2020-01-10 22:55 6% ` Eric Wong
0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2020-01-10 22:55 UTC (permalink / raw)
To: meta
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/
---
examples/unsubscribe.milter | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
}
^ permalink raw reply related [relevance 6%]
Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2020-01-10 22:55 7% [PATCH 0/2] examples/unsubscribe.milter updates Eric Wong
2020-01-10 22:55 6% ` [PATCH 1/2] examples/unsubscribe.milter: skip gmane-mx Eric Wong
Code repositories for project(s) associated with this public inbox
https://80x24.org/public-inbox.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).