I have a new debian 11 install using the auto install script. Websites working fine. Incoming and outgoing emails not working. I am able to email to domains on the server. I have only 3 ports open to the world 80, 443, 587. If i need to access my email i can do it on the server box or other computers on the intranet. Server is at home, moving my cloud hosted domains to my home server. Telnet connection to port 587 works but an email from my google account: Status: 4.4.1 Diagnostic-Code: smtp; The recipient server did not accept our requests to connect Will open open 25 but need to stop it being an open-relay. Any suggestions?? I thought that i'd move my hosting home over the holidays. I need to have this complete before the end of month to dump the cloud service. Will work on the SSL certificate issue in the new year.
Port 25 must be open if you want to run a mail server, your server is not an open relay if you used the auto-installer.