I think there is a bug in b11 when a user elects NOT to receive copies of posts. See the traceback below for details:
The original message was received at Thu, 15 Apr 1999 12:27:07 -0400 from a.list.users.mail.server [111.222.333.444]
----- The following addresses had permanent fatal errors ----- "|/home/mailman/mail/wrapper post nortel-list" (expanded from: <list-name@tgrace.com>)
----- Transcript of session follows ----- Traceback (innermost last): File "/home/mailman/scripts/post", line 73, in ? current_list.Post(msg, approved=fromusenet) File "/home/mailman/Mailman/MailList.py", line 1236, in Post recipients.remove(self.GetUserSubscribedAddress(sender)) ValueError: list.remove(x): x not in list 554 "|/home/mailman/mail/wrapper post list-name"... unknown mailer error 1
"TG" == Terry Grace <tgrace@tgrace.com> writes:
TG> I think there is a bug in b11 when a user elects NOT to
TG> receive copies of posts.
...and delivery to the user is disabled (and the user is the sender of the message). Here's the patch I'm going to check in.
-Barry
Index: MailList.py
RCS file: /projects/cvsroot/mailman/Mailman/MailList.py,v retrieving revision 1.119 diff -c -r1.119 MailList.py *** MailList.py 1999/04/16 02:31:22 1.119 --- MailList.py 1999/04/16 02:46:51
*** 1232,1238 **** if not self.GetUserOption(m, mm_cfg.DisableDelivery): recipients.append(m) if dont_send_to_sender: ! recipients.remove(self.GetUserSubscribedAddress(sender)) self.LogMsg("post", "post to %s from %s size=%d", self._internal_name, msg.GetSender(), len(msg.body)) self.DeliverToList(msg, recipients, --- 1232,1244 ---- if not self.GetUserOption(m, mm_cfg.DisableDelivery): recipients.append(m) if dont_send_to_sender: ! try: ! recipients.remove(self.GetUserSubscribedAddress(sender)) ! except ValueError: ! # sender does not want to get copies of their own messages ! # (not metoo), but delivery to their address is disabled ! # (nomail) ! pass self.LogMsg("post", "post to %s from %s size=%d", self._internal_name, msg.GetSender(), len(msg.body)) self.DeliverToList(msg, recipients,
participants (2)
-
Barry A. Warsaw -
Terry Grace