[Mailman-Users] Subject_postfix?
Jon Carnes
jonc at nc.rr.com
Wed Sep 25 04:30:05 CEST 2002
The only way I can think of is to muck with the source code. It should
be an easy muck though...
Doing a grep of "subject_prefix" brings up some possibilities, and
points in particular to ~mailman/Mailman/Handlers/CookHeaders.py
<...snip>
prefix = mlist.subject_prefix
# we purposefully leave no space b/w prefix and subject!
if not subject:
msg['Subject'] = prefix + '(no subject)'
elif prefix and not re.search(re.escape(prefix), subject, re.I):
msg['Subject'] = prefix + subject
<snip...>
Looks like you could simply reverse the subject and prefix:
"prefix + subject" ==> "subject + prefix"
Have fun!
Jon Carnes
On Tue, 2002-09-24 at 16:51, LuKreme wrote:
> There is an admin setting for subject prefix, is there anyway to easily
> change that to a subject postfix?
>
> So, instead of "Subject: [The List] this is a subject" I'd have
> "Subject: this is a subject [The List]"
>
> I don't want to eliminate the [] because some subscribers have
> primitive mail abilities and only understand filtering on the subject
> of the message and "If subject contains "[The List]" won't break.
>
>
> ------------------------------------------------------
> Mailman-Users mailing list
> Mailman-Users at 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/
More information about the Mailman-Users
mailing list