procmail
[Top] [All Lists]

Re: Excessive output quenched from "cat"

1997-08-01 16:53:00

| procmail: Excessive output quenched from "cat"
| 
| The offending line in the procmailrc file is:
| 
| BLOCKDOM=`cat /etc/local/mail/DeniedNames`

| Is there some way I can easily increase this value that procmail uses to
| determine "Excessive output"?

Yes; change the value of LINEBUF.  It defaults to 2048 (unless changed at
compile time) but can be reset in an rcfile.

However, there might be anohter way to handle what you're doing, depending on
what that might be.  I get the feeling that perhaps the file can be egrepped
for a pattern that matches the sender, and then you wouldn't need to hold its
entire contents in a variable.

To be more specific, if you are trying something like

:0
* $BLOCKDOM
{ <deny_access> }

Then you might try instead

:0
* ? fgrep -i -f /etc/local/mail/DeniedNames
{ <deny_access> }


But as someone else said, if you are trying to do it system-wide (as
is implied by " /etc "), then you should try to have sendmail do it
upstream of procmail.

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