Hi! At least one problem is solved now:
Am Mon, Dec 08, 2003 at 08:51:47PM +0100, Axel Beckert schrieb: > > The new ones look just like this: > > > > | confirm xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx > > > > Is it easily possible to customize this subject to be a little bit > > more understandable for a non-english speaking, non-technical > > audience, e.g. by a descriptive prefix in the configured language? Or > > do I need to patch Mailman and/or create new locales? > > Default.py suggests to use VERP_CONFIRMATIONS: > > # For nicer confirmation emails, use a VERP-like format which encodes the > # confirmation cookie in the reply address. This lets us put a more user > # friendly Subject: on the message, but requires cooperation from the MTA. > # Format is like VERP_FORMAT above, but with the following substitutions: > > But doing an "find Mailman -type f -print0 | xargs -0 fgrep > VERP_CONFIRMATIONS" shows that this feature only seems to be > implemented for invitations. This patch works for me at least for a few short tests: > diff -C3 MailList.py.backup MailList.py *** MailList.py.backup Mon Dec 8 21:04:18 2003 --- MailList.py Mon Dec 8 21:52:30 2003 *************** *** 836,843 **** text=text, lang=lang) # BAW: See ChangeMemberAddress() for why we do it this way... del msg['subject'] ! msg['Subject'] = 'confirm ' + cookie ! msg['Reply-To'] = self.GetRequestEmail() msg.send(self) who = formataddr((name, email)) syslog('subscribe', '%s: pending %s %s', --- 836,847 ---- text=text, lang=lang) # BAW: See ChangeMemberAddress() for why we do it this way... del msg['subject'] ! if mm_cfg.VERP_CONFIRMATIONS: ! msg['Subject'] = 'Please confirm your subscription' ! msg['Reply-To'] = self.GetConfirmEmail(cookie) ! else: ! msg['Subject'] = 'confirm ' + cookie ! msg['Reply-To'] = self.GetRequestEmail() msg.send(self) who = formataddr((name, email)) syslog('subscribe', '%s: pending %s %s', Next challenge (for me as a really bloody Python newbie who is used to hack Perl :) is to get the subject out of the locales. HTH. Kind regards, Axel Beckert -- ------------------------------------------------------------- Axel Beckert ecos electronic communication services gmbh it security solutions * dynamic web applications * consulting Mail: Tulpenstrasse 5 D-55276 Dienheim near Mainz E-Mail: [EMAIL PROTECTED] Voice: +49 6133 939-220 WWW: http://www.ecos.de/ Fax: +49 6133 939-333 ------------------------------------------------------------- ------------------------------------------------------ Mailman-Users mailing list [EMAIL PROTECTED] 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/ This message was sent to: [EMAIL PROTECTED] Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org