procmail
[Top] [All Lists]

Re: help with a simple script

2002-08-22 08:57:38
ok, but that would still not explain why messages not tagged with the
x-spam-status header still fail with the error .



On Fri, Aug 23, 2002 at 12:15:44AM +1000, zenn wrote:
    Aug 22 23:47:27 myhost.com X-Qmail-Scanner-1.13:
[myhost.com/4239959]
Unable to close pipe to /var/qmail/bin/qmail-qfilter-wrapper.sh
(#4.3.0) -
    Aug 22 23:47:27 myhost.com X-Qmail-Scanner-1.13:
[myhost.com74239959]
Unable to queue message (111). (#4.3.0) - Illegal seek

my procmailrc looks liek this

    :0
    * ^X-Spam-Status: Yes
    !spam(_at_)my(_dot_)extrenalhost(_dot_)com
    |

I'm sure someone will correct me if I'm wrong, but I don't think you can
supply more than one "action" for a given recipe:

man procmailrc:

   Recipes
       A  line starting with ':' marks the beginning of a recipe.
       It has the following format:

              :0 [flags] [ : [locallockfile] ]
              <zero or more conditions (one per line)>
              <exactly one action line>


You should use a nesting block, or additional recipes which are
conditional on the outcome of the first recipe, in order to do this.

Or just add the 'c' flag to your first recipe and remove that extra pipe
and I think that will do what you want.  Not necessarily fix the
qmail-scanner issue, but at least your procmailrc syntax will no longer
be broken.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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