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

Using Plesk only for web not e-mail

FlorisB

New Pleskian
What is the proper way to use Plesk for webhosting only and not for e-mail?
We already have a separate mailserver setup for that.

I disabled the "Enable mail management functions in Panel" box, and set the number of e-mail boxes to 0 for all packages.
Also the MX-records for the domain are set to the proper external mailserver.
But when PHP web applications send e-mail qmail still thinks the domain is local:

Nov 19 12:28:00 plesk10 qmail-queue-handlers[26922]: Handlers Filter before-queue for qmail started ...
Nov 19 12:28:00 plesk10 qmail-queue-handlers[26922]: from=anonymous@plesk10.ourdomain.com
Nov 19 12:28:00 plesk10 qmail-queue-handlers[26922]: to=info@NAME-OF-DOMAIN.COM
Nov 19 12:28:00 plesk10 qmail: 1321702080.100783 new msg 2232460
Nov 19 12:28:00 plesk10 qmail: 1321702080.100810 info msg 2232460: bytes 427 from <anonymous@plesk10.ourdomain.com> qp 26923 uid 10011
Nov 19 12:28:00 plesk10 qmail: 1321702080.102754 starting delivery 147980: msg 2232460 to local 76-info@NAME-OF-DOMAIN.COM
Nov 19 12:28:00 plesk10 qmail: 1321702080.102775 status: local 1/10 remote 0/20
Nov 19 12:28:00 plesk10 qmail-local-handlers[26924]: Handlers Filter before-local for qmail started ...
Nov 19 12:28:00 plesk10 qmail-local-handlers[26924]: from=anonymous@plesk10.ourdomain.com
Nov 19 12:28:00 plesk10 qmail-local-handlers[26924]: to=info@NAME-OF-DOMAIN.COM
Nov 19 12:28:00 plesk10 qmail-local-handlers[26924]: mailbox: /var/qmail/mailnames/NAME-OF-DOMAIN.COM
Nov 19 12:28:00 plesk10 qmail: 1321702080.106594 delivery 147980: failure: This_address_no_longer_accepts_mail./


Regenerating the configuration files with "/usr/local/psa/admin/sbin/mchk --with-spam" does not help either.
The domains are still listed in the /var/qmail/control/rcpthosts and virtualdomains configuration files.
 
Are you using your Plesk box for DNS servers or are you hosting DNS elsewhere?

There are a number of ways to handle this sort of configuration but it would be helpful to have a few more details about your setup.
 
DNS is external, and works fine.
E-mail from other providers arrives fine.

It is just that e-mail generated by PHP websites hosted on the Plesk box does not arrive.
Due to Plesk writing in the qmail configuration files that the domains are local, while they are not.
 
Last edited:
1. Open the domain in the Controlpanel
2. Click Mail
3. Click "Change Settings" og uncheck "Activate mail service on domain"

Mails will now be delivered to the proper external mailserver.
 
1. Open the domain in the Controlpanel
2. Click Mail
3. Click "Change Settings" og uncheck "Activate mail service on domain"

Mails will now be delivered to the proper external mailserver.

Aargh...
It seems that "Mail" settings window is not available unless you assign POP3 mailboxes to the package...

So I need to allow customers to create mailboxes in Plesk, to be able to DISABLE Plesk local mail's handling?! :(
 
Last edited:
Back
Top