i have setup my vps as Postfix as a Send-Only SMTP Server on Ubuntu 18.04
and i want to send emails remotely not locally on server
when i send using the server locally it works
but remotely or outside server, am getting this error
client does not have permission to submit mail to this server. the server response was: 4.7.1 : relay access denied
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_un$
myhostname = server69092.domain.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = $myhostname, server69092.domain.com, localhost.domain.c$
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all