Henri Brouchoud wrote: > >Except for Outlook which set this subject prefix to "Re : " (note that >in this case the prefix contains two tokens). Outlook express and >Netscape put the rigt prefix "Re: ". After some tests, it seems that any >one-token prefix is accepted ("XXXXX" for instance). >And this is my problem. I would like to modify the code to accept at >least both patterns ("Re : " and "Re: "), but I don't know where the >decoding of the subject is done. I guess it is a regexp ?
As you correctly note, the contents of the Subject: is split into tokens. If the first token is not a command, the next is tried, but that's as far as it goes. The code is in Mailman/Queue/CommandRunner.py around line 134 if not self.subjcmdretried and args: self.subjcmdretried += 1 cmd = args.pop(0) return self.do_command(cmd, args) -- Mark Sapiro <[EMAIL PROTECTED]> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp