procmail
[Top] [All Lists]

Re:

1999-03-01 11:42:03
* Mon 1999-03-01 era eriksson <era(_at_)iki(_dot_)fi> list.procmail
* Message-Id: 
<14042(_dot_)48275(_dot_)66192(_dot_)774324(_at_)vesuri(_dot_)Helsinki(_dot_)FI>
| 
| On 01 Mar 1999 12:49:28 +0200, jari(_dot_)aalto(_at_)poboxes(_dot_)com
| (Jari Aalto+mail.procmail) wrote:
|  > MATCH: is not an identifier
| 
| Since it keeps complaining about MATCH, what is it set to (or, if it's
| not, what happens if you set it to something)?

I don't think it has nothing to do with MATCH. But I'm unable to find any
logical cause for this suddenly appearing problem. It's somewhere in the
chain when procmail calls a shell command that contains SHELLMETAS in it.

| You do have SHELL=/bin/sh don't you?

Yes. I just don't understand. Does that mean that we have to upgrade our
HP version in the Mail server. Huh, I don't know if that's easily possible.

jari

    -- recompiling with gcc didn't help
    -- this only happend in 09.01. Same code in HP 10.01 and 10.20 works fine.
    -- changing SHELL to /bin/ksh /bin/csh didn't make any difference in 
       results.

        procmail: Assigning "e=/bin/echo"
        procmail: Assigning "m=heini"
        procmail: Assigning "s=/bin/sh"
        procmail: Assigning "m=&|<>~;?*["

        procmail: Assigning "MATCH="

        procmail: Executing "echo,12"
        procmail: Assigning "dummy=12"
        procmail: Executing "echo 12 ; true"
        MATCH: is not an identifier

        procmail: Assigning "dummy="
        procmail: Executing "echo 12 & "
        MATCH: is not an identifier
        procmail: [3349] Mon Mar  1 20:22:58 1999

        procmail: Assigning "dummy="
        procmail: Executing "echo 12 > /tmp/junk "
        MATCH: is not an identifier

        procmail: Assigning "dummy="
        procmail: Assigning "SHELLMETAS="
        procmail: Executing "/bin/sh,-c,echo 123 &"
        MATCH: is not an identifier


        e = `which echo`
        m = $MATCH
        s = $SHELL
        m = $SHELLMETAS

        MATCH = ""

        dummy = `echo 12`
        dummy = `echo 12 ; true`
        dummy = `echo 12 & `
        dummy = `echo 12 > /tmp/junk `

        SHELLMETAS = ""
        dummy = ` /bin/sh -c "echo 123 &" `

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