Gary wrote:

Hi Jeremy,

--On Tuesday, August 17, 2004 02:37:48 PM -0500 Jeremy Kitchen <[EMAIL PROTECTED]> wrote in part:

Thanks for writing Joe. I remember seeing this awhile back, and will
check it out in detail when the wiki comes up again. IIRC, since 1.2.8,
there is no need for a wrapper, *I think* (may be wrong here). Is
anyone using vmailmgr with 1.2.8 ?


I am.

Is Joe's wrapper still needed for 1.2.8?


as far as I know.


Terrific... thanks guys... now I know what must be done. Appreciate your responses. I just hate flying blind on a live system, and don't have time to play in the sand. <g>

p.s. I am hoping I will not have trouble with Joe's wrapper and adding relay-control to it, as I have that working on the current binc run script too. Will find out late tonight <g>

thanks again. ..

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.


Joe

--------
[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
------
[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"

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

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




Reply via email to