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.

Site Moderator
Site Moderator badge
July 30, 2022

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

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


Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up