Kyle Wheeler wrote:
I created a user called user1 with 2 folders (IMAPDir and Maildir) in his directory /var/qmail/maildirs/user1/
and do a link:
ln -s var/qmail/maildirs/user1/Maildir var/qmail/maildirs/user1/IMAPDir/INBOX
Probably a piddly point, but you know you're missing the initial /'s there, right? That makes it a relative link, rather than an absolute link.
Sorry my typo error in the mail....
but why is new, cur and tmp created in /var/qmail/maildirs/user1/IMAPdir/ whenever bincimap access the INBOX?
Very good question. First, make sure Binc is doing it and not some other part of your system. Then send along your entire bincimap.conf and your run file for it (I assume you're using daemontools).
Below is my entire bincimap.conf
Authentication {
allow plain auth in non ssl = "yes", /* allow login or
authenticate
when not in
SSL/TLS mode */ auth penalty = 4, /* on auth failure,
* server sleeps so
* many seconds
* before allowing
* client to
* authenticate
* again.
*/
disable starttls = "no"
}
//----------------------------------------------------------------------------
Security {
jail path = "/var/qmail/bin",
jail user = "nobody",
jail group = "nobody"
}
//----------------------------------------------------------------------------
Log {
type = "multilog", /* supports
* multilog or
* syslog or
* stderr (for testing).
*/
environment ip variable = "TCPREMOTEIP"
}
//----------------------------------------------------------------------------
Mailbox {
depot = "IMAPdir", /* Use Maildir++ style
* depot. */ type = "Maildir", /* only Maildir
* support */path = "IMAPdir", /* default path "Maildir"*/
auto create inbox = "no", /* create INBOX in
* given format if
* it doesn't
* exist.
* Not Required
*/ auto subscribe mailboxes = "INBOX", /* list mailboxes
* in one string,
* seperated by
* commas
*/ umask = "077" /* use this umask
* when creating
* mailboxes, or
* when copying and
* appending
* messages.
*/
}
//----------------------------------------------------------------------------
Session {
idle timeout = 1860, /* idle timeout in
seconds */ auth timeout = 60, /* timeout before
auth in
seconds */ transfer timeout = 1200, /* timeout per
transferred com
unit (I/O) */ transfer buffer size = 1024 /* number of bytes
to buffer before
passing on to
client. */
}
//----------------------------------------------------------------------------
SSL {
pem file = "/var/qmail/control/cert.pem", /* private key and
certificate
chain PEM file
name */ ca file = "", /* file to use as
certificate
authority */
ca path = "", /* path to search
for more certificate
authorities */cipher list = "!ADH:RC4+RSA:HIGH:MEDIUM:LOW:EXP:+SSLv2:+EXP",
verify peer = "no" }
And below is my bincimaps run file:
#!/bin/sh
exec 2>&1
exec tcpserver -c 100 -u 0 -g 0 \
-l $(hostname) -HDRP \
0 993 \
/var/qmail/bin/bincimap-up \
--logtype=multilog \
--conf=/var/qmail/control/bincimap.conf --ssl -- \
/var/qmail/bin/auth_pop \
/var/qmail/bin/bincimapd IMAPdir
Thanks James
