[vhffs-dev] [506] Add courier example configuration |
[ Thread Index |
Date Index
| More vhffs.org/vhffs-dev Archives
]
Revision: 506
Author: gradator
Date: 2007-03-08 11:44:10 +0000 (Thu, 08 Mar 2007)
Log Message:
-----------
Add courier example configuration
Added Paths:
-----------
branches/vhffs_4.1/vhffs-doc/config/courier/
branches/vhffs_4.1/vhffs-doc/config/courier/authdaemonrc
branches/vhffs_4.1/vhffs-doc/config/courier/authmodulelist
branches/vhffs_4.1/vhffs-doc/config/courier/authpgsqlrc
branches/vhffs_4.1/vhffs-doc/config/courier/imapd
branches/vhffs_4.1/vhffs-doc/config/courier/imapd-ssl
branches/vhffs_4.1/vhffs-doc/config/courier/pop3d
branches/vhffs_4.1/vhffs-doc/config/courier/pop3d-ssl
trunk/vhffs-doc/config/courier/
trunk/vhffs-doc/config/courier/authdaemonrc
trunk/vhffs-doc/config/courier/authmodulelist
trunk/vhffs-doc/config/courier/authpgsqlrc
trunk/vhffs-doc/config/courier/imapd
trunk/vhffs-doc/config/courier/imapd-ssl
trunk/vhffs-doc/config/courier/pop3d
trunk/vhffs-doc/config/courier/pop3d-ssl
Added: branches/vhffs_4.1/vhffs-doc/config/courier/authdaemonrc
===================================================================
--- branches/vhffs_4.1/vhffs-doc/config/courier/authdaemonrc 2007-03-07 15:08:29 UTC (rev 505)
+++ branches/vhffs_4.1/vhffs-doc/config/courier/authdaemonrc 2007-03-08 11:44:10 UTC (rev 506)
@@ -0,0 +1,5 @@
+authmodulelist="authpgsql"
+authmodulelistorig="authcustom authcram authuserdb authldap authpgsql authmysql authpam"
+daemons=5
+version=""
+authdaemonvar=/var/run/courier/authdaemon
Added: branches/vhffs_4.1/vhffs-doc/config/courier/authmodulelist
===================================================================
--- branches/vhffs_4.1/vhffs-doc/config/courier/authmodulelist 2007-03-07 15:08:29 UTC (rev 505)
+++ branches/vhffs_4.1/vhffs-doc/config/courier/authmodulelist 2007-03-08 11:44:10 UTC (rev 506)
@@ -0,0 +1 @@
+authdaemon
Added: branches/vhffs_4.1/vhffs-doc/config/courier/authpgsqlrc
===================================================================
--- branches/vhffs_4.1/vhffs-doc/config/courier/authpgsqlrc 2007-03-07 15:08:29 UTC (rev 505)
+++ branches/vhffs_4.1/vhffs-doc/config/courier/authpgsqlrc 2007-03-08 11:44:10 UTC (rev 506)
@@ -0,0 +1,19 @@
+PGSQL_HOST 127.0.0.1
+PGSQL_PORT 5432
+PGSQL_USERNAME vhffs
+PGSQL_PASSWORD pass
+PGSQL_DATABASE vhffs
+PGSQL_USER_TABLE vhffs_boxes
+PGSQL_CRYPT_PWFIELD password_hash
+PGSQL_CLEAR_PWFIELD password
+DEFAULT_DOMAIN vhffs.org
+PGSQL_DOMAIN_FIELD domain
+PGSQL_UID_FIELD 102 as uid
+PGSQL_GID_FIELD 102 as gid
+PGSQL_LOGIN_FIELD local_part
+PGSQL_USER_FIELD local_part
+PGSQL_HOME_FIELD mbox_name
+HOME_PREFIX /data/mail/boxes
+PGSQL_SELECT_CLAUSE SELECT local_part||'@'||domain , password_hash, password, 102 as uid, 102 as gid, '/data/mail/boxes/'||domain_hash||'/', mbox_name || '/Maildir', '', '', '' FROM vhffs_boxes WHERE local_part = '$(local_part)' AND domain='$(domain)'
+PGSQL_ENUMERATE_CLAUSE SELECT local_part, 102 as uid, 102 as gid, domain_hash|| '/'|| mbox_name), '' FROM vhffs_boxes WHERE local_part = '$(local_part)' AND domain = '$(domain)'
+PGSQL_CHPASS_CLAUSE UPDATE vhffs_boxes SET clearpw='$(newpass)', password_hash='$(newpass_crypt)' WHERE local_part='$(local_part)' AND domain_name='$(domain)'
Added: branches/vhffs_4.1/vhffs-doc/config/courier/imapd
===================================================================
--- branches/vhffs_4.1/vhffs-doc/config/courier/imapd 2007-03-07 15:08:29 UTC (rev 505)
+++ branches/vhffs_4.1/vhffs-doc/config/courier/imapd 2007-03-08 11:44:10 UTC (rev 506)
@@ -0,0 +1,29 @@
+ADDRESS=0
+PORT=143
+MAXDAEMONS=40
+MAXPERIP=20
+PIDFILE=/var/run/courier/imapd.pid
+TCPDOPTS="-nodnslookup -noidentlookup"
+AUTHMODULES="authdaemon"
+AUTHMODULES_ORIG="authdaemon"
+DEBUG_LOGIN=1
+IMAP_CAPABILITY="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE"
+IMAP_KEYWORDS=1
+IMAP_CAPABILITY_ORIG="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 AUTH=CRAM-SHA1 IDLE"
+IMAP_IDLE_TIMEOUT=60
+IMAP_CAPABILITY_TLS="$IMAP_CAPABILITY AUTH=PLAIN"
+IMAP_CAPABILITY_TLS_ORIG="$IMAP_CAPABILITY_ORIG AUTH=PLAIN"
+IMAP_DISABLETHREADSORT=0
+IMAP_CHECK_ALL_FOLDERS=0
+IMAP_OBSOLETE_CLIENT=0
+IMAP_ULIMITD=65536
+IMAP_USELOCKS=1
+IMAP_SHAREDINDEXFILE=/etc/courier/shared/index
+IMAP_ENHANCEDIDLE=0
+IMAP_TRASHFOLDERNAME=Trash
+IMAP_EMPTYTRASH=Trash:7
+IMAP_MOVE_EXPUNGE_TO_TRASH=0
+SENDMAIL=/usr/sbin/sendmail
+HEADERFROM=X-IMAP-Sender
+IMAPDSTART=YES
+MAILDIRPATH=Maildir
Added: branches/vhffs_4.1/vhffs-doc/config/courier/imapd-ssl
===================================================================
--- branches/vhffs_4.1/vhffs-doc/config/courier/imapd-ssl 2007-03-07 15:08:29 UTC (rev 505)
+++ branches/vhffs_4.1/vhffs-doc/config/courier/imapd-ssl 2007-03-08 11:44:10 UTC (rev 506)
@@ -0,0 +1,14 @@
+SSLPORT=993
+SSLADDRESS=0
+SSLPIDFILE=/var/run/courier/imapd-ssl.pid
+IMAPDSSLSTART=YES
+IMAPDSTARTTLS=YES
+IMAP_TLS_REQUIRED=0
+COURIERTLS=/usr/bin/couriertls
+TLS_PROTOCOL=SSL3
+TLS_STARTTLS_PROTOCOL=TLS1
+TLS_CERTFILE=/etc/courier/imapd.pem
+TLS_VERIFYPEER=NONE
+TLS_CACHEFILE=/var/lib/courier/couriersslcache
+TLS_CACHESIZE=524288
+MAILDIRPATH=Maildir
Added: branches/vhffs_4.1/vhffs-doc/config/courier/pop3d
===================================================================
--- branches/vhffs_4.1/vhffs-doc/config/courier/pop3d 2007-03-07 15:08:29 UTC (rev 505)
+++ branches/vhffs_4.1/vhffs-doc/config/courier/pop3d 2007-03-08 11:44:10 UTC (rev 506)
@@ -0,0 +1,15 @@
+PIDFILE=/var/run/courier/pop3d.pid
+MAXDAEMONS=40
+MAXPERIP=4
+AUTHMODULES="authdaemon"
+AUTHMODULES_ORIG="authdaemon"
+DEBUG_LOGIN=1
+POP3AUTH=""
+POP3AUTH_ORIG="LOGIN CRAM-MD5 CRAM-SHA1"
+POP3AUTH_TLS=""
+POP3AUTH_TLS_ORIG="LOGIN PLAIN"
+PORT=110
+ADDRESS=0
+TCPDOPTS="-nodnslookup -noidentlookup"
+POP3DSTART=YES
+MAILDIRPATH=Maildir
Added: branches/vhffs_4.1/vhffs-doc/config/courier/pop3d-ssl
===================================================================
--- branches/vhffs_4.1/vhffs-doc/config/courier/pop3d-ssl 2007-03-07 15:08:29 UTC (rev 505)
+++ branches/vhffs_4.1/vhffs-doc/config/courier/pop3d-ssl 2007-03-08 11:44:10 UTC (rev 506)
@@ -0,0 +1,14 @@
+SSLPORT=995
+SSLADDRESS=0
+SSLPIDFILE=/var/run/courier/pop3d-ssl.pid
+POP3DSSLSTART=YES
+POP3_STARTTLS=YES
+POP3_TLS_REQUIRED=0
+COURIERTLS=/usr/bin/couriertls
+TLS_PROTOCOL=SSL3
+TLS_STARTTLS_PROTOCOL=TLS1
+TLS_CERTFILE=/etc/courier/pop3d.pem
+TLS_VERIFYPEER=NONE
+TLS_CACHEFILE=/var/lib/courier/couriersslcache
+TLS_CACHESIZE=524288
+MAILDIRPATH=Maildir
Added: trunk/vhffs-doc/config/courier/authdaemonrc
===================================================================
--- trunk/vhffs-doc/config/courier/authdaemonrc 2007-03-07 15:08:29 UTC (rev 505)
+++ trunk/vhffs-doc/config/courier/authdaemonrc 2007-03-08 11:44:10 UTC (rev 506)
@@ -0,0 +1,5 @@
+authmodulelist="authpgsql"
+authmodulelistorig="authcustom authcram authuserdb authldap authpgsql authmysql authpam"
+daemons=5
+version=""
+authdaemonvar=/var/run/courier/authdaemon
Added: trunk/vhffs-doc/config/courier/authmodulelist
===================================================================
--- trunk/vhffs-doc/config/courier/authmodulelist 2007-03-07 15:08:29 UTC (rev 505)
+++ trunk/vhffs-doc/config/courier/authmodulelist 2007-03-08 11:44:10 UTC (rev 506)
@@ -0,0 +1 @@
+authdaemon
Added: trunk/vhffs-doc/config/courier/authpgsqlrc
===================================================================
--- trunk/vhffs-doc/config/courier/authpgsqlrc 2007-03-07 15:08:29 UTC (rev 505)
+++ trunk/vhffs-doc/config/courier/authpgsqlrc 2007-03-08 11:44:10 UTC (rev 506)
@@ -0,0 +1,19 @@
+PGSQL_HOST 127.0.0.1
+PGSQL_PORT 5432
+PGSQL_USERNAME vhffs
+PGSQL_PASSWORD pass
+PGSQL_DATABASE vhffs
+PGSQL_USER_TABLE vhffs_boxes
+PGSQL_CRYPT_PWFIELD password_hash
+PGSQL_CLEAR_PWFIELD password
+DEFAULT_DOMAIN vhffs.org
+PGSQL_DOMAIN_FIELD domain
+PGSQL_UID_FIELD 102 as uid
+PGSQL_GID_FIELD 102 as gid
+PGSQL_LOGIN_FIELD local_part
+PGSQL_USER_FIELD local_part
+PGSQL_HOME_FIELD mbox_name
+HOME_PREFIX /data/mail/boxes
+PGSQL_SELECT_CLAUSE SELECT local_part||'@'||domain , password_hash, password, 102 as uid, 102 as gid, '/data/mail/boxes/'||domain_hash||'/', mbox_name || '/Maildir', '', '', '' FROM vhffs_boxes WHERE local_part = '$(local_part)' AND domain='$(domain)'
+PGSQL_ENUMERATE_CLAUSE SELECT local_part, 102 as uid, 102 as gid, domain_hash|| '/'|| mbox_name), '' FROM vhffs_boxes WHERE local_part = '$(local_part)' AND domain = '$(domain)'
+PGSQL_CHPASS_CLAUSE UPDATE vhffs_boxes SET clearpw='$(newpass)', password_hash='$(newpass_crypt)' WHERE local_part='$(local_part)' AND domain_name='$(domain)'
Added: trunk/vhffs-doc/config/courier/imapd
===================================================================
--- trunk/vhffs-doc/config/courier/imapd 2007-03-07 15:08:29 UTC (rev 505)
+++ trunk/vhffs-doc/config/courier/imapd 2007-03-08 11:44:10 UTC (rev 506)
@@ -0,0 +1,29 @@
+ADDRESS=0
+PORT=143
+MAXDAEMONS=40
+MAXPERIP=20
+PIDFILE=/var/run/courier/imapd.pid
+TCPDOPTS="-nodnslookup -noidentlookup"
+AUTHMODULES="authdaemon"
+AUTHMODULES_ORIG="authdaemon"
+DEBUG_LOGIN=1
+IMAP_CAPABILITY="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE"
+IMAP_KEYWORDS=1
+IMAP_CAPABILITY_ORIG="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 AUTH=CRAM-SHA1 IDLE"
+IMAP_IDLE_TIMEOUT=60
+IMAP_CAPABILITY_TLS="$IMAP_CAPABILITY AUTH=PLAIN"
+IMAP_CAPABILITY_TLS_ORIG="$IMAP_CAPABILITY_ORIG AUTH=PLAIN"
+IMAP_DISABLETHREADSORT=0
+IMAP_CHECK_ALL_FOLDERS=0
+IMAP_OBSOLETE_CLIENT=0
+IMAP_ULIMITD=65536
+IMAP_USELOCKS=1
+IMAP_SHAREDINDEXFILE=/etc/courier/shared/index
+IMAP_ENHANCEDIDLE=0
+IMAP_TRASHFOLDERNAME=Trash
+IMAP_EMPTYTRASH=Trash:7
+IMAP_MOVE_EXPUNGE_TO_TRASH=0
+SENDMAIL=/usr/sbin/sendmail
+HEADERFROM=X-IMAP-Sender
+IMAPDSTART=YES
+MAILDIRPATH=Maildir
Added: trunk/vhffs-doc/config/courier/imapd-ssl
===================================================================
--- trunk/vhffs-doc/config/courier/imapd-ssl 2007-03-07 15:08:29 UTC (rev 505)
+++ trunk/vhffs-doc/config/courier/imapd-ssl 2007-03-08 11:44:10 UTC (rev 506)
@@ -0,0 +1,14 @@
+SSLPORT=993
+SSLADDRESS=0
+SSLPIDFILE=/var/run/courier/imapd-ssl.pid
+IMAPDSSLSTART=YES
+IMAPDSTARTTLS=YES
+IMAP_TLS_REQUIRED=0
+COURIERTLS=/usr/bin/couriertls
+TLS_PROTOCOL=SSL3
+TLS_STARTTLS_PROTOCOL=TLS1
+TLS_CERTFILE=/etc/courier/imapd.pem
+TLS_VERIFYPEER=NONE
+TLS_CACHEFILE=/var/lib/courier/couriersslcache
+TLS_CACHESIZE=524288
+MAILDIRPATH=Maildir
Added: trunk/vhffs-doc/config/courier/pop3d
===================================================================
--- trunk/vhffs-doc/config/courier/pop3d 2007-03-07 15:08:29 UTC (rev 505)
+++ trunk/vhffs-doc/config/courier/pop3d 2007-03-08 11:44:10 UTC (rev 506)
@@ -0,0 +1,15 @@
+PIDFILE=/var/run/courier/pop3d.pid
+MAXDAEMONS=40
+MAXPERIP=4
+AUTHMODULES="authdaemon"
+AUTHMODULES_ORIG="authdaemon"
+DEBUG_LOGIN=1
+POP3AUTH=""
+POP3AUTH_ORIG="LOGIN CRAM-MD5 CRAM-SHA1"
+POP3AUTH_TLS=""
+POP3AUTH_TLS_ORIG="LOGIN PLAIN"
+PORT=110
+ADDRESS=0
+TCPDOPTS="-nodnslookup -noidentlookup"
+POP3DSTART=YES
+MAILDIRPATH=Maildir
Added: trunk/vhffs-doc/config/courier/pop3d-ssl
===================================================================
--- trunk/vhffs-doc/config/courier/pop3d-ssl 2007-03-07 15:08:29 UTC (rev 505)
+++ trunk/vhffs-doc/config/courier/pop3d-ssl 2007-03-08 11:44:10 UTC (rev 506)
@@ -0,0 +1,14 @@
+SSLPORT=995
+SSLADDRESS=0
+SSLPIDFILE=/var/run/courier/pop3d-ssl.pid
+POP3DSSLSTART=YES
+POP3_STARTTLS=YES
+POP3_TLS_REQUIRED=0
+COURIERTLS=/usr/bin/couriertls
+TLS_PROTOCOL=SSL3
+TLS_STARTTLS_PROTOCOL=TLS1
+TLS_CERTFILE=/etc/courier/pop3d.pem
+TLS_VERIFYPEER=NONE
+TLS_CACHEFILE=/var/lib/courier/couriersslcache
+TLS_CACHESIZE=524288
+MAILDIRPATH=Maildir