On 21.10.2016 08:50, Paweł Grzesik wrote: > [user@mailtest ~]# telnet localhost 25 > [...] > mynetworks_style = host
You're conducting your test from the machine Postfix is running on, which is a member of 'mynetworks'... > smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks ...and you give 'mynetworks' members permission to specify any envelope recipient. Unless you have other restrictions in place, this means that mail originating from localhost may be sent anywhere. > smtpd_restriction_classes = insiders_only > smtpd_sender_restrictions = check_sender_access > hash:/etc/postfix/sender_checks Your postconf output missing the definition for 'insiders_only'. Also, you did not show the contents of /etc/postfix/sender_checks. -Ralph