******/usr/local/etc/bincimap/imap/run #!/bin/sh # $Id: run.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 \
127.0.0.1 143 \
/usr/local/bin/bincimap-up \
--logtype=multilog \
--conf=/usr/local/etc/bincimap/bincimap.conf -- \
/usr/local/bin/checkpassword \
/usr/local/bin/bincimapd
******/usr/local/etc/bincimap/imaps/run
#!/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
*****/usr/local/etc/bincimap/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 = "/usr/local/bin",
jail user = "nobody",
jail group = "nobody"
}
//----------------------------------------------------------------------------
Log {
type = "syslog", /* 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 = "Maildir", /* default path */
auto create inbox = "yes", /* create INBOX in
* given format if
* it doesn't
* exist.
*/
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
transferred com
unit (I/O) */
transfer buffer size = 1024 /* number of bytes
to buffer before
passing on to
client. */
}
//----------------------------------------------------------------------------
SSL {
pem file = "/usr/local/etc/bincimap/imap.pem", /* private key and
certificate
chain PEM file
name */
ca file = "", /* file to use as
certificate
authority */
cipher list = "!ADH:RC4+RSA:HIGH:MEDIUM:LOW:EXP:+SSLv2:+EXP",
verify peer = "yes"
}
//----------------------------------------------------------------------------
/* $Id: bincimap.conf.in,v 1.2 2003/08/23 12:53:25 andreaha Exp $ */
