08-11-2004, 05:19 AM | #1 (permalink) |
Upright
|
Procmail question
Hi,
I have a procmail receipe that should execute two shell scripts, it worked until I changed it so that it would pass the incoming subject to one of the scripts, now I can see it assiging the variable but it skips the scripts - Anyone any clues because I'm a total newbie: [andrewtaylor@fedora Procmail]$ vi rc.perl_extract :0: * ^Subject:.*fax2email { SUBJ=`formail -zxSubject:` | /home/andrewtaylor/Perl/extract_attachment.pl | /home/andrewtaylor/PHP/addtodb.php $SUBJ } Thanks ANdrew |
08-11-2004, 07:08 AM | #2 (permalink) | |
In Your Dreams
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:
Disclaimer: I am pretty much a total procmail newbie myself.. so this may not work.. just thought it's worth a shot |
|
Tags |
procmail, question |
|
|