On cze 22, Imre Jonk wrote:
> - Refresh of the Mailman role - done! You probably are reading
this on
> the new Mailman 3 instance that manages DebOps mailing lists.
> Unfortunately, changes in the application broke some of the mailing
> list URLs referenced in older e-mail messages, but hopefully the new
> search functionality can mitigate this.
We solved that by copying the old list archive to our new Mailman 3
webroot and putting a notice in the archive index with a link to the new
archive. See
https://lists.ciphermail.com/pipermail/users/
Also redirects like these might be useful:
location /mailman/listinfo {
return 301 /postorius/lists/;
}
Sounds like a good idea. I added the necessary configuration to the 'mailman'
role, will backport it as well to stable-2.1 branch.
location ~* ^\/mailman\/listinfo\/([a-z]*) {
return 301 /postorius/lists/$1.lists.ciphermail.com/;
}
I was not able to make this work - when I opened an URL like:
https://lists.debops.org/mailman/listinfo/debops-users
Server redirected me to:
https://lists.debops.org/postorius/lists/debops.lists.debops.org/
And it should have been:
https://lists.debops.org/postorius/lists/debops-users.lists.debops.org/
Any ideas on how to make this redirect work?
Cheers,
Maciej