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

Route Domain Mail to a Different Server

DeanC@

Basic Pleskian
This is on a Plesk 8.3, CentOS, qmail, etc. server.

I have a php form on domain1.com that sends mail to an address at domain2.com.

Both web sites, and the mail for domain1.com, are hosted on the same dedicated server. However, the domain2.com mail server is hosted elsewhere (in-house).

When the mail goes from domain1.com to the address at domain2.com, I get bounce messages such as ...

<someone@domain2.com>:
This address no longer accepts mail.

So, how do I get the mail to go from domain1.com to domain2.com's mail server?
 
Hello,

When you create domain in Plesk it automatically adds this domain to list of local domains (/var/qmail/control/rcpthosts). So when you will be sending mail from a web form on this domain Plesk will threat this mailbox as local and will tend to send mail for it locally instead of sending it to remote server. Most probably you have not created mailbox someone@domain2.com in Plesk (because it is created on remote mail server you are using and there is no need to create it in Plesk) so mail server does not find it and this may be the reason why you are getting this error.

To avoid this you should disable mail for this domain: Domains > domain name > Mail > Disable

In this case this domain will be removed from list of local domain in qmail and mail will be sent to remote server.
 
Back
Top