From: =?ISO-8859-1?Q?Wilberth_P=E9rez?= on
Hi:

Any one knows how i could configure a trusted relay host list on postfix ?

i just want permit specifics (don�t all one subnet) email servers IP's
uses my primary email server for relay email.


--
--------------------------------------------------------
LCC Wilberth de Jes�s P�rez Segura CCSA- Administraci�n de Servicios y Seguridad de las TI
Correo: wilberth.perez(a)uady.mx
Universidad Aut�noma de Yucat�n
Secretar�a General
Coordinaci�n Administrativa de Tecnolog�as de Informaci�n
RIUADY
C-59 x Av. Itz�es (999)923-74-28 Ext. 1117
M�rida, Yucat�n, M�xico 2010
--------------------------------------------------------

From: mouss on
Wilberth P�rez a �crit :
> Hi:
>
> Any one knows how i could configure a trusted relay host list on postfix ?
>
> i just want permit specifics (don�t all one subnet) email servers IP's
> uses my primary email server for relay email.
>
>

you can simply use mynetworks.

for example

mynetworks =
127.0.0.1
10.1.2.3
192.168.1.0/24

or using an external map:

mynetworks = cidr:/etc/postfix/mynetworks.cidr

== mynetworks.cidr:
127.0.0.1 OK
10.1.2.3 OK
192.168.1.0/24 OK

only do that for machines you trust.