sympa-community / sympa

Sympa, Mailing List Management Software
https://www.sympa.community/sympa
GNU General Public License v2.0
244 stars 97 forks source link

Allow full sympa list email addresses to be used instead of only the listserv name #1861

Open cosmicspace opened 3 months ago

cosmicspace commented 3 months ago

Expected Behavior

Searching for a sympa listserv with its full email address, such as psych@sympa.montana.edu, should work to find the listserv, but it does not.

Current Behavior

Currently, only listserv name searches will find the listserv but using the listserv's full email address will not find it's corresponding listserv. For example, searching for psych-faculty works normally, while psych-faculty@sympa.montana.edu does not.

Possible Solution

Adding a cleansing statement to remove anything listed the @ symbol and anything after it should be simple enough.

Context

In our workflows, we receive requests sometimes with the full sympa email address listed. Since most browsers make it easy to copy the email address with two clicks, this is a faster approach than to carefully selecting only the listserv name portion before the @ symbol. One could paste in the full email address from the email selection, but once again careful effort must be taken to remove the @tail portion. For one request, this is a trivial matter but when you're working with hundreds of requests, the time taken for detailed removal adds up.

We considered a change the code on our end for this task, but the drawback there is that then whenever an update is released, our changes would be overwritten and would need to be re-entered. So this is less than ideal.