OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: A problem with pcre

From: mouss (mlist.onlyfree.fr)
Date: Fri Nov 02 2007 - 13:01:27 CDT


Payne wrote:
> Bill Cole wrote:
>> At 11:20 PM -0400 11/1/07, Payne wrote:
>>> Guys,
>>>
>>> I am having an issue, I have read several webpages and a couple man
>>> pages, and I can't get syntax correct for pcre files.
>>>
>>> I just create a file called helo_checks. I have added to my main.cf
>>> the following...
>>>
>>> check_helo_access pcre:/etc/postfix/helo_checks.pcre
>>>
>>> when I try to do this to create the file
>>>
>>> postmap -q - pcre:/etc/postfix/helo_checks.pcre <
>>> /etc/postfix/helo_checks
>>>
>>> I get this...
>>>
>>> open /etc/postfix/helo_checks.pcre: No such file or directory
>>>
>>> what am I doing wrong?
>>
>> Postfix pcre maps do not need to be compiled, so there is no need to
>> run postmap. The map is used in its text form.
>>
>>
> Thanks, I was getting ready to start hitting my head like one of the
> monks in the Holy Grail.

In addition, there is no "< /etc/...." when running postmap.