View Single Post
Old 08-11-2004, 07:08 AM   #2 (permalink)
Latch
In Your Dreams
 
Latch's Avatar
 
Location: City of Lights
I believe that you can only run one command per recipe (in this case, the formail)... What happens if you try:

Quote:
:0:
* ^Subject:.*fax2email
{

| /home/andrewtaylor/Perl/extract_attachment.pl | /home/andrewtaylor/PHP/addtodb.php `formail -zxSubject:`

}
Basically.. combine it all into one line.

Disclaimer: I am pretty much a total procmail newbie myself.. so this may not work.. just thought it's worth a shot
Latch is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62