Hi All,
I need some advice on how I can restrict smtp(postfix). Here is the scenario:
- currently we have 9 servers + 1 smtp. all servers are inside the firewall.
1. prod1.test.com
2. prod2.test.com
....
....
....
6. prod6.test.ph
7. nagios.test.com
8. jira.test.com
9. wiki.test.com
10. smtp.test.com
My problem is how can I restrict:
- if originator is prodx.test.ph uses smtp server, it can send to any recipient
- if non-prodx server, only @sistercompany.com recipient will be sent; ignore none @sistercompany.com
I tried looking on this solution
http://www.postfix.org/RESTRICTION_CLASS_README.html , but don't know how to construct my class. I'm also confused on
smtpd_recipient_restrictions and smtpd_sender_restrictions. Which is best solution will do on this problem?
cheers,
janskey
Bookmark/Search this post with: