procmail
[Top] [All Lists]

Re: Problem: address not caught in To: header

2001-04-27 06:48:19


On Fri, 27 Apr 2001, Walter Dnes wrote:

Matthew Manuel wrote:
  The only ideas I have at this point are the following:  

- The To: header was too long and procmail did not parse the entire header
(my address was the 68th address in the To: field)

   Try setting LINEBUF to a larger value to ensure it gets the entire
line.  E.g. something like...

LINEBUF=16384

   Here's a relavant snippet from "man procmailrc"...

  LINEBUF     Length of the internal line buffers, cannot be
              set smaller than 128.  All lines read from the
              rcfile  should  not exceed $LINEBUF characters
              before and after expansion.  If not specified,
              it  defaults  to 2048.  This limit, of course,
              does not apply to the mail itself,  which  can
              have  arbitrary  line  lengths,  or could be a
              binary file for that matter.  See  also  PROC-
              MAIL_OVERFLOW.

Well, I did a totally non-scientific test, by copying the message which
wasn't caught into my text editor, and checking the byte offset... My
address was only 1598 bytes into the line, although it was 2252 bytes from
the start of the message, headers and all.

        -Matthew
-- 
    |       _    ___  Matthew Manuel                     
Matthew(_at_)Manuel(_dot_)ca
 _ (=)     |:|____--| Halifax, Nova Scotia                   www.Manuel.ca
|.| |      |:|==| |-|      via Mississauga, Ontario          ICQ# 13963820
|.| |  ____|:|==| |-|  
|.| | ////\\:|==| |-|  "Forever never seems that long until your grown"
|.| ^|      ||==| |-|               - Andre 3000 of Outkast, "Ms. Jackson"
<EOT>

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>