OSEC

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: Colin Campbell (sgcccdccitec.qld.gov.au)
Date: Tue Jun 06 2006 - 18:43:08 CDT


Hi,

On Tue, 2006-06-06 at 18:51, Patrick Ben Koetter wrote:
> * Arya, Manish Kumar <m.aryayahoo.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
> >
> > rootbh1:/etc/postfix# cat mynetworks
> > 10.44.85.23 OK
> > 10.44.85.0/24 OK
> > 192.168.1.1/24 OK

If you have

mynetworks = /etc/postfix/mynetworks

then, /etc/postfix/mynetworks should look like,

10.44.85.23
10.44.85.0/24
192.168.1.1/24

and you don't need 10.44.85.23 if you have 10.44.85.0/24

Colin

--
Colin Campbell
Unix Support/Postmaster/Hostmaster
Citec
+61 7 3227 6334