procmail
[Top] [All Lists]

Re: Help needed

1999-09-09 05:55:35
At 02:28 AM 9/9/99 -0700, Dallman Ross wrote:
Is whitespace after the colon defining the local locfile a no-no?

No, it's fine.

[some suggestions snipped]
From: Juha Linnanen <pillar(_at_)iuakk(_dot_)fi>
        :0ci
        TEMP = `/home/other/pillar/match.pl`


I'll let somebody else take it from here.

Well, going a bit farther, that piece won't work either
(or rather, what the recipe will do is write to a file
with a filename starting with literally 'TEMP = `/home

To assign to a variable as an action, use "{"
for example,
     :0ci
     {
        TEMP = `/home/other/pillar/match.pl`
     }

That action can be squished onto one line:
     :0ci
     { TEMP = `/home/other/pillar/match.pl` }
but be very careful to have whitespace after the "{".

Stan

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