NFS mounted maildirs

If you have multiple machines running courier-imap and your maildirs are stored on an NFS mount, read this:

# Setting IMAP_USELOCKS to 1 will use dot-locking to support concurrent
# multiple access to the same folder. This incurs slight additional
# overhead. Concurrent multiple access will still work without this setting,
# however occasionally a minor race condition may result in an IMAP client
# downloading the same message twice, or a keyword update will fail.
#
# IMAP_USELOCKS=1 is strongly recommended when shared folders are used.

If you don't, you'll find that when the same user connects at the same time, on different frontends, the aforementioned race condition will happen. It's a good way to eat 3M/s between the machine that lost the race and the NFS filer as it sits there looking for a file which the other machine has nuked.

Upgrade error.

While upgrading an exsisting setup using source build you may get an error in the sanity check during the make check phase.

This may be caused by global shared folders, if you have any.

To fix rename your shared-folders file then restart the make check.

Do not forget to reset your renamed shared-folderes file.

From what I could see it seems that the caputered output from the sanity check will list your shared folders along with the ones created for the sanity tests, this of cause does not match the output expected and hence the make will fail with an error.

Please note that any user can change the contents of pages on this site,
and therefore the Waikato Linux Users Group can offer no assurances that
the information is correct, and the information on this site is not
necessarily the opinion of the Waikato Linux Users Group, or any of its
members. If you have any complaints about the contents of this page,
please do not hesitate to contact the Waikato Linux Users Group, or, click
the Edit button!

Unless otherwise noted, all pages on this site are licensed under the
WlugWikiLicense.