-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sympa 6.2.74 no longer seems to support LISTNAME-request aliases to contact the list owners #1927
Comments
We do use:
I don't see how that would be relevant, but it seems sensible to mention. |
Seems to be a duplicate of #1922, but using Exim rather than Postfix. The Exim configuration hasn't changed, and it is definitely sending messages to Sympa using the Exim sympa_queue transport: /usr/libexec/sympa/queue ${local_part_data}${local_part_suffix}@lists.cam.ac.uk which in this case will expand to: /usr/libexec/sympa/queue [email protected] "-request" will be stripped off as ${local_part_suffix} by the Exim router, and glued back on by the transport. |
The following sends a message to my test list: $ echo -e "From: [email protected]\nSubject: Test Message\nMessage-ID: foo" | /usr/libexec/sympa/queue [email protected] While the following (-request version of the same list): $ echo -e "From: [email protected]\nSubject: Test Message\nMessage-ID: foo" | /usr/libexec/sympa/queue [email protected] generates: "Jan 22 19:37:38 lists-2 sympa_msg[2224]: err main::#246 > Sympa::Spindle::spin#83 > Sympa::Spindle::ProcessIncoming::_twist#246 List test-dpc22-request does not exist" |
I downgraded my test server to 6.2.72. With "log_level 9" I see:
compared to:
so it looks like the messages are just not being directed to Sympa::Spindle::DoForward::_twist() at all. It gets as far as Sympa::Message::smime_decrypt() but doesn't reach Sympa::Message::check_virus_infection() |
[email protected] is also broken in 6.2.74. (However people are still receiving moderation information generated internally within Sympa) |
The problem is something to do with /usr/share/sympa/lib/Sympa/Spool.pm : split_listname():
"$return_path_suffix" is a string. "$regexp" is an array, and that obviously isn't going to work as a regexp. |
reports that Conf::get_robot_conf($robot_id, 'list_check_suffixes') is:
and that gets turned into:
|
sympa-6.2.74/src/lib/Conf.pm has
If I remove that clause, my debug syslog clause in Spool.pm : split_listname() reports a more sensible value for "$regexp":
However all of the Sympa processes immediately throw SIGTERM, so there was obviously some reason for this change. |
The obvious workaround is to manually set $regexp in/usr/share/sympa/lib/Sympa/Spool.pm : split_listname(), replacing the broken value. I can confirm that works on a test system.
|
The attached also seems to work, and I suspect is a more "correct" solution.
$sfxs was stolen from /usr/share/sympa/lib/Sympa/Aliases.pm |
Version
6.2.74
Installation method
My own rpm, derived from the "official" rpm for RHEL 9.
Expected behavior
Email sent to LISTNAME-request should be sent to the owners of a given list.
That is the address advertised on the list info landing page, for example:
https://lists.cam.ac.uk/sympa/info/test-dpc22
"Contact owners" is mailto:[email protected]
and this is repeated on https://www.sympa.community/manual/customize/basics-addresses.html
"list [email protected]
The address to contact the list owners. Messages sent to this address will be forwarded to the people designated as list owners according to list configuration."
Actual behavior
Attempts to email [email protected] generate a bounce message with:
The sympa logs tell me:
"Jan 22 18:22:27 lists-1 sympa_msg[6028]: err main::#246 > Sympa::Spindle::spin#83 > Sympa::Spindle::ProcessIncoming::_twist#246 List test-dpc22-request does not exist"
Additional information
We upgraded from Sympa 6.2.72 to Sympa 6.2.74 this morning. LISTNAME-request was working before the upgrade.
The Exim configuration has not been changed. That still believes that LISTNAME-request is a valid email address if a LISTNAME is a list on the system:
Sympa itself is the component which is rejecting the address with:
"Jan 22 18:22:27 lists-1 sympa_msg[6028]: err main::#246 > Sympa::Spindle::spin#83 > Sympa::Spindle::ProcessIncoming::_twist#246 List test-dpc22-request does not exist"
The text was updated successfully, but these errors were encountered: