On Monday, March 7 at 12:03 AM, quoth Alejandro Aguilar Sierra: > I just installed bincimap in a server where I plan to migrate several > domains which are currently using courier. Installing bincimap was very > easy comparing with installing courier. In order to allow a nice migration > from courier's Maildirs, I configured bincimap with depot="Maildir++".
Cool, that's what I did too. At first, anyway. > When I try with an Imap client (squirrelmail), it can see the main INBOX > but can't create subfolders like INBOX.sent. Is this mode really usable or > I have to migrate all my current users to IMAPdir? This mode is really useable. I suggest you check out the "Binc with Squirrelmail" pages. Squirrelmail hosts one: http://www.squirrelmail.org/wiki/en_US/SquirrelMailAndBincIMap Specifically, note the line "This fixes the 'Unable to create INBOX.Sent' problem." > I know this is recommended for new users but I have a lot of old users > from several domains. I can hack all Maildirs with a soft link to INBOX, > as recomended in LWB but what about the folders? > > Any help will be appreciated. One thing that it seems was a stickler for my users was that with BincIMAP, Thunderbird dies very unpleasantly in it's default configuration. Sure, sure, there are webpages explaining exactly what the problem is and how to change Thunderbird's configuration to work around it. The thing is, with Courier, somehow, it "worked" (no idea how---I think Courier was doing something suspicious like remapping "root" directories). Since rolling Binc out to all of my domains, I've since decided that IMAPdir was just a requirement. If it helps, what I did was I put a wrapper around Binc in the run script that automatically converts to IMAPdir when the user logs in (muahaha) (it uses the maildir2imapdir perl script written by Henry Baragar available here: http://article.gmane.org/gmane.mail.imap.binc.general/2566 ). My run file looks like this (I use vpopmail, but the script would work for anyone): #!/bin/sh source /var/lib/bincimap/shared.conf exec 2>&1 exec tcpserver -c 100 -u 0 -g 0 -l $(hostname) -HDRP $IP $PORT \ /var/qmail/bin/bincimap-up \ --logtype=multilog --conf=/etc/bincimap/bincimap.conf \ --pemfile="$IMAPCERT" \ --jail-path="$JAILPATH" \ $SSL -- \ /var/lib/vpopmail/bin/vchkpw \ /usr/local/bin/IMAPdirwrapper.sh \ /usr/sbin/bincimapd And then the IMAPdirwrapper.sh is trivial: #!/bin/sh if [ ! -d "$HOME/IMAPdir" ] ; then /usr/local/bin/maildir2imapdir "$HOME/Maildir" "$HOME/IMAPdir" fi exec $@ I could have also made a script to convert all my users up front, but it was easier to do it this way (I'm lazy). Hope that helps, ~Kyle -- Liberty is the only thing you cannot have unless you are willing to give it to others. -- William Allen White
signature.asc
Description: Digital signature
