courier-imap/maildrop now doing proper fsync'ing

courier-imap/maildrop now doing proper fsync'ing

Post by Dax Kelso » Thu, 14 Nov 2002 02:50:06



The newest versions of courier-imap, a maildir POP3/POP3S/IMAP/IMAPS
server, and maildrop, a MDA, now have a compile time configure option:

--with-dirsync

Should it now be safe to run ext3 filesystems (that contain the
maildirs) with data=writeback?

BTW, procmail isn't doing proper fsyncing when writing to a maildir.

Dax

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

courier-imap/maildrop now doing proper fsync'ing

Post by Dax Kelso » Thu, 14 Nov 2002 03:00:13


Here is some strace output from email delivery via maildrop compiled
with --with-dirsync:

open("./Maildir/tmp/1037107256.1332_0.mail,S=673", O_WRONLY|O_NONBLOCK|O_CREAT|O_EXCL, 0666) = 3
write(3, "message contents goes here"..., 673) = 673
fsync(3)                          = 0
close(3)                          = 0
link("./Maildir/tmp/1037107256.1332_0.mail,S=673", "./Maildir/new/1037107256.1332_0.mail,S=673") = 0
open("./Maildir/new", O_RDONLY)   = 3
fsync(3)                          = 0
close(3)                          = 0
unlink("./Maildir/tmp/1037107256.1332_0.mail,S=673") = 0
[snip some non-relevant stuff]
exit(0)

Does this look correct/safe? Filesystem is ext3 data=writeback.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. FreeBSD and Courier-IMAP's AuthUserDB

I can't figure out why the port for Courier-IMAP isn't installing the
AuthUserDB module. I've investigated both the build scripts and the ports'
Makefile and I can say that it looks like it's being built. But it's nowhere
under the /usr/local/libexec/courier-imap/authlib tree.

Does anyone have any advice? I was originally gonna try using vpopmail but
then found out that it's be defected by it's own developers. UserDB is fine
for my needs I just can't figure this out. I even (just for the fun of it)
add authuserdb into the pop3d and imapd config files and I just get an ugly
'Not found under this <dir>' blah.

Any help is greatly appreciated.

2. Apache Bug? #2

3. Install vpopmail with Courier-IMAP

4. 1/2" tapes (read and write)

5. courier-imap from the ports....

6. just a few questions

7. Compiling Courier-Imap on openbsd

8. WordPerfect For Unix

9. is the port for courier-imap broken?

10. Qmail and Courier-imap Virtual User Support

11. anyone installed courier-imap+mysql auth successfully?

12. Netscape and Courier-imap

13. courier-imap configure script