Dear, Hiren you should use smtpd_recipient_restrictions in main.cf of postfix. smtpd_recipient_restrictions=check_sender_access hash:/etc/postfix/mysender, permit_mynetworks, .. .. smtpd_restriction_classes=local_only local_only=check_recipient_access hash:/etc/postfix/my_rcp, reject #vi /etc/postfix/mysender [email protected] local_only #vi /etc/postfix/my_rcpt yourdomain.com OK and then run postmap for mysender and my_rcpt Regards Weihua.Deng
________________________________ From: [email protected] 代表 Hiren Mistry Sent: 2010-5-31 (星期一) 17:47 To: [email protected] Subject: [policyd-users] How to create a Postfix class for restrict senderlevel Hi, I am new to use postfix. I want to create a restriction level for sending policy in postfix. I need to set sending policy like "Only Some User Can Send Mail to Outside Network and Other Can Send Only in Local Network" Any one can guide me, How to create this policy ? Regards, Hiren Mistry _______________________________________________ Users mailing list [email protected] http://lists.policyd.org/mailman/listinfo/users
<<winmail.dat>>
_______________________________________________ Users mailing list [email protected] http://lists.policyd.org/mailman/listinfo/users
