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: Arya, Manish Kumar (m.aryayahoo.com)
Date: Tue Jun 06 2006 - 09:50:55 CDT


Hi Wietse,

manual states

makemap file_type file_name < file_name

but when i use this i get syntax error

rootbh1:/opt/postfix-2.2.9/bin# ./postmap makemap
hash /tmp/test.map < /etc/postfix/mynetworks
postmap: fatal: open makemap: No such file or
directory

rootbh1:/opt/postfix-2.2.9/bin# ./postmap hash
/tmp/test.map < /etc/postfix/mynetworks
postmap: fatal: open hash: No such file or directory

-manish

--- Wietse Venema <wietseporcupine.org> wrote:

> 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
>

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com