On Thu, Apr 08, 2010 at 04:56:49PM +0200, Dirk H. Schulz wrote:

>> smtpd_whatever_restrictions =
>>     check_client_access hash:/usr/pkg/etc/postfix-in/list1,
>>     check_client_access hash:/usr/pkg/etc/postfix-in/list2

This is rather pointless, why not have the computer concatenate the source
files into a single file that is hashed once, and run faster with a much
lower memory footprint?

> Does the same apply for header checks? Until now I had
>
>> header_checks = regexp:/usr/pkg/etc/postfix-in/header_checks, 
>>      regexp:/usr/pkg/etc/postfix-in/header_checks_virus

This checks the second table if the first does not match, and is
completely equivalent to using a single table obtained from:

        cat header_checks header_checks_virus > header_checks_merged.tmp
        mv header_checks_merged.tmp header_checks_merged

-- 
        Viktor.

P.S. Morgan Stanley is looking for a New York City based, Senior Unix
system/email administrator to architect and sustain our perimeter email
environment.  If you are interested, please drop me a note.

Reply via email to