Re: every host can user my postfix server

From: luna (no email)
Date: Sun Jun 02 2002 - 11:55:02 EDT


On Sun, 2 Jun 2002, Sangbutsarakum, Patai wrote:

>Dear listers,
>I'm newbies of postfix, after I've success to compile and install
>with
>
>make makefiles CCARGS="-DHAS_DB -I/usr/local/BerkeleyDB/include" \
>> AUXLIBS="-L/usr/local/BerkeleyDB/lib -ldb"
>
>if i need to screen only some of block of network be allowed by
>my postfix to relay mail for out going which way I should do?
>
>use 'mynetworks' in main.cf
>or use 'smtpd_client_restrictions'
>because I'm a little bit confuse that they for the same thing right?

you would define the networks you wish to allow as part of mynetworks:

mynetworks =
        127.0.0.1/32,
        192.168.1.0/24

and then reference that within smtpd_client_restrictions:

smtpd_client_restrictions =
        permit_mynetworks,
        check_relay_domains

-ben

-
To unsubscribe, send mail to with content
(not subject): unsubscribe postfix-users








Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD