• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Send outgoing mail through main server IP, not dedicated IP

MarkJH

New Pleskian
Hey all,

I know this has been mentioned many times (I've searched and seen lots of references - usually going the other way though - trying to do the opposite...) but I've got one site with a dedicated IP address and outgoing mail gets sent via that IP address. All other domains on the server get sent using the master IP address and by and large have no problem.

I know this is a feature and supposed to prevent blacklisting, etc - but all domains are controlled by me and are 'safe' (or, at least, I take responsibility for!). Does anyone know how to turn off this feature so all domains e-mail is sent from the main server IP?

Thanks in advance :)
Mark
 
You can turn that feature off manually by editing /etc/postfix/master.cf and at the bottom of the file you'll see the line binding mail from each IP to that IP. Remove those lines and restart postfix.
 
Hi,

Thanks for the reply,

Checking in there I can't see anything looking specific to my setup - digging deeper makes me think that the server is actually using qmail rather than postfix. I don't know if there's preference over either (or, if in this case, there would be an advantage to switching to make this change)?

Kind regards and many thanks for the help,
Mark
 
Looking at the differences and other discussions it would seem that most people have already jumped ship to Postfix. So I'll follow suit and see if the master.cf file sheds some light on to the outgoing mail server problems afterwards! ...

Kind regards
 
If you're on qmail, it doesn't support the ip mapping feature so all your outbound mail should already be going from the first IP on the server. If it's postix, you will have that problem and in master.cf you'll have lines like this:

1.2.3.4- unix - n n - - smtp -o smtp_bind_address=1.2.3.4 -o smtp_bind_address6= -o smtp_address_preference=ipv4
 
Right, MTA changed; I've just commented out the other two IP addresses on the server.

Do you know if those settings are likely to change 'randomly' (i.e., server upgrade, etc) as it's not something that we'll likely notice - just some e-mails become blocked.

Either way - many thanks for your help. Seems to have done the trick nicely!

Kind regards
Mark
 
The file should change any time a new site is added on an exclusive IP, but I'm not sure if Plesk will go back through and check for entries that should have been there to put back if they go missing. You could test it by adding a new test domain on an exclusive IP, check, delete it and check again.
 
Strange...

The problem was noticed when e-mailing an AOL account. I know it's AOL being a pain - but the IP had a low reputation and no reverse-DNS. Checking two domains on the same server, mails both originated from different IP's. But definitely q-mail!

So, not entirely sure what caused that, in that case... But either way, they're coming from the right place now!

Kind regards
Mark
 
Back
Top