After automatic update of plesk 10.4 smtp stopped working. The service is up and running but no emails went out.
Error log shows this
Apr 28 12:49:03 ns1 qmail-queue-handlers[11039]: Handlers Filter before-queue for qmail started ...
Apr 28 12:49:03 ns1 qmail-queue-handlers[11039]: cannot create temporary file - (13) Permission denied
Apr 28 12:49:03 ns1 qmail-queue-handlers[11039]: cannot read message from stdin
1. Try with install rpm -Uvh --force plesk-mail-qc-driver-10.13.4-cos5.build1013120126.11.x86_64.rpm from the rpm here: http://64.131.90.31/PSA_10.4.4/dist-...t/maildrivers
2. Check with the following script
/usr/local/psa/admin/sbin/mchk --with-spam
==> Checking for: mailsrv_conf_init... ok
==> Checking for: mail_handlers_init... ok
==> Checking for: mailsrv_entities_dump... ok
==> Checking for: mail_admin_aliases... ok
==> Checking for: mail_auth_dump... ok
==> Checking for: mailman_lists_dump... ok
==> Checking for: mail_kav8_restore... ok
==> Checking for: mail_responder_restore... ok
==> Checking for: mail_spam_restore... ok
==> Checking for: mail_grey_restore... ok
==> Checking for: mail_mailbox_restore... ok
==> Checking for: mail_spf_restore... ok
==> Checking for: mail_dk_restore... ok
==> Checking for: mail_drweb_restore... not exists
When sending to the account, I get:
Jun 1 15:17:06 mydomain /var/qmail/bin/relaylock[26054]: /var/qmail/bin/relaylock: mail from 2.3.4.5:65049 (someother.server.com)
Jun 1 15:17:06 mydomain qmail-queue-handlers[26056]: Handlers Filter before-queue for qmail started ...
Jun 1 15:17:06 mydomain qmail-queue-handlers[26056]: from=person@someotherdomain.com
Jun 1 15:17:06 mydomain qmail-queue-handlers[26056]: to=person@mydomain.com
Jun 1 15:17:06 mydomain qmail-queue-handlers[26056]: handlers_stderr: SKIP
Jun 1 15:17:06 mydomain qmail-queue-handlers[26056]: SKIP during call 'check-quota' handler
Jun 1 15:17:06 mydomain qmail: 1338589026.699782 new msg 112152727
Jun 1 15:17:06 mydomain qmail-queue-handlers[26056]: starter: submitter[26058] exited normally
Jun 1 15:17:06 mydomain qmail: 1338589026.699827 info msg 112152727: bytes 1269 from <person@someotherdomain.com> qp 26058 uid 2020
Jun 1 15:17:06 mydomain qmail: 1338589026.702225 starting delivery 2: msg 112152727 to local 1-person@mydomain.com
Jun 1 15:17:06 mydomain qmail: 1338589026.702261 status: local 1/10 remote 0/20
Jun 1 15:17:06 mydomain qmail-local-handlers[26059]: Handlers Filter before-local for qmail started ...
Jun 1 15:17:06 mydomain qmail-local-handlers[26059]: cannot create temporary file - (13) Permission denied
Jun 1 15:17:06 mydomain qmail-local-handlers[26059]: cannot read message from stdin
Jun 1 15:17:06 mydomain qmail: 1338589026.705026 delivery 2: failure:
Jun 1 15:17:06 mydomain qmail: 1338589026.705078 status: local 0/10 remote 0/20
Jun 1 15:17:06 mydomain qmail-queue-handlers[26060]: Handlers Filter before-queue for qmail started ...
Jun 1 15:17:06 mydomain qmail-queue-handlers[26060]: cannot create temporary file - (13) Permission denied
Jun 1 15:17:06 mydomain qmail-queue-handlers[26060]: cannot read message from stdin
Jun 1 15:17:06 mydomain qmail: 1338589026.706767 warning: trouble injecting bounce message, will try later
When sending from the account, I get:
Jun 1 15:17:55 mydomain /var/qmail/bin/relaylock[26163]: /var/qmail/bin/relaylock: mail from 1.2.3.4:53533 (my.dsl.address.net)
Jun 1 15:17:56 mydomain cmd5checkpw: SMTP connect from my.dsl.address.net [1.2.3.4]
Jun 1 15:17:56 mydomain cmd5checkpw: SMTP user person@mydomain.com: logged in from my.dsl.address.net [1.2.3.4]
Jun 1 15:17:56 mydomain qmail-queue-handlers[26166]: Handlers Filter before-queue for qmail started ...
Jun 1 15:17:56 mydomain qmail-queue-handlers[26166]: from=person@mydomain.com
Jun 1 15:17:56 mydomain qmail-queue-handlers[26166]: to=person@someotherdomain.com
Jun 1 15:17:56 mydomain qmail-queue-handlers[26166]: handlers_stderr: SKIP
Jun 1 15:17:56 mydomain qmail-queue-handlers[26166]: SKIP during call 'check-quota' handler
Jun 1 15:17:56 mydomain qmail-queue-handlers[26166]: starter: submitter[26168] exited normally
Jun 1 15:17:56 mydomain qmail: 1338589076.594074 new msg 112152730
Jun 1 15:17:56 mydomain qmail: 1338589076.594108 info msg 112152730: bytes 662 from <person@mydomain.com> qp 26168 uid 2020
Jun 1 15:17:56 mydomain qmail: 1338589076.596951 starting delivery 3: msg 112152730 to remote person@someotherdomain.com
Jun 1 15:17:56 mydomain qmail: 1338589076.596978 status: local 0/10 remote 1/20
Jun 1 15:17:56 mydomain qmail-remote-handlers[26169]: Handlers Filter before-remote for qmail started ...
Jun 1 15:17:56 mydomain qmail-remote-handlers[26169]: cannot create temporary file - (13) Permission denied
Jun 1 15:17:56 mydomain qmail-remote-handlers[26169]: cannot read message from stdin
Jun 1 15:17:56 mydomain qmail: 1338589076.599152 delivery 3: failure: handlers_permanentfail/
Jun 1 15:17:56 mydomain qmail: 1338589076.599378 status: local 0/10 remote 0/20
Jun 1 15:17:56 mydomain qmail-queue-handlers[26170]: Handlers Filter before-queue for qmail started ...
Jun 1 15:17:56 mydomain qmail-queue-handlers[26170]: cannot create temporary file - (13) Permission denied
Jun 1 15:17:56 mydomain qmail-queue-handlers[26170]: cannot read message from stdin
Jun 1 15:17:56 mydomain qmail: 1338589076.601871 warning: trouble injecting bounce message, will try later
Maillog:
Jun 5 13:15:54 super qmail: 1338916554.142588 warning: trouble injecting bounce message, will try later
Jun 5 13:15:54 super qmail-queue-handlers[10293]: Handlers Filter before-queue for qmail started ...
Jun 5 13:15:54 super qmail-queue-handlers[10293]: cannot create temporary file - (13) Permission denied
Jun 5 13:15:54 super qmail-queue-handlers[10293]: cannot read message from stdin
I have tried all the solutions I have come across here and on the web:
1. Restarts
2. mchk --with-spam and w/o
3. persmissions double take on all the files
4. install Postfix - different problems
5. reinstalled Qmail afer Postfix install above
6. removed handlers and ran mchk to rebuild
The ./handlers/before-* and info directories are empty; only the hooks director contains the hooks; this even after reinstall after Postfix and mchk.