Ok thanks Wietse.
I do need all machines to be able to send outside the network, since our
email domain is separate (physically and logically/namespace), its just
that some should be able to email everywhere.
I had assumed this would be a built in function to Postfix but sounds
like anything will be a hack of sorts. will take a look at postfwd.
thanks for the help.
Stu
On 08/01/2018 17:56, Wietse Venema wrote:
Stuart Archer:
Morning All,
Apologies if this is trivial but I can't see it documented anywhere
(although a few possible hints). I don't think this should be an odd
requirement but who knows.
Simplest is to eliminate some hosts or network ranges from mynetworks,
so they won't be allowed to send off-site email.
mynetworks = !1.2.3.0/24, 1.2.0.0/16, ...
Setting up an email firewall based on client, sender, recipient,
etc. needs something like www.postfwd.org.
Wietse