S
S
Sergey2015-06-30 17:45:51
postfix
Sergey, 2015-06-30 17:45:51

Postfix relay, how to restrict access correctly?

There is a relay server
centos postfix (1) that receives mail and forwards it to the server (2)
the server (2) sends mail only through the server (1)
How to correctly specify that it accept mail only for @domain.com but not prohibit sending from server 1 through 2 to the world (not using authentication)
Now configured but tested and I see that not all loopholes have been closed....

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Burov, 2015-06-30
@Yestestvenno

add server 1 to mynetworks

mynetworks=127.0.0.0/8 168.100.189.2/32

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question