[copy from googlegroups mailinglist]
I use Nethserver as a mailserver only. There are some users with Inboxes on it, but I want to use Nethserver as a SMTP server for my DMZ servers too. Now, I’ve configured a trusted network that’s my DMZ: 192.168.0.0/255.255.255.0
Then, as stated in http://docs.nethserver.org/en/latest/mail.html#special-smtp-access-policies , I ran:
# config setprop postfix AccessPolicies trustednetworks # signal-event nethserver-mail-common-save
After this I’m able to use ANY client from private ranges to use Nethserver on port 25 without authentication! So, any client on LAN / VLANs and DMZ can now use Nethserver that way. I think I’m configuring something wrong or forgetting something, but I can’t figure it out with de documentation only.
Can anyone explain the ‘trusted networks’ section in more detail to me? What should I do to allow access for only some specific hosts (or specific network) to port 25 without authentication?