|
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 (wietse
porcupine.org)
Date: Tue Jun 06 2006 - 10:16:43 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Arya, Manish Kumar:
> Hi Wietse,
>
> manual states
>
> makemap file_type file_name < file_name
>
> but when i use this i get syntax error
>
> root
bh1:/opt/postfix-2.2.9/bin# ./postmap makemap
> hash /tmp/test.map < /etc/postfix/mynetworks
> postmap: fatal: open makemap: No such file or
> directory
>
> root
bh1:/opt/postfix-2.2.9/bin# ./postmap hash
> /tmp/test.map < /etc/postfix/mynetworks
> postmap: fatal: open hash: No such file or directory
The manual states much more than that.
The manual says:
SYNOPSIS
postmap [-Nfinoprsvw] [-c config_dir] [-d key] [-q key]
[file_type:]file_name ...
That is how the command is to be invoked.
The manual also says:
The postmap(1) command creates or queries one or more Postfix lookup
tables, or updates an existing one. The input and output file formats
are expected to be compatible with:
makemap file_type file_name < file_name
The manual NEVER EVER has stated that you should do:
postmap makemap file_type file_name < file_name
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]