LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices

Reply
 
Search this Thread
Old 07-03-2005, 10:07 AM   #1
madunix
LQ Newbie
 
Registered: Oct 2003
Posts: 25

Rep: Reputation: 0
Courier Imap Problems


Hostname: mail
Domain: mail.sdc
IP: 10.5.1.11

authitication for pop3 and smtp works
authentication via imap using webmail (SquirrelMail version 1.4.3a) or telnet to port 143
it gave the following


----//----------------------------------------------
[root@mail sdc]# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
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 fadi@mail.sdc password
* BYE Temporary problem, please try again later
Connection closed by foreign host.
[root@mail sdc]#

------------------------//------------------------------------------
Jul 3 14:30:29 mail authdaemond.ldap: modules="authcustom authcram authuserdb authvchkpw authldap authpam", daemons=5
Jul 3 14:40:19 mail imapd: Connection, ip=[::ffff:10.5.1.11]
Jul 3 14:40:19 mail imapd: authdaemon: s_connect() failed: No such file or directory
Jul 3 14:40:19 mail imapd: LOGIN FAILED, user=fadi@mail.sdc, ip=[::ffff:10.5.1.11]
Jul 3 14:40:19 mail imapd: authentication error: No such file or directory
Jul 3 16:51:54 mail authdaemond.ldap: restarting authdaemond children
Jul 3 16:51:54 mail authdaemond.ldap: modules="authcustom authcram authuserdb authvchkpw authldap authpam", daemons=5
Jul 3 17:19:55 mail authdaemond.ldap: modules="authcustom authcram authuserdb authvchkpw authldap authpam", daemons=5
Jul 3 17:25:27 mail spamd[1678]: server started on port 783 (running version 2.44)
Jul 3 17:26:55 mail authdaemond.ldap: modules="authcustom authcram authuserdb authvchkpw authldap authpam", daemons=5
Jul 3 17:27:41 mail imapd: Connection, ip=[::ffff:10.5.1.11]
Jul 3 17:27:41 mail imapd: authdaemon: s_connect() failed: No such file or directory
Jul 3 17:27:41 mail imapd: LOGIN FAILED, user=fadi, ip=[::ffff:10.5.1.11]
Jul 3 17:27:41 mail imapd: authentication error: No such file or directory
Jul 3 17:28:00 mail imapd: Connection, ip=[::ffff:10.5.1.11]
Jul 3 17:28:00 mail imapd: authdaemon: s_connect() failed: No such file or directory
Jul 3 17:28:00 mail imapd: LOGIN FAILED, user=fadi@mail.sdc, ip=[::ffff:10.5.1.11]
Jul 3 17:28:00 mail imapd: authentication error: No such file or directory
Jul 3 17:30:53 mail imapd: Connection, ip=[::ffff:127.0.0.1]
Jul 3 17:31:03 mail imapd: authdaemon: s_connect() failed: No such file or directory
Jul 3 17:31:03 mail imapd: LOGIN FAILED, user=fadi@mail.sdc, ip=[::ffff:127.0.0.1]
Jul 3 17:31:03 mail imapd: authentication error: No such file or directory
-----------------------------//------------------------------

[..]
# or anything else.

##NAME: authmodulelist:2
#
# The authentication modules that are linked into authdaemond. The
# default list is installed. You may selectively disable modules simply
# by removing them from the following list. The available modules you
# can use are: authvchkpw authpipe
#
# DEFAULT SETTING from /usr/local/courier-authlib/etc/authlib/authdaemonrc.dist:
#
#authmodulelist="authvchkpw authpipe"
#
authmodulelist="authvchkpw"


##NAME: authmodulelistorig:3
#
# This setting is used by Courier's webadmin module, and should be left
# alone
#
# Previous setting (inserted by sysconftool):
#
#
# authmodulelistorig="authvchkpw"
#

authmodulelistorig="authvchkpw authpipe"
[..]
------------//-----------------------------------
[root@mail sdc]# ps -aux | grep imap
vpopmail 1940 0.0 0.0 1356 408 ? S 17:26 0:00 /usr/local/courier-authlib/sbin/courierlogger imapd
vpopmail 1949 0.0 0.0 1348 272 ? S 17:26 0:00 /usr/local/courier-authlib/sbin/courierlogger imapd-ssl
root 1954 0.0 0.0 1476 516 ? S 17:26 0:00 /usr/local/courier-imap/libexec/couriertcpd -address=0 -stderrlogger=/usr/local/courier-authlib/sbin/courierlogger -stderrloggername=pop3d-ssl -maxprocs=40 -maxperip=4 -pid=/var/run/pop3d-ssl.pid -nodnslookup -noidentlookup 995 /usr/local/courier-imap/bin/c
root 1961 0.0 0.0 1356 416 ? S 17:26 0:00 /usr/local/courier-imap/sbin/courierlogger -pid=/usr/local/courier-imap/var/authdaemon/pid -start /usr/local/courier-imap/libexec/authlib/authdaemond.ldap
root 1962 0.0 0.1 4300 1152 ? S 17:26 0:00 /usr/local/courier-imap/libexec/authlib/authdaemond.ldap
root 2061 0.0 0.0 3752 560 pts/0 S 17:33 0:00 grep imap

----------//---------------------
[root@mail sdc]# ps -aux | grep auth
root 1866 0.8 0.7 20368 7980 ? S 17:25 0:04 /usr/X11R6/bin/X :0 -auth /var/gdm/:0.Xauth vt7
vpopmail 1940 0.0 0.0 1356 408 ? S 17:26 0:00 /usr/local/courier-authlib/sbin/courierlogger imapd
vpopmail 1949 0.0 0.0 1348 272 ? S 17:26 0:00 /usr/local/courier-authlib/sbin/courierlogger imapd-ssl
root 1954 0.0 0.0 1476 516 ? S 17:26 0:00 /usr/local/courier-imap/libexec/couriertcpd -address=0 -stderrlogger=/usr/local/courier-authlib/sbin/courierlogger -stderrloggername=pop3d-ssl -maxprocs=40 -maxperip=4 -pid=/var/run/pop3d-ssl.pid -nodnslookup -noidentlookup 995 /usr/local/courier-imap/bin/c
root 1957 0.0 0.0 1352 276 ? S 17:26 0:00 /usr/local/courier-authlib/sbin/courierlogger pop3d-ssl
root 1961 0.0 0.0 1356 416 ? S 17:26 0:00 /usr/local/courier-imap/sbin/courierlogger -pid=/usr/local/courier-imap/var/authdaemon/pid -start /usr/local/courier-imap/libexec/authlib/authdaemond.ldap
root 1962 0.0 0.1 4300 1152 ? S 17:26 0:00 /usr/local/courier-imap/libexec/authlib/authdaemond.ldap
root 2063 0.0 0.0 3748 556 pts/0 S 17:33 0:00 grep auth
--------//-----------------------------
 
Old 09-22-2005, 06:37 AM   #2
womd
Member
 
Registered: Sep 2005
Location: Austria
Posts: 35

Rep: Reputation: 15
SUSE9.1 , courier-mailserver (included in distr.) , postfix (included in distr)

postfix is working , delivering mails to users Maiboxes ( Mailbox-format is Maildir)

setting in postfix/main.cf: home_mailbox = Mailbox/

postfix should add the "Maildir" Mailbox if missing, which it does, but the same error occures.... i deleted the Mailbox folder and added a ned mailbox with:

maildirmake $HOME/Mailbox username

... postfix sitll working, delivering mail to this new created Maildir.


the errormsgs:

i: telnet localhost imap2

server: * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION XCOURIEROUTBOX=INBOX.Outbox] Courier-IMAP ready. Copyright 1998-2004 Double Precision, Inc. See COPYING for distribution information.

i: AB LOGIN "username" "password"

server: * BYE [ALERT] Fatal error: Maildir: No such file or directory
Connection closed by foreign host.


the logfile: /var/log/mail

Sep 22 13:21:46 master1 imapd: Connection, ip=[::ffff:xxx.xxx.xxx.xxx]
Sep 22 13:21:55 master1 imapd: chdir Maildir: No such file or directory


... thank you for your time ..




Last edited by womd; 09-22-2005 at 06:39 AM.
 
Old 02-19-2006, 09:34 AM   #3
branden_burger
Member
 
Registered: Dec 2004
Posts: 66

Rep: Reputation: 15
I fixed this error by changing the authmodulelist in
/usr/local/etc/authlib/authdaemonrc

only to authmodulelist="authvchkpw"

assuming that is the kind of authentication you are using.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
posfix with courier maildrop and courier-imap Anuragn Linux - Enterprise 4 01-17-2007 04:33 AM
qmail-ldap + courier-imap woes (imap capability) syahid Linux - General 1 10-12-2005 12:03 AM
Configuring courier-imap courier-pop redsky Debian 1 06-02-2004 03:09 PM
Configuring courier-imap courier-pop redsky Linux - Software 0 06-01-2004 12:06 PM
Postfix+Courier-IMAP Login Problems kasb Linux - Software 1 11-02-2003 07:15 AM


All times are GMT -5. The time now is 04:56 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration