On Wed, Feb 02, 2005 at 08:28:03AM -0800, Bob Van Zant wrote: > Then kdump to see the goodies: > > 15645 bincimapd GIO fd 5 wrote 94 bytes > "<30>Feb 2 08:18:19 bincimapd[15645]: when entering depot > "Maildir": N\ > o such file or directory" > > DOH! That was easy. Created a Maildir for that user and everything > looks good.
Great! If your users typically don't have a Maildir on first login you can add a small wrapper script to Binc's run file, which creates Maildir if it doesn't exist. Here's what I use: (symlink because of the IMAPdir depot) foo:/usr/local/sbin$ cat imapdir_inbox_link #!/bin/sh test -d Maildir || /data/qmail/bin/maildirmake Maildir test -e Maildir/INBOX || /bin/ln -s . Maildir/INBOX exec $@ > Thanks for the ktrace idea. Never done that before. Caution, it's addictive. I find it an easy way to really know what's going on when something doesn't work. Which can be annoying when it isn't available. :) Corresponding command on Linux is strace, Solaris truss. //Peter
