• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

Plesk mail problem, i guess

R

rbdhack

Guest
I am honored to salute you.
I have a dedicated server using plesk.
My problem is that all the mail sent is beying sent from the same IP, which is the main IP for the server.
I need to know how to configure the server/qmail/DNS to send email from the ip of the domain used to send the email.
I'll give an example so that everyone understands what i say:
www.myhost.com (the domain for localhost, the main domain), IP: 1.2.3.4
www.somedomain.com (some other domain I host), IP: 5.6.7.8
If I send an e-mail from [email protected] , the headers show that the e-mail was sent from IP: 1.2.3.4 but it was actually send from somedomain.com wich has the ip address: 5.6.7.8
Is there a way to tell qmail to use different ip addresses for different domains?

Thank you.
 
The Qmail package by default uses the server's primary IP, this is it's normal behaviour. There are Qmail patches out there (qmail.org) which will allow Qmail to do what you want.

You would need to get the Plesk version of qmail source files and apply the other patches, then recompile Qmail on your server.

This cannot be done from the Plesk control panel itself.
 
Back
Top