• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

qmail send email from specific IP

D

Daniel D

Guest
Hi Guys,

I have a machine setup running linux 9.2.1. The machine has a physical ip of 212.xxx and various virtual ips for example 87.xxx, my sites ip is 87.xxx. However qmail is sending all mail from the server via the 212.xxx ip. Can anyone tell me how I can set qmail to send emails for example shop.com 87.xxx from the ip address the site is actually using. I need to set a reverse dns and unfortunently the A record does not match currently.

Any help would be appreciated.

I have seen various posts about patches for qmail however I am not 100% about this.

Daniel
 
Hi Daniel,

I think you're approaching this from a direction that requires more work for you. So long as your base IP (outgoing IP) has a valid reverse DNS with matching A record and this is the server hostname it doesn't matter that its not the same as the from address for the emails its sending.

Alternatively you can just change the entire outgoing IP for the server to match the inbound IP for that domain.

Paul.
 
Paul,

Thanks for your reply. I have already thought about this however it then presents two issues:

1. physical interface is 212.xxx and site is on 87.xxx with an ssl certificate
2. All mail server traffic then has the reverse dns of one of my sites.

It is a option though.

Daniel
 
Back
Top