[Dovecot] Error that I don't understand
I’ve noticed lines like this in error log:
IMAP(username@cubeholding.com): Error: read(mail, uid=58284) failed: Is a directory
I’ve looked at sources and found this message in src/lib-storage/index/index-mail.c, function static int index_mail_stream_check_failure(struct index_mail *mail) but I don’t understand where it come from, I understand it is something about indexes, anyone can explain me more, please?
Dovecot 1.2.12
TIA Andrea
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Tue, 29 Jun 2010, Andre wrote:
IMAP(username@cubeholding.com): Error: read(mail, uid=58284) failed: Is a directory
I’ve looked at sources and found this message in src/lib-storage/index/index-mail.c, function static int index_mail_stream_check_failure(struct index_mail *mail) but I don’t understand where it come from, I understand it is something about indexes, anyone can explain me more, please?
Turn on mail_debug and check the output regarding the login of the session, there are entries telling you the home directory and mailbox locations and mailbox formats.
I bet that you have configured a mailbox location, e.g. for the INBOX, that ought to be a file, but is in fact a directory.
Regards,
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iQEVAwUBTCn72L+Vh58GPL/cAQIYEgf/cZ3GyDWMC7FUMN3FkqC2HYoeXfy6lM/h FFihmzYfGoAINIolVLw8VC/K8wcslGinl525h8M23AM/CYIXOe9KOJ3AA9RG1OSN g+y5lJhx6s7qnoEDlM5oNfqLH8M2PnyUmWeRlVC4zLVaAbGrxhL6g2D7dhgheqHi XsmAsaE0Mdc1CwNu4ncGmbRzNT8a6/xui2HSGRVm86Bj8AaLGic9YgeOB6WK7ZAi HEem7zj/4W9Vr1/III8JZgdE8KQZiLGvY5fc5Nf5UD/hqNyjuRRjZtLSpJayfvUZ 6igM9d8mQtQ2eUeNXcWX80vYZ05NjtyzKWgUhhirTIf2IThd1MZstQ== =BzzO -----END PGP SIGNATURE-----
On 29/giu/2010, at 15.57, Steffen Kaiser wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Tue, 29 Jun 2010, Andre wrote:
IMAP(username@cubeholding.com): Error: read(mail, uid=58284) failed: Is a directory
I’ve looked at sources and found this message in src/lib-storage/index/index-mail.c, function static int index_mail_stream_check_failure(struct index_mail *mail) but I don’t understand where it come from, I understand it is something about indexes, anyone can explain me more, please?
Turn on mail_debug and check the output regarding the login of the session, there are entries telling you the home directory and mailbox locations and mailbox formats.
I bet that you have configured a mailbox location, e.g. for the INBOX, that ought to be a file, but is in fact a directory.
Regards,
This is the output of authtest: # /usr/lib/dovecot/authtest andre userdb: andre uid : 1001 user : andre@cubeholding.com home : /var/mail/cubeholding.com/andre extra fields: username=andre domain=cubeholding.com mail=maildir:~/maildir/:LAYOUT=fs:INDEX=~/indexes/
This is the relevant part of dovecot -a:
namespace: type: private separator: / prefix: location: alias_for: inbox: yes hidden: no list: yes subscriptions: yes
It does not seem to me that the problem is the one you pointed out, even if I think you pointed in the right direction
Andre
On 29/giu/2010, at 15.57, Steffen Kaiser wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Tue, 29 Jun 2010, Andre wrote:
IMAP(username@cubeholding.com): Error: read(mail, uid=58284) failed: Is a directory
I’ve looked at sources and found this message in src/lib-storage/index/index-mail.c, function static int index_mail_stream_check_failure(struct index_mail *mail) but I don’t understand where it come from, I understand it is something about indexes, anyone can explain me more, please?
Turn on mail_debug and check the output regarding the login of the session, there are entries telling you the home directory and mailbox locations and mailbox formats.
I bet that you have configured a mailbox location, e.g. for the INBOX, that ought to be a file, but is in fact a directory.
Regards,
Found the problem: in one maildir there was a directory, that was threated like a message, that is what “Is a directory”.
Regards Andrea
participants (2)
-
Andre
-
Steffen Kaiser