Ian Zimmerman wrote: > On 2015-08-13 20:24 +1000, Erik Christiansen wrote: > > > > A line buffer of length $LINEBUF is used when processing the > > > rcfile, any expansions that don't fit within this limit 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 continue processing. If it is a > > > variable assignment or recipe start line then procmail will abort > > > the entire rcfile. > > > You might like to read both recipe and manpage again. When "processing > > the rcfile", the line with $SUBJECT does not expand. The "SUBJECT=" line > > is a variable assignment, not a macro definition. > > And this (the assignment line) is what I'm worried about, not the later > line where $SUBJECT is used. According to the above paragraph, if _the > expansion_ doesn't fit in $LINEBUF, the panic mode is triggered. I > think substituting a shell command output counts as "expansion". Do you > not agree?
if you are just worried about procmail rules not fitting in $LINEBUF, just make it huge. i have very large automatically-generated procmail rules so i use: LINEBUF=131072