[Mailman-Users] Configuring Precedence

Todd Freedom_Lover at pobox.com
Sat Sep 13 01:12:27 CEST 2003

Hash: SHA1

Brandon Joseph Adams wrote:
> Is there any option somewhere to configure what Mailman sets in the
> Precedence header? By default on Mandrake 9.1 (Mailman 2.0.x) it sets
> Precedence: bulk which is causing many webmail users (especially yahoo)
> to get it in the bulk/junk mail folders. The bulk mail gets dumped
> regularly and thus many users don't see the mail.
> If there isn't a configuration option, where would I go about changing
> it in the source code? I grepped for precedence and found something in
> MailCommandHandler.py but it looks like its only logic dealing with
> recursion in mailing lists (ie the precedence is already set).

I don't think there's any config option on this, but I could be wrong.

Looking at the 2.0.13 source, I see this in Mailman/Handlers/CookHeaders.py:

    # Semi-controversial: some don't want this included at all, others
    # want the value to be `list'.
    if not msg.get('precedence'):
        msg['Precedence'] = 'bulk'

You could change it there or simply remove it.  Note that 2.1.2 sets this to
list instead of bulk.

- -- 
Todd              OpenPGP -> KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp
The policy of the American government is to leave its citizens free, neither
restraining nor aiding them in their pursuits.
    -- Thomas Jefferson

Version: GnuPG v1.2.3 (GNU/Linux)
Comment: When crypto is outlawed bayl bhgynjf jvyy unir cevinpl.


More information about the Mailman-Users mailing list