Dear All,

As subject. Does the following configuration meet the subject?
192.168.1.55 and 192.168.1.56 can only send mail to subdomain1.abc.com,
subdomain2.abc.com            
And others IP in 192.168.1.0/24 can send mail to subdomain1.abc.com,
subdomain2.abc.com and outsiders, is that achieved by the following
configuration?

#/etc/postfix/main.cf
mynetworks = hash:/etc/postfix/access
smtpd_client_restrictions = check_client_access hash:/etc/postfix/access
smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination

smtpd_restriction_classes = local_only
local_only = check_recipient_access hash:/etc/postfix/local_domains, reject

# /etc/postfix/access
192.168.1.55       REJECT
192.168.1.56       REJECT
192.168.1.0/24    OK

# /etc/postfix/local_only
subdomain1.abc.com            OK
subdomain2.abc.com            OK

-- 
View this message in context: 
http://www.nabble.com/Upon-IP-address%2C-restrict-sending-destination.-tp21536576p21536576.html
Sent from the Postfix mailing list archive at Nabble.com.

Reply via email to