[Mailman-Users] Mailman still sending command confirmations via e-maili

Ben Swihart ben at graphicbliss.com
Fri Dec 1 18:02:12 CET 2006


My problem is that Mailman is sending "The results of your email 
commands" messages when a subscription is successful and *I do not want 
it to do that* as I have set the send_welcome_msg to Yes and this is 
unfriendly and redundant to the welcome message that goes out to new 
members.

Can you help?

Mark Sapiro <msapiro at value.net> tried to help by sending me a patch.

In my Defaults.py file I added

# Should Mailman send a response to a successful e-mail 'confirm' command?
RESPOND_TO_SUCCESSFUL_CONFIRM = No

And, in cmd_confirm.py I modified a couple lines:

-            (results[0] == Pending.UNSUBSCRIPTION and 
mlist.send_goodbye_msg)):

+            (results[0] == Pending.UNSUBSCRIPTION and 
mlist.send_goodbye_msg)
+            or
+            (not mm_cfg.RESPOND_TO_SUCCESSFUL_CONFIRM)):

--------

Also, Mark said: "The command results should not be sent if a welcome 
will be sent (send_welcome_msg on General Options is Yes) even without 
the patch."

Well, I have set the send_welcome_msg to Yes.  These command result 
e-mails are still going out.

Also, is mailmainctl -s restart the proper way to restart and 
incorporate changes to the code?

Thank you,

Ben


More information about the Mailman-Users mailing list