OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: mime, header_checks question

From: Jason Bailey, Sun Advocate Webmaster (webmastersunad.com)
Date: Wed Apr 02 2008 - 17:35:44 CDT


Jason Bailey, Web/IT Administrator
Sun Advocate / Emery County Progress
webmastersunad.com / webmasterecprogress.com
(435) 637-0732 (ext 31)

Victor Duchovni wrote:
> On Wed, Apr 02, 2008 at 02:15:56PM -0600, Jason Bailey, Sun Advocate Webmaster wrote:
>
>>> Have they? It sounds like postfix-pcre is a separate add-on. In any
>>> case "strace" postconf -m and see where it looks for the configuration
>>> file that lists loadable dictionary types. Read that file.
>>>
>> Is it really installed? Well, it would appear (from what little I know)
>> that way to me. But I'm certainly no guru at this, which is why I am
>> asking for help from the pros :) - and I certainly appreciate the help.
>>
>> Here goes... (not sure what it all means though)
>>
>> fs2:/usr/lib64 # strace postconf -m
>> [ ... ]
>> getuid() = 0
>> getgid() = 0
>> getegid() = 0
>> open("/etc/postfix/dynamicmaps.cf", O_RDONLY) = 3
>> read(3, "", 4096) = 0
>> close(3) = 0
>> write(1, "btree\ncidr\nenviron\nhash\nnis\nprox"..., 58btree
>> cidr
>> environ
>> hash
>> nis
>> proxy
>> regexp
>> sdbm
>> static
>> unix
>> ) = 58
>
> The useful stuff is "always" at the bottom. Now post the contents of
> /etc/postfix/dynamicmaps.cf? Did you restore /etc/postfix from an older
> image after upgrading the software?
>
> Likely the "dict_pcre" module is not listed, but can be. Re-installing
> your Postfix package(s) properly should also bring in the correct
> configuration file.
>

I didn't restore /etc/postfix from an older installation or "image" as
you call it. And I've already tried re-installing the postfix rpm. No
such luck.

This is what I have:

fs2:/etc/postfix # ll dynamic*
-rw-r--r-- 1 root root 0 2006-10-31 09:28 dynamicmaps
-rw-r--r-- 1 root root 0 2006-10-31 09:29 dynamicmaps.cf
-rw-r--r-- 1 root root 12288 2006-10-31 09:29 dynamicmaps.db

The two on top appear to be empty. I haven't touched any of these files.