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