This is a fresh install with one domain activated and and one non-admin user. Sending mail to user from gmail receives “Relay Access Denied”
Additionally accessing users mailbox from Webmin Read User Mail gives permission denied response.
I have not modified postfix. Relevant lines in my.cnf are
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
myhostname = host.example.com
Sending mail from user to only gmail shows relay access denied or do you get the same error for all mail you send out to the internet?
A quick way to check if your mail can leave your own system and how spammy it would be considered by the rest of the world would be via a service such as https://www.mail-tester.com/
Also: you don’t need to modify postfix at all on a fresh Virtualmin install. Good that you are sticking to defaults. It makes troubleshooting easier.
I don’t know why Read User Email is throwing an error. If Virtualmin → Limits and Validation - Validate Virtual Servers - Fix Permission tab does not fix the issue, you should start a separate topic for this.
Hi,
Thanks for responding. I deleted the domain and recreated it with a single user. reading user mail from Webmin now works but a test mail sent from gmail to user still gives relay access denied.