|
Providing reliable services since 2001 |
Custom Search
|
23 Feb 2012 11:22 am GMT +8
Home > Resources > Scripts & Patches > Mailfront Imapfront-auth DovecotYOU ARE FREE TO USE THIS SCRIPT/PATCHES/GUIDE BUT I AM NOT RESPONSIBLE FOR ANY DAMAGE CAUSED! YOU HAVE BEEN WARNED!!!
wget http://choon.net/opensource/mailfront-imapfront-auth-dovecot/mailfront-imapfront-auth-dovecot-0.04.tar.bz2 -P /usr/local/src
cd /usr/local/src/ tar jxvf mailfront-imapfront-auth-dovecot-0.04.tar.bz2
cd mailfront-imapfront-auth-dovecot-0.04 make
make install
#!/bin/sh DOVECOTWRAPPER="" # Default to support dovecot 1.2 if [ -x "/usr/libexec/dovecot/imap" ] ; then IMAPD=/usr/libexec/dovecot/imap if [ -x "/usr/bin/mailfront-imapfront-auth-dovecot" ] ; then DOVECOTWRAPPER=/usr/bin/mailfront-imapfront-auth-dovecot # uncomment below line if you are using dovecot version 2 #export DOVECOT_V2=1 # uncomment below line if you want to see debug message #export IMAPFRONTAUTH_DOVECOT_DEBUG=1 elif [ -x "/usr/local/bin/mailfront-imapfront-auth-dovecot" ] ; then # uncomment below line if you are using dovecot version 2 #export DOVECOT_V2=1 DOVECOTWRAPPER=/usr/local/bin/mailfront-imapfront-auth-dovecot # uncomment below line if you want to see debug message #export IMAPFRONTAUTH_DOVECOT_DEBUG=1 fi elif [ -x "/usr/local/bin/imapd" ] ; then IMAPD=/usr/local/bin/imapd elif [ -x "/usr/lib/courier-imap/bin/imapd" ] ; then IMAPD=/usr/lib/courier-imap/bin/imapd else IMAPD=/usr/bin/imapd fi if [ -x "/usr/bin/imapfront-auth" ] ; then IMAPFRONT_AUTH=/usr/bin/imapfront-auth else IMAPFRONT_AUTH=/usr/local/bin/imapfront-auth fi ulimitdata=500000000 concurrency=40 CVM_SASL_PLAIN=cvm-local:/tmp/.cvm-vmailmgr CVM_SASL_LOGIN=cvm-local:/tmp/.cvm-vmailmgr export CVM_SASL_PLAIN export CVM_SASL_LOGIN exec \ softlimit -m $ulimitdata \ tcpserver -DHRUvX -c "$concurrency" -l "`head -n 1 /var/qmail/control/me`" \ -x /etc/tcpcontrol/imap.cdb 0 imap \ $IMAPFRONT_AUTH $DOVECOTWRAPPER \ $IMAPD 2>&1
All trademarks, trade names, service marks and logos referenced herein belong to their respective companies.
Copyright © 2001 - 2009, CHOON.NET. All rights reserved.