OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: postfix performance for a big /etc/postfix/mynetworks file

From: Wietse Venema (wietseporcupine.org)
Date: Tue Jun 06 2006 - 08:43:51 CDT


Arya, Manish Kumar:
> Hi,
>
> I am migrating from qmail to postfix, I will have a
> number of entries (abt 2000) in
> /etc/postfix/mynetworks file. inclduing some xx.xx/16
> networks
> because /etc/postfix/mynetworks is a plain txt file
> and there is no indexing, so can postfix perform good
> ?
> or is there some better way to store mynetworks?

Postfix supports hashed files in mynetworks

    mynetworks = ... hash:/file/name cdb:/file/name ...

but you have to populate those files yourself.

        Wietse