sympa-community / sympa

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

[scenario] How to limit the number of email address when responding to a list #1578

Closed PgAuffret closed 1 year ago

PgAuffret commented 1 year ago

Version:

6.2.40 via Debian apt

Question

I have looked at the documentation but did not find any answer. Some list members are using their email client to spread messages from one particular list to another. To do so they add some list email addresses to the 'To', 'Cc' or 'Bcc' fields, when answering to a list message. So, is there any way to prevent users to add more than n lists when responding to a list? For instance :

From: list1@lists To: list2@lists, list3@lists Cc: list4@lists Bcc: list5@lists, ...

ikedas commented 1 year ago

Hi @PgAuffret ,

I think it is impossible to limit the number of recipients by any funtion of Sympa, e.g. the scenarios. Even if it was possible, that is inadequate because there is no way to know the BCC addresses.

PgAuffret commented 1 year ago

Hello @ikedas, Thank you for your answer. I was hoping it would be possible to write something like less_than([number_of_email_address_per_field],'1') smtp,smime,md5 -> do_it. However, as you said, 'To', 'CC' nor ' 'Bcc' variables seem to exist. There is a reference to is_bcc variable. But obviously it is not meant to test the content of the field.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.