![]() |
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 |
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 ;) |
Yeah, this worked perfectly thanks a lot.
|
All times are GMT -8. The time now is 10:11 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project