I’m having the hardest time figuring this out. I’m trying to set up my Ubuntu server to accept emails under my registered domain name, we’ll call it DOMAIN.com.
I’ve tried multiple tutorials on setting up Postfix, including one here, but honestly I’m just not sure what I need anymore. I plan on hosting multiple domains on my single droplet, so please help guide me. So far, I’ve been able to use mail() in PHP to send emails, but whenever I receive them from my personal gmail account I’m getting a 554 5.7.1 error including some others.
What I need:
Unfortunately, I think my Postfix / Mail files on the server are out of control from my trial and error, so nothing seems to be working anymore. Is this something I can fix by just doing a Postfix uninstall? Should I uninstall anything else? Delete folders to get a fresh start?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.