procmail
[Top] [All Lists]

Re: Help needed

1999-09-09 02:34:29
From: Juha Linnanen <pillar(_at_)iuakk(_dot_)fi>

Here is something what I have been trying to do:
--------

        FROM=`formail -rtzxTo:`
        :0c: lock.tmp

Is whitespace after the colon defining the local locfile a no-no?
I don't know, but I suspect it would be.  So you'd want
:0c:lock.tmp  or :0c :lock.tmp.


        | cat $FROM >temp.txt

I don't have time actually experiment with this, but 
experience with shell scripting tells me that this
part would never work.  You don't cat a variable,
which is stored in memory and not as a file.

        | echo $FROM > temp.txt

might work.


        :0ci
        TEMP = `/home/other/pillar/match.pl`


I'll let somebody else take it from here.

-- 
    \     .-.     .-.     .-.     .-.     .-.     .-.     .-.     /
     \-d-/-m-\-a-/-n-\-(_at_)-/-n-\-e-/-t-\-c-/-o-\-m-/-.-\-c-/-o-\-m-/
      '-'     '-'     '-'     '-'     '-'     '-'     '-'     '-'

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