RFR: 2636: Mailing list names should be an EmailAddress
Erik Joelsson
erikj at openjdk.org
Fri Dec 12 19:15:57 UTC 2025
Further testing of Mailman 3 uncovered a bug in how Skara represents email lists in an email list server. In the configuration it's defined as an email address, but then we cut out the domain part and only store the local part of the email as a String. Later when processing emails, the domain of the mailing list server is implicitly added to form an email address when needed. This has worked so far, because the domain of every mailing list has been the same as the domain of the archive server (openjdk.org), but during testing, we have a mix of mailing list names and test servers where this isn't matching, so we need to handle it correctly.
The fix is to change the type and representation of mailing lists to be an actual EmailAddress. It resolves all the problems from what I can tell. It does create a rather big patch however.
-------------
Commit messages:
- SKARA-2636
Changes: https://git.openjdk.org/skara/pull/1746/files
Webrev: https://webrevs.openjdk.org/?repo=skara&pr=1746&range=00
Issue: https://bugs.openjdk.org/browse/SKARA-2636
Stats: 210 lines in 17 files changed: 11 ins; 12 del; 187 mod
Patch: https://git.openjdk.org/skara/pull/1746.diff
Fetch: git fetch https://git.openjdk.org/skara.git pull/1746/head:pull/1746
PR: https://git.openjdk.org/skara/pull/1746
More information about the skara-dev
mailing list