sympa icon indicating copy to clipboard operation
sympa copied to clipboard

delivery notification to sender for moderated mailing lists

Open Salo15 opened this issue 4 years ago • 7 comments

In a moderated mailing list, when an email is confirmed via the Web page, no delivery notification is sent to the sender. When a mail is released by clicking on the link in the moderation mail, a delivery notification is sent to the sender.

Version

6.2.16

Installation method

Debian Package

Expected behavior

When an e-mail is confirmed via the website a Delivery Notification should also be sent.

Actual behavior

In this case, the sender is not notified that his e-mail was sent via the list.

Additional information

After releasing a mail via the website, I see an entry in the log that looks something like this: ... sympa_msg[1756]: notice Sympa::Request::Message::__parse() Parsing: QUIET DISTRIBUTE listname b49a958147967afxxxxxxxxxxxxxxxxxxx

So the command "distribute" is called with a "Quiet" in front of it. At what point do I have to change something so that when releasing a mail via the website the command "distribute" is executed without "quiet" and thus a response is sent to the sender?

We have moderators who deliberately moderate their mailing list via the website. They would like to keep this procedure and they still want a delivery notification to be sent to the sender.

Salo15 avatar Jun 25 '20 08:06 Salo15

Even on recent version (6.2.56) "quiet" option is hardcoded in web interface. So I added "enhancement" tag to note that improvement is requested.

ikedas avatar Jun 25 '20 12:06 ikedas

Thanks for your quick response. Is there a possibility that we ourselves change the corresponding line in the code so that a delivery notification is also sent to the sender when mail is released via the website?

Salo15 avatar Jun 29 '20 13:06 Salo15

On 6.2.16, I think this change may enable notification always:

diff --git a/src/cgi/wwsympa.fcgi.in b/src/cgi/wwsympa.fcgi.in
index 810917d..87e173b 100644
--- a/src/cgi/wwsympa.fcgi.in
+++ b/src/cgi/wwsympa.fcgi.in
@@ -8970,7 +8970,7 @@ sub do_distribute {
             next;
         }
         push @mail_command,
-            sprintf('QUIET DISTRIBUTE %s %s', $list->{'name'}, $id);
+            sprintf('DISTRIBUTE %s %s', $list->{'name'}, $id);

         # TAG
         if ($list_topics) {

ikedas avatar Jul 01 '20 01:07 ikedas

Thank you very much. That helps for the moment and it would be great if that would be implemented in future versions.

Salo15 avatar Jul 08 '20 11:07 Salo15

I have a user that has just noticed this discrepancy between web interface and email moderation, it seems it is still present in latest release 6.2.64. It would be great if this could be corrected!

laerm avatar Sep 14 '21 05:09 laerm

Still present in 6.2.70. Is it planned to add this change into the main release?

laerm avatar Dec 14 '22 07:12 laerm

@ikedas still not in the latest release 6.2.72. Could this be added to the next release? It's a bit annoying having to manually fix the code after each upgrade. Thanks for your tireless work.

laerm avatar Jun 01 '23 14:06 laerm