Renato wrote:
> Hi people...
>
> I'm build a mail server in a company, and I use a qmailrocks. But in
> the 12 pass I have a problem that I donīt find this.
>
> The user suporte@domain.com exist which password, tested in telnet
> localhost 110 and work.
>
> When I test with telnet (telnet localhost 143) it response in console
> this:
> ================================================== ==========
> [root@fauno courier-imap-4.0.2]# telnet localhost 143
> Trying 127.0.0.1...
> Connected to localhost.localdomain (127.0.0.1).
> Escape character is '^]'.
> * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
> THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION
> STARTTLS] Courier-IMAP ready. Copyright 1998-2005 Double Precision,
> Inc. See COPYING for distribution information.
> a login suporte@domain.com 123123
> * BYE Temporary problem, please try again later
> Connection closed by foreign host.
> [root@fauno courier-imap-4.0.2]#
> ================================================== ==========
>
> My server is RHEL 4.2 AS and I follow this pass:
>
> =======================================
> Instalacao do Courier-imap/imaps com Courierpassd
> #rpm -e cyrus-imapd-devel cyrus-imapd
> #cd /downloads/qmailrocks/
> #tar jxvf courier-authlib-0.55.tar.bz2
> #cd courier-authlib-0.55
> #./configure --prefix=/usr/local --exec-prefix=/usr/local
> --with-authvchkpw --without-authldap --without-authmysql
> --disable-root-check --with-ssl
> --with-authchangepwdir=/usr/local/libexec/authlib --with-redhat
> #make && make check
> #make install-strip && make install-configure
> #vi /etc/rc.local
> ==
> /usr/local/sbin/authdaemond start
> ==
> #cd /downloads/qmailrocks/
> #tar jxvf courier-imap-4.0.2.tar.bz2
> #chown -R suporte:wheel courier-imap-4.0.2
> #cd /downloads/qmailrocks/courier-imap-4.0.2
> #su suporte
> #./configure --prefix=/usr/local --exec-prefix=/usr/local
> --with-authvchkpw --without-authldap --without-authmysql
> --disable-root-check --with-ssl
> --with-authchangepwdir=/usr/local/libexec/authlib --with-redhat
> #make && make check
> #exit
> #make install-strip && make install-configure
> #/usr/local/sbin/mkimapdcert
> #vi /usr/local/etc/imapd.cnf
> Modificar postmaster@example.com para o email administrativo do
> servidor
> ==
> emailAddress=suporte@domain.com
> ==
> #vi /usr/local/etc/imapd
> ==
> IMAPDSTART=YES
> ==
> #vi /usr/local/etc/imapd-ssl
> ==
> IMAPDSSLSTART=YES
> [..]
> TLS_CERTFILE=/usr/local/share/imapd.pem
> ==
> #vi /usr/local/etc/authlib/authdaemonrc
> ==
> authmodulelist="authvchkpw"
> ==
> #cp /usr/local/libexec/imapd.rc /etc/rc.d/init.d/imap
> #cp /usr/local/libexec/imapd-ssl.rc /etc/rc.d/init.d/imaps
> #/usr/local/sbin/authdaemond stop
> #/usr/local/sbin/authdaemond start
> #/etc/rc.d/init.d/imap stop
> #/etc/rc.d/init.d/imaps stop
> #/etc/rc.d/init.d/imap start
> #/etc/rc.d/init.d/imaps start
> ==============================================
>
Enable debuging on the Courier-Imap service and check the log.
Likely issue is that it can not access the user's HOME directory.
AK