[Dovecot] problem with NFS from Microsoft Windows Services for Unix
Hi all,
I'm using dovecot 1.0 RC24 compiled form source on a OpenBSD 4.0, I use IMAP service with maildir storage and my mail client is Outlook 2003.
If the root of the user maildir stay on the BSD filesystem everything is right. If the root of the maildir is mount on an NFS drive on Microsoft Windows 2003 server, I always have the same error when I try to move mail (under Outlook) form my Pop3 account to my Imap account :
dovecot: Feb 24 21:41:13 Error: IMAP(arno): rename(/var/mail/arno/Maildir/tmp/1172353272.P7684Q1.mail.domaine.fr, /var/mail/arno/Maildir/cur/1172353272.P7684Q1.mail.domaine.fr:2,S) failed: Input/output error
As you see, the name of the file gets an extra string ":2,S" and that's why the new filename can't be created.
what's wrong? thanks
--- dovecot.conf ------------------ base_dir: /var/run/dovecot/ log_path: /dev/stderr protocols: imap listen: *:143 ssl_disable: yes disable_plaintext_auth: no login_dir: /var/run/dovecot//login login_executable: /usr/local/libexec/dovecot/imap-login first_valid_gid: 0 mail_location: maildir:~/Maildir mmap_disable: yes lock_method: dotlock auth default: passdb: driver: passwd-file args: /etc/master.passwd userdb: driver: passwd
Arnaud Grandville wrote:
dovecot: Feb 24 21:41:13 Error: IMAP(arno): rename(/var/mail/arno/Maildir/tmp/1172353272.P7684Q1.mail.domaine.fr, /var/mail/arno/Maildir/cur/1172353272.P7684Q1.mail.domaine.fr:2,S) failed: Input/output error
As you see, the name of the file gets an extra string ":2,S" and that's why the new filename can't be created.
what's wrong? thanks
Intuitively, I expect that the Windows filesystem is refusing to create a filename with a ':' in it.
Cheers, David
David McBride dwm@tastycake.net
At 11:16 PM +0100 2/24/07, Arnaud Grandville imposed structure on a stream of electrons, yielding:
Hi all,
I'm using dovecot 1.0 RC24 compiled form source on a OpenBSD 4.0, I use IMAP service with maildir storage and my mail client is Outlook 2003.
If the root of the user maildir stay on the BSD filesystem everything is right. If the root of the maildir is mount on an NFS drive on Microsoft Windows 2003 server, I always have the same error when I try to move mail (under Outlook) form my Pop3 account to my Imap account :
dovecot: Feb 24 21:41:13 Error: IMAP(arno): rename(/var/mail/arno/Maildir/tmp/1172353272.P7684Q1.mail.domaine.fr, /var/mail/arno/Maildir/cur/1172353272.P7684Q1.mail.domaine.fr:2,S) failed: Input/output error
As you see, the name of the file gets an extra string ":2,S" and that's why the new filename can't be created.
what's wrong?
You are using Windows to store Maildir directories. Do not do that. It cannot work. Maildir message files that are not in the 'new' directory must have colons in their names.
Bill Cole
bill@scconsult.com
Your are right guys !
I have two choices:
- Modify the source code of dovecot, changes are to be reported to mail-storage.h. I just have to set the two #define MAILDIR_INFO_SEP_S and MAILDIR_INFO_SEP to a value that my Windows server could handle
- set a translation character table under my Microsoft NFS service http://support.microsoft.com/kb/324218.
The second seems to be a better choice !
2007/2/25, Bill Cole dovecot-20061108@billmail.scconsult.com:
At 11:16 PM +0100 2/24/07, Arnaud Grandville imposed structure on a stream of electrons, yielding:
Hi all,
I'm using dovecot 1.0 RC24 compiled form source on a OpenBSD 4.0, I use IMAP service with maildir storage and my mail client is Outlook 2003.
If the root of the user maildir stay on the BSD filesystem everything is right. If the root of the maildir is mount on an NFS drive on Microsoft Windows 2003 server, I always have the same error when I try to move mail (under Outlook) form my Pop3 account to my Imap account :
dovecot: Feb 24 21:41:13 Error: IMAP(arno): rename(/var/mail/arno/Maildir/tmp/1172353272.P7684Q1.mail.domaine.fr, /var/mail/arno/Maildir/cur/1172353272.P7684Q1.mail.domaine.fr:2,S) failed: Input/output error
As you see, the name of the file gets an extra string ":2,S" and that's why the new filename can't be created.
what's wrong?
You are using Windows to store Maildir directories. Do not do that. It cannot work. Maildir message files that are not in the 'new' directory must have colons in their names.
Bill Cole bill@scconsult.com
At 8:34 AM +0100 2/25/07, Arnaud Grandville imposed structure on a stream of electrons, yielding:
Your are right guys !
I have two choices:
- Modify the source code of dovecot, changes are to be reported to mail-storage.h. I just have to set the two #define MAILDIR_INFO_SEP_S and MAILDIR_INFO_SEP to a value that my Windows server could handle
- set a translation character table under my Microsoft NFS service http://support.microsoft.com/kb/324218.
The second seems to be a better choice !
A *MUCH* better choice. Changing the info separator would bind your Maildirs to your particular modified version of Dovecot. One of the benefits of Maildir as mailbox storage is that it is rather easy for disparate pieces of software to work with the same mailboxes, while exposing significant message state through the filesystem rather than file content.
--
Bill Cole
bill@scconsult.com
- set a translation character table under my Microsoft NFS service http://support.microsoft.com/kb/324218.
The second seems to be a better choice !
A *MUCH* better choice. Changing the info separator would bind your Maildirs to your particular modified version of Dovecot. One of the benefits of Maildir as mailbox storage is that it is rather easy for disparate pieces of software to work with the same mailboxes, while exposing significant message state through the filesystem rather than file content.
Best choice would be to host the maildirs on a non-windows OS...
;)
--
Best regards,
Charles
participants (4)
-
Arnaud Grandville
-
Bill Cole
-
Charles Marcus
-
David McBride