• 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.

SMTP Mail Problem with Outgoing Mails

ffischer

Basic Pleskian
Hi everybody,
i have a big problem.

let me explain.

I have a ples 11.x with 2 Fixed IP Addresses.

Server had as hostname domain.com ( on IP1 )

Now 1 Domain ( testname.com ) is on a different IP Address as the default.
Now when testname.com is sending a mail, in email header stands as Mail Server domain.com


In Plesk 11 Help i see the following information, wich can help me, i think so :)

In Plesk for Linux with the Postfix mail server, you can change the IP address used for sending mail. Also, if your server sends mail from domain IP addresses, you can specify which name will be used as a host name in SMTP greetings.
Choose from the three options:

Send from domain IP addresses. By default, mail from each domain is sent using the domain's IP address. The host name used in SMTP greeting is defined by the configuration of the mail server.

Send from domain IP addresses and use domain names in SMTP greeting. If selected, Plesk changes the mail server configuration so that the SMTP greeting will contain the name of the domain from which an email message is sent.
This option helps to prevent the sender's IP address from being put into public black lists, such as the Spamhaus or OpenBL lists. This might happen if the mail server host name is used in SMTP greeting for the messages sent from domain IP addresses. Some recipient servers consider such messages as spam.
We recommend that you use this option if you host less than 100 domains. In case of a large number of domains, using this option significantly increases the load on the server.

Send from the specified IP address. You might want to use certain IPv4 and IPv6 addresses for all outgoing mail. Sending all mail from the specified address might be useful, for example, if the IP address of the mail server was put into public black lists, such as the Spamhaus or OpenBL lists. If you select None, outgoing mail will not be sent.

i think "Send from domain IP addresses and use domain names in SMTP greeting" will help, so that every Mail is send ...
in the SMTP Header shows the "sender" Domain right?

but how i can configure it?
The Options are not showing .

I need this config because the primary IP Address is on some spamlists ( Haked Website :( )
so i need that Outgoing mails are using the domain IP.

Can someone help me?
 
This option only works with Postfix, not Qmail. So if you are not using it already, you will need to switch to Postfix.

However, if you only have two IPs, all you really need to do is route traffic on port 25 to go out via the other IP. If that's all you want to do, you have a couple of options.

First of all, the IP used by Plesk to connect to the outside word is the IP configured on eth0:0. If you have eth0:0 and eth0:1 (or eth0 and eth1 or similar) then can can try swapping the IPs around and rebooting BUT BE WARNED that although I have done this myself at some point in the dim and distant past I think it could be a little dangerous and unless you have remote console access to correct a problem if the system falls off the network I would avoid this.

The other option is to use iptables to basically route traffic in the way you want. I don't recall how to do this off-hand, but I know for certain that it has been discussed on the forums here with step by step instructions. You will need to search in all the Plesk sections, possibly including 8.6. Keywords like "route" "smtp" "25" "IP" "iptables" may help along with other suitable words or phrases, like "change email IP" or "outgoing IP" or something like that.

p.s. when using iptables you don't need to be using postfix -- it works with any MTA including qmail.
 
Hi,
thank you for your anwser.

Actually i have Postfix installed and running.

Think is not really easy to switch to this "Send by Domain" Function.
but in the help documentation, i read this so that i need only choose the function.

is this somewhere documented ?
 
Back
Top