On Thu, 20 May 2004, Henry Baragar wrote: >Andy, >On a related note, how does one prevent bincimapd from running on an >individual account? qmail uses the sticky bit on the home directory >(which probably does not work very well for virtual users). >This came up when I was thinking about how to migrate a Maildir++ depot to >an IMAPdir depot. It would be nice not to have to shut down bincimap for >everyone while the migration is being done.
Just insert a script ahead of bincimapd which checks for (for example) a ".disabled" file or something, something like this (although untested): #!/bin/sh if [ -e .disabled ]; then exit 111; fi exec @$ Andy :-) -- Andreas Aardal Hanssen | http://www.andreas.hanssen.name/gpg Author of Binc IMAP | "It is better not to do something http://www.bincimap.org/ | than to do it poorly."
