Re: assign a unique ID to each incoming email?1999-04-08 01:23:29Mathias Koerber wrote: # check if the mail already has a TICKET in its subject PREFIX="S-ABUSE" :0 Whc * ^Subject:.*\[${PREFIX}-\/[0-9][^]]+.* You'll need a "$" after the initial asterisk in the condition line (* $ ^Subject:...), otherwise procmail tries to match the literal string "${PREFIX}" literally and doesn't use the content of the variable: procmail: No match on "^Subject:.*\[${PREFIX}-\/[0-9][^]]+.*" /HW
|
|