PDA

View Full Version : "chdir Maildir failed"


Jürgen
16th March 2009, 22:22
Hello,

I installed a server on the basis of "The Perfect Setup". The system is running with Debian Etch 4.0.

During the installtion there were no errors, everything worked. I get, however, an error when I try to establish a new pop3 connection. The error message of my mail programm is:

Error while sending the password. The server responsed: chdir Maildir failed.

So, I checked the server and connection settings and read some threads about this error, but I still cannot find the bug.

Thanks for your help!

Flash
17th March 2009, 15:13
Did you send a message to that mail account, you usually need to send one before you can use pop3 or imap as it needs to create the folder structure. (if it doesnt, give the postfix user write access to the main dir)

Jürgen
18th March 2009, 00:40
Thanks for your response.

Sending a mail to the mail account doesn't help.

The users and their mail addresses are listed in /etc/postfix/virtusertable.

The mails are also received and saved in /var/mail/{username}. These files have got the right owner and reading permissions as well.

Any other idea? Thanks!

Jürgen
18th March 2009, 17:22
Do you think that it makes sense to remove postfix and to re-install it? Could there be any problems with ISPConfig?

Thanks.

falko
18th March 2009, 20:24
The mails are also received and saved in /var/mail/{username}. These files have got the right owner and reading permissions as well.

You must enable Maildir in ISPConfig (Management > Server > Settings > Email) (and/or run
postconf -e 'home_mailbox = Maildir/'
postconf -e 'mailbox_command ='
/etc/init.d/postfix restart)

Jürgen
18th March 2009, 21:22
Ah! Got it!
I forgot to active the checkbox "Maildir" in ISPConfig.
Why isn't it activated by default?
I have never done it before and it always worked well.

Anyway: Thank you very much! I love this community!

falko
19th March 2009, 17:53
Why isn't it activated by default? Because then the users that use mbox would complain. ;)