telnet localhost 143 - "BYE Temporary problem, please try again later"

This is a discussion on telnet localhost 143 - "BYE Temporary problem, please try again later" within the alt.comp.mail.qmail forums, part of the Mail Servers and Related category; Hi people... I'm build a mail server in a company, and I use a qmailrocks. But in the 12 ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.qmail

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-10-2006
Renato
 
Posts: n/a
Default telnet localhost 143 - "BYE Temporary problem, please try again later"

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
==============================================

Reply With Quote
  #2 (permalink)  
Old 07-11-2006
AK
 
Posts: n/a
Default Re: telnet localhost 143 - "BYE Temporary problem, please try againlater"

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
Reply With Quote
  #3 (permalink)  
Old 07-11-2006
flashweb@gmail.com
 
Posts: n/a
Default Re: telnet localhost 143 - "BYE Temporary problem, please try again later"

After installation, you may need to run

/usr/local/sbin/authdaemond start

manually as it is added to rc.local, which execute on server startup
only.

Two days back, i have followed same steps on my server and i got IMAP
working.

Thanks,

Yujin

www.ScriptInstallation.in






AK wrote:
> 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


Reply With Quote
  #4 (permalink)  
Old 07-11-2006
Renato
 
Posts: n/a
Default Re: telnet localhost 143 - "BYE Temporary problem, please try again later"

Hi people

I started the service manually in the end of the post, but doesnīt
work. I rebooted the machine, and nothing, the same error.

How do I do to enable debug ont the Courier-Imap service to check the
log and where gerated the log?

[]s


flashweb@gmail.com wrote:
> After installation, you may need to run
>
> /usr/local/sbin/authdaemond start
>
> manually as it is added to rc.local, which execute on server startup
> only.
>
> Two days back, i have followed same steps on my server and i got IMAP
> working.
>
> Thanks,
>
> Yujin
>
> www.ScriptInstallation.in
>
>
>
>
>
>
> AK wrote:
> > 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


Reply With Quote
  #5 (permalink)  
Old 07-11-2006
AK
 
Posts: n/a
Default Re: telnet localhost 143 - "BYE Temporary problem, please try againlater"

Renato wrote:

> Hi people
>
> I started the service manually in the end of the post, but doesnīt
> work. I rebooted the machine, and nothing, the same error.
>
> How do I do to enable debug ont the Courier-Imap service to check the
> log and where gerated the log?
>
> []s
>
>


Check /var/log/syslog. within the IMAP configuration there should be a
referene to the debug level and/or to the syslog facility.

AK

> flashweb@gmail.com wrote:
>
>>After installation, you may need to run
>>
>>/usr/local/sbin/authdaemond start
>>
>>manually as it is added to rc.local, which execute on server startup
>>only.
>>
>>Two days back, i have followed same steps on my server and i got IMAP
>>working.
>>
>>Thanks,
>>
>>Yujin
>>
>>www.ScriptInstallation.in
>>
>>
>>
>>
>>
>>
>>AK wrote:
>>
>>>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

>
>

Reply With Quote
  #6 (permalink)  
Old 07-13-2006
Renato
 
Posts: n/a
Default Re: telnet localhost 143 - "BYE Temporary problem, please try again later"

Hi

I setup the imap's debug to 2, but I use RedHat EL4, and donīt find
the syslog.

In maillog, when I try telnet localhost 143 with a user valid the show
me this logs:

In console:
==
[root@fauno log]# 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 postmaster@bews.com.br abc123
* BYE Temporary problem, please try again later
Connection closed by foreign host.
[root@fauno log]#
==

In maillog
====
Jul 7 16:05:42 fauno imapd: Connection, ip=[::ffff:127.0.0.1]
Jul 7 16:05:58 fauno imapd: authdaemon: s_connect() failed: No such
file or directory
Jul 7 16:05:58 fauno imapd: LOGIN FAILED, user=postmaster@bews.com.br,
ip=[::ffff:127.0.0.1]
Jul 7 16:05:58 fauno imapd: authentication error: No such file or
directory
====


Whatīs happening

[]s



AK wrote:
> Renato wrote:
>
> > Hi people
> >
> > I started the service manually in the end of the post, but doesnīt
> > work. I rebooted the machine, and nothing, the same error.
> >
> > How do I do to enable debug ont the Courier-Imap service to check the
> > log and where gerated the log?
> >
> > []s
> >
> >

>
> Check /var/log/syslog. within the IMAP configuration there should be a
> referene to the debug level and/or to the syslog facility.
>
> AK
>
> > flashweb@gmail.com wrote:
> >
> >>After installation, you may need to run
> >>
> >>/usr/local/sbin/authdaemond start
> >>
> >>manually as it is added to rc.local, which execute on server startup
> >>only.
> >>
> >>Two days back, i have followed same steps on my server and i got IMAP
> >>working.
> >>
> >>Thanks,
> >>
> >>Yujin
> >>
> >>www.ScriptInstallation.in
> >>
> >>
> >>
> >>
> >>
> >>
> >>AK wrote:
> >>
> >>>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

> >
> >


Reply With Quote
  #7 (permalink)  
Old 07-13-2006
AK
 
Posts: n/a
Default Re: telnet localhost 143 - "BYE Temporary problem, please try againlater"

Renato wrote:

> Hi
>
> I setup the imap's debug to 2, but I use RedHat EL4, and donīt find
> the syslog.
>
> In maillog, when I try telnet localhost 143 with a user valid the show
> me this logs:
>
> In console:
> ==
> [root@fauno log]# 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 postmaster@bews.com.br abc123
> * BYE Temporary problem, please try again later
> Connection closed by foreign host.
> [root@fauno log]#
> ==
>
> In maillog
> ====
> Jul 7 16:05:42 fauno imapd: Connection, ip=[::ffff:127.0.0.1]
> Jul 7 16:05:58 fauno imapd: authdaemon: s_connect() failed: No such
> file or directory
> Jul 7 16:05:58 fauno imapd: LOGIN FAILED, user=postmaster@bews.com.br,
> ip=[::ffff:127.0.0.1]
> Jul 7 16:05:58 fauno imapd: authentication error: No such file or
> directory
> ====
>
>
> Whatīs happening
>
> []s
>
>
>
> AK wrote:
>
>>Renato wrote:
>>
>>
>>>Hi people
>>>
>>>I started the service manually in the end of the post, but doesnīt
>>>work. I rebooted the machine, and nothing, the same error.
>>>
>>>How do I do to enable debug ont the Courier-Imap service to check the
>>>log and where gerated the log?
>>>
>>>[]s
>>>
>>>

>>
>>Check /var/log/syslog. within the IMAP configuration there should be a
>>referene to the debug level and/or to the syslog facility.
>>
>>AK
>>
>>
>>>flashweb@gmail.com wrote:
>>>
>>>
>>>>After installation, you may need to run
>>>>
>>>>/usr/local/sbin/authdaemond start
>>>>
>>>>manually as it is added to rc.local, which execute on server startup
>>>>only.
>>>>
>>>>Two days back, i have followed same steps on my server and i got IMAP
>>>>working.
>>>>
>>>>Thanks,
>>>>
>>>>Yujin
>>>>
>>>>www.ScriptInstallation.in
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>AK wrote:
>>>>
>>>>
>>>>>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
>>>
>>>

>


The authentication against the authvchkpw mechanism is not working. I
beleive when you install the auth pakage there are tests that you can
perform to make sure that you can authenticate. This might be your
problem. Double check you authdaemon setup and make sure that you can
authenticate against it directly. Then work your way back to the
courier-imap setup and test there.

AK
Reply With Quote
  #8 (permalink)  
Old 07-13-2006
Renato
 
Posts: n/a
Default [RESOLVED]Re: telnet localhost 143 - "BYE Temporary problem, please try again later"

Hi people

My problem was RESOLVED, finally :))))

Probably I wrote this line (authmodulelist="authvchkpw") in
/usr/local/etc/authlib/authdaemonrc

Because I check this line, rewrote and restarted the service:

==
#/usr/local/sbin/authdaemond stop
#/etc/rc.d/init.d/imap stop
#/etc/rc.d/init.d/imaps stop
#/usr/local/sbin/authdaemond start
#/etc/rc.d/init.d/imap start
#/etc/rc.d/init.d/imaps start
==

and I try via telnet and works

thankīs

[]s

Renato wrote:
> Hi
>
> I setup the imap's debug to 2, but I use RedHat EL4, and donīt find
> the syslog.
>
> In maillog, when I try telnet localhost 143 with a user valid the show
> me this logs:
>
> In console:
> ==
> [root@fauno log]# 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 postmaster@bews.com.br abc123
> * BYE Temporary problem, please try again later
> Connection closed by foreign host.
> [root@fauno log]#
> ==
>
> In maillog
> ====
> Jul 7 16:05:42 fauno imapd: Connection, ip=[::ffff:127.0.0.1]
> Jul 7 16:05:58 fauno imapd: authdaemon: s_connect() failed: No such
> file or directory
> Jul 7 16:05:58 fauno imapd: LOGIN FAILED, user=postmaster@bews.com.br,
> ip=[::ffff:127.0.0.1]
> Jul 7 16:05:58 fauno imapd: authentication error: No such file or
> directory
> ====
>
>
> Whatīs happening
>
> []s
>
>
>
> AK wrote:
> > Renato wrote:
> >
> > > Hi people
> > >
> > > I started the service manually in the end of the post, but doesnīt
> > > work. I rebooted the machine, and nothing, the same error.
> > >
> > > How do I do to enable debug ont the Courier-Imap service to check the
> > > log and where gerated the log?
> > >
> > > []s
> > >
> > >

> >
> > Check /var/log/syslog. within the IMAP configuration there should be a
> > referene to the debug level and/or to the syslog facility.
> >
> > AK
> >
> > > flashweb@gmail.com wrote:
> > >
> > >>After installation, you may need to run
> > >>
> > >>/usr/local/sbin/authdaemond start
> > >>
> > >>manually as it is added to rc.local, which execute on server startup
> > >>only.
> > >>
> > >>Two days back, i have followed same steps on my server and i got IMAP
> > >>working.
> > >>
> > >>Thanks,
> > >>
> > >>Yujin
> > >>
> > >>www.ScriptInstallation.in
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>AK wrote:
> > >>
> > >>>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
> > >
> > >


Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:23 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0