On Friday 08 February 2002 15:05, Andrew Watson wrote:
> No doubt a common newbie question, but is there a way to remove some
> of the headers from each message sent from my list? I refer to the
> stuff like this:
>
> At 2:33 PM -0500 2/8/02, [EMAIL PROTECTED] wrote:
> >X-No-Archive: yes
> >X-Ack: no
> >Sender: [EMAIL PROTECTED]
> >X-BeenThere: [EMAIL PROTECTED]
> >X-Mailman-Version: 2.0.8 (101270)
> >List-Help: <mailto:[EMAIL PROTECTED]?subject=help>
> >List-Post: <mailto:[EMAIL PROTECTED]>
> >List-Subscribe: <http://mail.python.org/mailman/listinfo/mailman-users>,
> >     <mailto:[EMAIL PROTECTED]?subject=subscribe>
> >List-Id: Mailman mailing list management users
> > <mailman-users.python.org> List-Unsubscribe:
> > <http://mail.python.org/mailman/listinfo/mailman-users>,
> > <mailto:[EMAIL PROTECTED]?subject=unsubscribe>
> >List-Archive: <http://mail.python.org/pipermail/mailman-users/>
>
> I realize some of this may be necessary to proper function
> (X-BeenThere?) but some is clearly not.
>
> -Andrew
>



Its quite easy to do.  You edit one file - please backup the file before 
you edit it!:
  ~mailman/Mailman/Handlers/CookHeaders.py

  headers = {
      'List-Id'         : listid,
      'List-Help'       : '<mailto:%s?subject=help>' % requestaddr,
      'List-Unsubscribe': subfieldfmt % (listinfo, requestaddr, 'un'),
      'List-Subscribe'  : subfieldfmt % (listinfo, requestaddr, ''),
      'List-Post'       : '<mailto:%s>' % mlist.GetListEmail(),
      }


Feel free to delete any of the lines inside the "headers" clause, but I 
would recommend that you leave 'List-Id'.

BTW: I strongly feel that this should be in the FAQ, even though I fully 
agree that the problem is with the Mail client (the MUA) and not with 
Mailman.

Jon Carnes

------------------------------------------------------
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users

Reply via email to