I have Qmail/Courier-Imap/Postresql that works well on RedHat 8.0. I did
it from source though. TLS is an option for security but I believe it
should be there too.  

authmodulelistorig="authcustom authcram authuserdb authldap authmysql

Where's authpgsql?




On Wed, 2003-03-19 at 22:45, Howard Bagcat wrote:
> 
> anyone familiar with courier-imap and courier-imap-pgsql combination, i just 
> installed it via rpm and i 
> end up not able to connect imap server. here's what i get from /var/log/main/info
> 
> Mar 18 09:36:17 tux imapd: Connection, ip=[::ffff:203.172.17.179]
> Mar 18 09:36:17 tux imapd: couriertls: accept: error:14094418:SSL 
> routines:SSL3_READ_BYTES:tlsv1 
> alert unknown ca


> Mar 18 09:36:17 tux imapd: couriertls: acceptConnection reset by peer
> 
> i did some googling and i was able to read documents about SASL?! it says that SASL 
> will play the role 
> of passing "auth" variables to pam, which i believed pass that information to pgsql 
> for authentication of 
> smtp users. talkin' about SASL, is Cyrus-SASL compatible for 
> Courier-imap/Courier-imap-pgsql 
> implementation? and... do i really have to enable TLS? is it required for postfix 
> and courier-imap?
> 
> btw, here's some settings:
> 
> /etc/pam.d/imap
> auth       required     pam_nologin.so
> auth       required     pam_stack.so service=system-auth
> account    required     pam_stack.so service=system-auth
> session    required     pam_stack.so service=system-auth
> 
> /etc/courier/imapd
> ADDRESS=0
> PORT=143
> MAXDAEMONS=1000
> MAXPERIP=8
> PIDFILE=/var/run/courier/imapd.pid
> TCPDOPTS="-nodnslookup -noidentlookup"
> AUTHMODULES="authdaemon"
> AUTHMODULES_ORIG="authdaemon"
> IMAP_CAPABILITY="IMAP4rev1 CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT
> THREAD=REFERENCES SORT"
> IMAP_CAPABILITY_ORIG="IMAP4rev1 CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT
> THREAD=REFERENCES SORT 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=0
> IMAP_EMPTYTRASH=Trash:1
> IMAP_MOVE_EXPUNGE_TO_TRASH=1
> IMAPDSTART=YES
> 
> /etc/courier/authdaemonrc
> authmodulelist="authldap"
> authmodulelistorig="authcustom authcram authuserdb authldap authmysql
> authpam"
> daemons=5
> version=""
> authdaemonvar=/var/run/courier/authdaemon
> 
> /etc/courier/authpgsqlrc
> PGSQL_HOST              localhost
> PGSQL_PORT              5432
> PGSQL_USERNAME          postgres
> PGSQL_PASSWORD
> PGSQL_DATABASE          courier
> PGSQL_USER_TABLE        passwd
> PGSQL_CLEAR_PWFIELD    clear
> PGSQL_UID_FIELD         uid
> PGSQL_LOGIN_FIELD       id
> PGSQL_HOME_FIELD        home
> PGSQL_NAME_FIELD        name
> PGSQL_MAILDIR_FIELD     maildir
> PGSQL_QUOTA_FIELD       quota
> 
> Thanks.
> 
> Regards, Howard.
> 
> H o w a r d    R.    B a g c a t 
> WebAdmin, MUWeb - Edition 4 Project <http://www.mu.edu.ph>
> Systems Programmer, RBT/RBK & MUMC Project 
> Misamis University.Ozamiz City.Philippines 
> tel: 088.521.0367.local.109 | cel: 63.0919.5536179 
> 
> Imagination is more important than knowledge 
> -Albert Einstein 
> 
> 
> 
> 
> Sulat @MU v.2.2 (Fresh) 
> An extended module for MUWeb4 Project of Howard R. Bagcat
> Powered by GNU General Public License softwares.
> 
> http://my.mu.edu.ph - a personalized portal is soon to come.
> 
> 
> _
> Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
> To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
> 
> Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph
> 
> To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL 
> PROTECTED]


_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph

To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL 
PROTECTED]

Reply via email to