I know I can follow setup instructions to easily have my mail-in-a-box server, but I need something more specific, and would like to get guidnace:
I have a website with PHP, and I uploaded it like so:
-I have a domain name: domain.com which is purchased at GoDaddy, and a server from DigitalOcean at an IPv4 address: 126.96.36.199. (DNS is managed by DigitalOcean nameservers)
So far it’s OK, but part of my PHP code is sending emails: confirmation emails, password reset emails, etc.
Is it possible to do the following: Creating a separate mail server (a different ip address from DigitalOcean), and make the PHP script send mails from that server, but that it will show emails as email@example.com? Because my server is running on Ubuntu 16.04, and MIAB supports 14.04.
I hope you understood what I’m trying to achieve, I’m not sure it’s that simple though.