On 03/17/03 11:13 AM, Ruud H.G. van Tol sat at the `puter and typed:
Louis LeBlanc skribis:
:0A
FOLDER=newfolder # and drop the message into newfolder
Missing { }.
Ahh. You are correct there, but this doesn't solve the problem I am
seeing right now.
The current recipe is (with numbered lines for reference:
1 :0
2 * FOLDER ?? ^^list^^
3 * !^X-Loop: list(_at_)keyslapper\(_dot_)org
4 {
5 :0hw
6 * ? formail -x From: -x Sender: -x Reply-To: -x Return-Path: |
7 grep -i -f /home/leblanc/.listsenders
8 {
9 :0
10 | formail -Yf -I "X-Loop: list(_at_)keyslapper(_dot_)org"
11
12 :0A
13 ! `cat /home/leblanc/.list`
14
15 }
16 :0E
17 {
18 :0
19 | formail -Yf -I "X-Listproblem: Sender not in list"
20
21 :0A
22 { FOLDER=newfolder }
23
24 }
25 }
26 :0E
27 * FOLDER ?? ^^list^^
28 { FOLDER=newfolder }
Ok, a message comes in and makes it to line 10, which shows up in the
log as follows:
procmail: Match on "^^list^^"
procmail: Match on ! "^X-Loop: list(_at_)keyslapper\(_dot_)org"
procmail: Executing " formail -x From: -x Sender: -x Reply-To: -x Return-Path:
| grep -i -f /home/leblanc/.vampsenders"
procmail: Match on " formail -x From: -x Sender: -x Reply-To: -x Return-Path: |
grep -i -f /home/leblanc/.vampsenders"
procmail: Extraneous deliver-head flag ignored
procmail: Assigning "LASTFOLDER=formail -Yf -I X-Loop:
list(_at_)keyslapper(_dot_)org"
procmail: Notified comsat: "leblanc@:/home/leblanc/formail -Yf -I X-Loop:
list(_at_)keyslapper(_dot_)org"
Subject: testing
Folder: formail -Yf -I X-Loop: archon(_at_)keyslapper(_dot_)org 1329
procmail: Executing "formail,-Yf,-I,X-Loop: archon(_at_)keyslapper(_dot_)org"
This is confusing because of the 'Extraneous deliver-head flag
ignored' line. I assume it is referring to lines 12 and 13.
What am I doing wrong here?
Lou
--
Louis LeBlanc leblanc(_at_)keyslapper(_dot_)org
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ
Finagle's Second Law:
Always keep a record of data -- it indicates you've been working.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail