Question

How To change the Outgoing IP For Email

I have created a subdomain with a different Ip of A different server and I created an email from that subdomain, the problem is that the Outgoing Ip of the Email is the Ip of The Main Domain not the Ip of the subdomain


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello there,

Would you please share more details about the mail configuration?

We have an article on How To Install and Configure Postfix as a Send-Only SMTP Server on Ubuntu 22.04

https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-postfix-as-a-send-only-smtp-server-on-ubuntu-22-04

I’ll also recommend you to check this article Why You May Not Want To Run Your Own Mail Server

https://www.digitalocean.com/community/tutorials/why-you-may-not-want-to-run-your-own-mail-server

Regards