I see the following history in my log during message delivery: Mar 1 13:35:09 mailserver postfix/pickup[21464]: 5FAFC2A002: uid=0 from=<root> Mar 1 13:35:09 mailserver postfix/cleanup[21526]: 5FAFC2A002: message-id=<20090301213509.5FAFC2A002 at mailserver.amfeslan.local> Mar 1 13:35:09 mailserver postfix/qmgr[21429]: 5FAFC2A002: from=<root at mailserver.amfeslan.local>, size=367, nrcpt=1 (queue active) Mar 1 13:35:09 mailserver dovecot: auth(default): master in: USER^I1^Idmiller at amfes.com^Iservice=deliver Mar 1 13:35:09 mailserver dovecot: auth(default): master out: USER^I1^Idmiller at amfes.com^Iuid=5000^Igid=8^Ihome=/var/mail/amfes.com/dmiller^Imail=dbox:/var/mail/amfes.com/dmiller/Maildir Mar 1 13:35:10 mailserver deliver(dmiller at amfes.com): fdatasync_path(/var/mail/amfes.com/dmiller/Maildir/INBOX/dbox-Mails) failed: Invalid argument Mar 1 13:35:10 mailserver deliver(dmiller at amfes.com): msgid=<20090301213509.5FAFC2A002 at mailserver.amfeslan.local>: saved mail to INBOX Mar 1 13:35:10 mailserver postfix/pipe[21528]: 5FAFC2A002: to=<dmiller at amfes.com>, relay=dovecot, delay=1.1, delays=0.07/0.01/0/1, dsn=2.0.0, status=sent (delivered via dovecot service) Mar 1 13:35:10 mailserver postfix/qmgr[21429]: 5FAFC2A002: removed -- Daniel
On Mon, 2009-03-02 at 07:31 -0800, Daniel L. Miller wrote:> Mar 1 13:35:10 mailserver deliver(dmiller at amfes.com): > fdatasync_path(/var/mail/amfes.com/dmiller/Maildir/INBOX/dbox-Mails) > failed: Invalid argumentSome OSes/filesystems don't like that. This should help: http://hg.dovecot.org/dovecot-1.1/rev/71b7c7f8d7a2 I'm not sure if CIFS has other problems though. And I hope you're not trying to access the same user's mails in two different servers at the same time? BTW. Is it intentional that you're using dbox format under Maildir? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20090302/1571559f/attachment-0002.bin>
Timo Sirainen wrote:> On Mon, 2009-03-02 at 07:31 -0800, Daniel L. Miller wrote: > >> Mar 1 13:35:10 mailserver deliver(dmiller at amfes.com): >> fdatasync_path(/var/mail/amfes.com/dmiller/Maildir/INBOX/dbox-Mails) >> failed: Invalid argument >> > > Some OSes/filesystems don't like that. This should help: > http://hg.dovecot.org/dovecot-1.1/rev/71b7c7f8d7a2 > > I'm not sure if CIFS has other problems though. And I hope you're not > trying to access the same user's mails in two different servers at the > same time? > > BTW. Is it intentional that you're using dbox format under Maildir? >2nd question first - I am intentionally storing the mail in the /Maildir directory in the user's home directory. I setup the server originally for Maildir format and then thought I'd try out dbox for fun. Unless there's a problem with this... I am NOT trying to access from multiple servers simultaneously. 1st question...hmm...wow. Is that a patch you just wrote?! Cool! Hmm...since I'm running on a pre-compiled package...is this an error I can simply ignore? Your patch seems to indicate you're just ignoring the result of the fsync call. -- Daniel