Hi Joe,

--On Tuesday, August 17, 2004 01:16:46 PM -0700 Joe Zacky <[EMAIL PROTECTED]> wrote in part:

The following are my bincimap run file, the wrapper, and a section from
bincimap.conf. I don't know if they'll work the same on 1.2.8final and
FreeBSD but they're working for me. They may also differ from what the
wiki recommends, I'm not sure.

many thanks Joe for taking the time to post this, I really appreciate it..

----
[EMAIL PROTECTED] joe]$ cat /service/bincimap/run
# !/bin/sh

exec    /usr/local/bin/tcpserver -vRH -l "`hostname`" 0 143 \
        /var/qmail/bin/bincimap-up \
        --logtype=multilog \
        --conf=/var/qmail/control/bincimap.conf -- \
        /usr/local/bin/checkvpw \
        /var/qmail/bin/bincauthwrap \
        /var/qmail/bin/bincimapd Maildir 2>&1

Mine currently is the following:

exec 2>&1

exec tcpserver -c 100 -u 0 -g 0 \
-l $(hostname) -HDRP \
0 993 \
envdir /etc/relay-ctrl /usr/local/bin/relay-ctrl-chdir \ #will have to leave this in new file
/usr/local/bin/bincimap-up \
--logtype=multilog \
--conf=/usr/local/etc/bincimap.conf --ssl -- \
/bin/checkpassword /usr/local/bin/relay-ctrl-allow \
/usr/local/bin/bincimapd


so it looks like I will have to add the relay-ctrl-allow after the checkvpw where it should be. This should not be a problem, and change the flags in tcpserver, and add in the envidr line.

------
[EMAIL PROTECTED] joe]$ cat /var/qmail/bin/bincauthwrap
# !/bin/sh
#
# Wrapper to allow binc imap to use virtual domains (vmailmgr)
# along with local mail users

export MAILDIR="$2"
cd "$HOME"/"$2"
exec "$1"

-------

Nice little wrapper... thanks...


Section from /var/qmail/control/bincimap.conf:

Mailbox {
    depot = "IMAPdir",
    type = "Maildir",
    path = ".",
    auto create inbox = "yes",
    auto subscribe mailboxes = "INBOX",
    umask = "000"
}

Now here there are differences from my existing bincimap.conf file.. depot = "Maildir++", type = "Maildir", path = "Maildir", auto create inbox = "yes", auto subscribe mailboxes = "INBOX", umask = "077" }

So, I will have to change to IMAPdir, and change the umask.

Many thanks for your input...


-- Gary

Reply via email to