sympa-community / sympa

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

personalization_feature on and unexpected behavior when sending #1807

Closed morenonardelliunitn closed 3 months ago

morenonardelliunitn commented 4 months ago

We have implemented the "personalization feature" option on some of our lists that have a large number of recipients (more than 30,000 users). Unlike other lists that have the same number of recipients but do not have this configuration, we note that the "personalization_feature" option causes emails to be processed differently from sendmail. Although the "maxsmtp" options with value 40 and nrcpt with value 25 have been configured in the /etc/sympa/sympa.conf file, the emails processed by these lists are sent individually. Therefore one email for each sendmail call, while the lists that do not have the "" option configured follow the correct configurations by sending packets of 25 email addresses per sendmail call. Is this an expected behavior of sympa or are there additional configurations that we have not implemented?

Processing a single email per sendmail call affects the performance of the server machine which has to manage a very high CPU load (the server is a virtual machine with 4 CPUs and 16 GB of RAM)

Version

6.2.72

Installation method

Sympa is installed with rpm package on RHEL 8.7

gavyounger commented 4 months ago

Surely this is expected behaviour.

With message personalisation switched on for a list, each and every message will be different in some way, thereby requiring a distinct call to the MTA?

morenonardelliunitn commented 4 months ago

Thanks @gavyounger for the answer. Regarding this, I would like to ask you something else. Is there a configuration other than enabling the "personalization feature" option to have Sympa add the "List-Unsubscribe-Post: List-Unsubscribe=One-Click" field to the header of outgoing emails?

Thanks in advanced

ikedas commented 4 months ago

Hi @morenonardelliunitn ,

Is there a configuration other than enabling the "personalization feature" option to have Sympa add the "List-Unsubscribe-Post: List-Unsubscribe=One-Click" field to the header of outgoing emails?

If one-click unsubscribing feature has to be enabled, each and every message must have the List-Unsubscribe field with different value by each recipient. That's why one-click feature may be enabled if and only if the personalization feature is enabled.

morenonardelliunitn commented 4 months ago

Hi @ikedas

If one-click unsubscribing feature have to be enabled, each and every message must have the List-Unsubscribe field with different value by each rec ipient. That's why one-click feature may be enabled if and only if the personalization feature is enabled.

Thanks for the reply and the explanation of the behavior of the system.

ikedas commented 3 months ago

There seem no more questions. Close.