Re: [Exim] Lines: xxx mail header and maildir

Top Page
Delete this message
Reply to this message
Author: Greg Matheson
Date:  
To: exim-users
Subject: Re: [Exim] Lines: xxx mail header and maildir
On Sat, 19 Oct 2002, Marc MERLIN wrote:

> Ok, I'm curious now: who is responsible for adding that Lines header?
> Exim?
> The MDA?
> Other?


There's a procmail recipe on the Mutt FAQ page,
http://www.fefe.de/muttfaq/faq.html:

      With Maildir, all the messages have a length of 0!


         That is because the headers don't contain a "Lines:"
         header. You can use this procmail recipe to fix it
         (courtesy of Liviu Daia and Alex Shnitman, who
         continue to shorten this recipe):
    :0 Bfh
    * H ?? !^Lines:
    * -1^0
    *  1^1 ^.*$
    | formail -A "Lines: $="


Looks like it is counting the lines. I don't know if it works.

--
Greg Matheson
Chinmin College,
Taiwan