OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
usage of postmap command to make lookup tables

From: Arya, Manish Kumar (m.aryayahoo.com)
Date: Tue Jun 06 2006 - 19:43:07 CDT


Hi,

   can anyone post example of usage of postmap cmd to
make hash or cidr lookup table from source file. my
source file contains "mynetworks"

like

xxx.xxx.xxx.xxx/xx OK

I have tried

$postmap hash:/tmp/test.map < /etc/postfix/mynetworks

it says there no "/tmp/test.map"

then i did touch /tmp/test.map and tried again

then if complains "hash" unknown type, same for cidr
I have checked $postconf -m, cidr is listed there

Regards,
-Manish

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