> > > >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) >
I have replaced the test with : if self.subjcmdretried<2 and args: to make it try twice. Now email subscription works with Outlook as well. Another solutions would be to remove any ':' occurrence in the cmd param. Shouldn't this patch be included in mailman source ? Thanks a lot for your help. H ------------------------------------------------------ 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