Postfix relay access denied when sending to external email

I have one problem. I am trying to create custom SMTP server, using POSTFIX. I connect to server using openssl s_client -starttls smtp -connect mx.mydomain.com:587 After entering “rcpt to:” I get error “Relay access denied” 250 SMTPUTF8 mail from: [email protected] 250 2.1.0 Ok rcpt to: [email protected] 454 4.7.1 <[email protected]>: Relay access denied This is the…

Details