[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Filtrage du mail (remplacement de procmail)



On Wed, May 18, 2005 at 06:28:16PM +0200,
 Vincent Lefevre <vincent@vinc17.org> wrote 
 a message of 29 lines which said:

> Un problème de procmail est qu'on peut facilement dépasser la limite
> de LINEBUF, et à cause de ça, j'ai un certain nombre de mails qui sont
> retournés à l'expéditeur, avec l'erreur:
> 
> procmail: Exceeded LINEBUF

Il y a vraiment des lignes plus longues que 2048 octets dans un
procmailrc, même après expansion ?

        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.

...

       A  line  buffer of length $LINEBUF is used when processing
       the rcfile, any expansions that don't fit within this lim­
       it  will  be  truncated and PROCMAIL_OVERFLOW will be set.
       If the overflowing line is a condition or an action  line,
       then  it  will be considered failed and procmail will con­
       tinue processing.  If  it  is  a  variable  assignment  or
       recipe  start line then procmail will abort the entire rc­
       file.



Reply to: