|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: mynetworks not even works if i store address in file
From: Patrick Ben Koetter (p
state-of-mind.de)
Date: Tue Jun 06 2006 - 03:51:33 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
* Arya, Manish Kumar <m.arya
yahoo.com>:
> Hi,
>
> Now I have tired to store mynetwork address in
> /etc/postfix/mynetworks file but...
>
> NOT WORKS if i add n/w in file
>
> root
bh1:/etc/postfix# cat mynetworks
> 10.44.85.23 OK
> 10.44.85.0/24 OK
> 192.168.1.1/24 OK
CIDR-notation requires a CIDR-map type. You probably use the default (hash)
map type that doesn't support CIDR-notation.
p
rick
>
> root
bh1:/etc/postfix# /opt/postfix-2.2.9/bin/postmap
> -q 192.168.1.2 /etc/postfix/mynetworks
> root
bh1:/etc/postfix#
>
> 192.168.1.2 not mapped ! though i have read in a doc
> that it sud map (
> http://www.onlamp.com/pub/a/bsd/2005/03/10/uucpmail.html
> )
>
> WORKS if i add IP in file
> root
bh1:/etc/postfix# cat mynetworks
> 10.44.85.23 OK
> 10.44.85.171 OK
>
> root
bh1:/etc/postfix# /opt/postfix-2.2.9/bin/postmap
> -q 10.44.85.171 /etc/postfix/mynetworks
> OK
>
> Regards,
> -Manish
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
--
The Book of Postfix
<http://www.postfix-book.com>
saslfinger (debugging SMTP AUTH):
<http://postfix.state-of-mind.de/patrick.koetter/saslfinger/>
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]