On Wed, 18 Jun 2003, Hans-Chr. Jehg wrote: >Hi >My question is: How do I tell binc that i'd like it to create a symlink to >../ from ./IMAPDIR as INBOX?
I was sort of waiting for that question to turn up at some point.. :) There are several ways to do this, but the easiest that I can think of is to insert a script in the pipeline that checks wether IMAPdir/INBOX exists already, and if it doesn't then a symlink is created. This script can be inserted right before bincimapd is invoked, as the home directory will be the cwd for the script. A script like this could certainly be bundled as a standard part of the package, for those who use the symlink approach. I'm thinking something like this: #!/bin/bash if [ ! -e IMAPdir/INBOX ]; then ln -s ../Maildir IMAPdir/INBOX; fi exec $1 The symlink path would need to be customized though. >And thanx for a beautifull system. Wow - beautiful? :-D Andy -- Andreas Aardal Hanssen | http://www.andreas.hanssen.name/gpg Author of Binc IMAP | Nil desperandum

