procmail
[Top] [All Lists]

Formail skipped & match wrong

2001-08-25 12:02:07
Hi

I'm having trouble with the proper use of formail in this receipt.

I want to grab the from address from any email with reservation in the
subject, add it to a file called "whitelist" then deliver it.

Thanks in advance.

:0
* ^Subject:.*reservation 
{ 
:0
formail -x"From:"\/ \   
$MATCH >> $TESTDIR/whitelist
:0:
$DELIVER
}

From the Verbose logs:
1. Subject matches
2. formail -x match line skipped
3. $MATCH assigning Lastfolder=formail
4. Delivers to /usr/home/rice/formail

-- 
Best Regards,

Tim Rice
---------------
Stationery & Stuff
Phuket Thailand
http://www.thaistuff.com
http://www.computerstuff.net
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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