• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • 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.

Unable to chdir to maildir. (#4.2.1)

M

mweber

Guest
Hi,

we do have a quite serious and strange problem with the psa-qmail on Plesk 8.2.1 on a SuSE 10.1 Root Server.

One of the Domain do not receive any E-Mail. All the Sender is getting back:

"Hi. This is the qmail-send program at s15299087.onlinehome-server.info.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<testuser@example-domain>:
Unable to chdir to maildir. (#4.2.1)

This domain have a redirection to another domain, it's just made for the Mailadresses.

So i thought "permission problem" and checked that. There is no difference to the other domains, which work fine.

So all (and i checked that 3 times carefully) permissions for all the domain.xyz directorys under /var/qmail/mailnames are equal (popuser,popuser - rwx------). Same goes for the username subdirectorys (popuser,popuser - rwx------).

Content of .mail-default file is the same in all directorys too.

All Domains are properly in the

/var/qmail/control/rcpthosts
/var/qmail/control/virtualdomains

files. spamfilter is disabled, system wide, and there is no other 3rd part software running.

In /usr/local/psa/var/log/maillog it looks like this:

... qmail-queue-handlers[13460]: Handlers Filter before-queue for qmail started ...
... qmail-queue-handlers[13460]: from=sender@domainname
... qmail-queue-handlers[13460]: to=receiver@problem_domain
... qmail-queue-handlers[13460]: hook_dir = '/var/qmail//handlers/before-queue'
... qmail-queue-handlers[13460]: recipient[3] = 'receiver@problem_domain'
... qmail-queue-handlers[13460]: handlers dir = '/var/qmail//handlers/before-queue/recipient/receiver@problem_domain'
... qmail-queue-handlers[13460]: starter: submitter[13461] exited normally
... qmail: 1215139906.173175 new msg 12648047
... qmail: 1215139906.173287 info msg 12648047: bytes 1792 from <sender$domainname> qp 13461 uid 2020
... qmail: 1215139906.181486 starting delivery 23470: msg 12648047 to local 54-receiver@problem_domain
... qmail: 1215139906.181596 status: local 1/10 remote 0/20
... qmail-local-handlers[13462]: Handlers Filter before-local for qmail started ...
... qmail-local-handlers[13462]: from=sender@domainname
... qmail-local-handlers[13462]: to=receiver@problem_domain
... qmail-local-handlers[13462]: cannot reinject message to 'receiver@problem_domain'
... qmail: 1215139906.188819 delivery 23470: failure: unable_to_chdir_to_maildir._(#4.2.1)/

skipped the notifying of sender part ...

So i am quite clueless cause:

- all other domains work fine
- all directory permissions are okay (checked three times at least)
- qmail does his job perfect
- the // are not the problem, logiles show them for all the entrys (still working fine)

Any input would be highly appreciated cause i have no ideas how to approach the problem anymore.

regards,
Michael
 
after a bit more looking around i made some new adresses for this Domain

'ls -l' shows the following:

drwx------ 5 popuser popuser 72 Jul 4 19:04 user.name
drwx------ 4 popuser popuser 52 Jul 5 09:13 system.test
drwx------ 5 popuser popuser 72 Jul 4 19:04 another.user

and the 'system.test' adress do work!



regards,
Michael
 
Back
Top