david rankin wrote:
OK, here is another question. How do I handle the situation where $myorgin is rbpllc.com, but rankin-bertin.com, rankinlawfirm.com and guillorylaw.com all resolve to the same IP? Ideally, I would like to have mail to root@anyofthose.com rejected from the internet. First thought is multiple listing in check_recipient_access hash:/etc/postfix/recipients_internal_only:
/etc/postfix/recipients_internal_only: root@rbpllc.com REJECT root@rankin-bertin.com REJECT root@rankinlawfirm.com REJECT
As long as you are using fully qualified domain names I do not expext you to run into any problems. Problems might arise if you do NOT use FQDN and then block users for ALL domains without realising it.
Given your comment above, will I run into trouble with the other domain names? Any thoughts on handling that situation? It looks like local delivery should work regardless. Currently,
mynetworks = 127.0.0.0/8 192.168.7.0/24 [::1]/128 [fe80::20f:eaff:fed1:2627]/64 [::192.168.7.15]/96 [::127.0.0.1]/96 mynetworks_style = subnet
Is there anything that would cause the mutiple domains in recipients_internal_only to cause trouble?
Only when you use just the local part and later detect that the restriction should have been made only for two of the three domains. If you want to restrict access to some recipients more fine-grained you need restriction classes. I use them to restrict access to my list addresses to the listservers only. Sandy -- List replies only please! Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com