Rob Foehl put forth on 3/25/2011 10:03 AM:
> On Fri, 25 Mar 2011, Stan Hoeppner wrote:
> 
>> /Subject:.*won.*\$\d.*/           REJECT Probable phish
>> /Subject:.*won \$\d.*/            REJECT Probable phish
>>
>> What the heck am I missing WRT making $ literal?
> 
> Likely that it must be quoted/escaped correctly in the shell:
> 
> $ cat won_money
> /^Subject:.*won \$\d/ REJECT
> $ postmap -q 'Subject: you won $10' pcre:won_money

Bah, that was it.  I was using quotes instead of squotes in bash.
Stupid mistake...

Thanks Rob.

-- 
Stan

Reply via email to