I am also looking for a way to automagically create the simlink for
IMAPdirs. So i do not have to mess around with stuff everytime i create
a new user. Howerver am confused as i have nerver really done any
scripting so i just cut and paste the stuff from this thread into my
/usr/local/etc/bincimap/imaps/run file like below and it does not work
please can someone point me into the right direction
#!/bin/sh
# $Id: run-ssl.in,v 1.1.1.1 2003/08/18 18:06:05 andreaha Exp $
# daemontools supervise run-file for Binc IMAP Service.
exec 2>&1
exec tcpserver -c 100 -u 0 -g 0 \
-l $(hostname) -HDRP \
0 993 \
/usr/local/bin/bincimap-up \
--logtype=multilog \
--conf=/usr/local/etc/bincimap/bincimap.conf --ssl -- \
/usr/local/bin/checkpassword \
/usr/local/bin/bincimapd
if [ ! -e ./Maildir/INBOX ]; then
(cd Maildir && ln -s . INBOX)
fi
exec $@
test -e Maildir/INBOX || ln -s . Maildir/INBOX
exec $@
Andreas Aardal Hanssen wrote:
On Mon, 24 May 2004, Jason 'XenoPhage' Frisvold wrote:
On Mon, 2004-05-24 at 10:53, Peter Stuge wrote:
Hm, not quite. Try this:
<SNIP>
Cool, thanks.. I can do that in my imap and imaps run files, right?
Go ahead, should work fine.
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."