Hi all,

I am trying to get exim, courier-imap, with virtual domains working 
under debian. I have been working at this for over a week off and on 
and I'm stuck on imap authentication/permissions or something.

I have tried to use courierauthtest but don't see that it provides 
anything more than logging in from my workstation using Netscape 7.1 
email client.

I'm really stuck, I've read everything I can find in the docs, 
googling, etc and would appreciate some help.

-Steve

Here is all the guts and gore ...

Running mostly debian woody 3.0.
Exim is installed and delivering mail to the virtual maildirs.
courier-imap is installed and configured to use authuserdb
I can't login via imap.

Configurations details:

[EMAIL PROTECTED]:/home/courier# ls -al
total 4
drwxrwsr-x    7 mail     mail          224 Mar 28 17:38 .
drwxr-xr-x   13 root     root          304 Mar 28 16:05 ..
drwx--S---    3 mail     mail           72 Mar 28 17:38 
maps.swoodbridge.com
drwxrwsr-x    4 mail     mail           96 Mar 28 17:38 
swoodbridge.com
 [snip other domains]

Exim made the dir maps.swoodbridge.com
I made the dir swoodbridge.com

[EMAIL PROTECTED]:/home/courier# ls -lR swoodbridge.com/
swoodbridge.com/:
total 1
drwx--S---    5 mail     mail          120 Mar 28 16:39 woodbri

swoodbridge.com/woodbri:
total 2
drwx--S---    2 mail     mail           48 Mar 28 16:39 cur
drwx--S---    2 mail     mail          664 Mar 31 21:02 new
drwx--S---    2 mail     mail           48 Mar 31 21:02 tmp

swoodbridge.com/woodbri/cur:
total 0

swoodbridge.com/woodbri/new:
total 44
-rw-rw----    1 mail     mail         2154 Mar 28 21:02 
1080525721.541.maps.swoodbridge.com
         [snip lots more messages]
-rw-rw----    1 mail     mail         3381 Mar 31 21:02 
1080784921.29479.maps.swoodbridge.com

swoodbridge.com/woodbri/tmp:
total 0

In /etc/courier/authdaemonrc:
authmodulelist="authuserdb"
daemons=5
version=''

In /etc/courier/userdb:
woodbri 
uid=8|gid=8|imappw=secret|mail=/home/courier/swoodbridge.com/woodbri
[EMAIL PROTECTED] 
uid=8|gid=8|imappw=secret|mail=/home/courier/swoodbridge.com/woodbri
[EMAIL PROTECTED]    
uid=8|gid=8|imappw=secret|mail=/home/courier/swoodbridge.com/woodbri

where uid=8, gid=8 are user/group for "mail"

In /etc/courier/imapd:

ADDRESS=0
PORT=143
MAXDAEMONS=40
MAXPERIP=4
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:15
IMAP_MOVE_EXPUNGE_TO_TRASH=1
IMAPDSTART=YES

and the following processes are running:

root     32284  0.0  0.0  1760  556 ?        S    Mar28   0:00 
/usr/sbin/couriertcpd -address=0 -
stderrlogger=/usr/sbin/courierlogger -maxprocs=40 -max
root     32287  0.0  0.0  1648  440 ?        S    Mar28   0:00 
/usr/sbin/courierlogger imaplogin
root     32303  0.0  0.0  1760  552 ?        S    Mar28   0:00 
/usr/sbin/couriertcpd -address=0 -
stderrlogger=/usr/sbin/courierlogger -stderrloggername
root     32306  0.0  0.0  1520  304 ?        S    Mar28   0:00 
/usr/sbin/courierlogger imapd-ssl
root      1732  0.0  0.0  1780  564 ?        S    Mar28   0:00 
/usr/lib/courier/authlib/authdaemond.plain start
root      1733  0.0  0.0  1788  716 ?        S    Mar28   0:00 
/usr/lib/courier/authlib/authdaemond.plain start
root      1734  0.0  0.0  1788  716 ?        S    Mar28   0:00 
/usr/lib/courier/authlib/authdaemond.plain start
root      1735  0.0  0.0  1788  716 ?        S    Mar28   0:00 
/usr/lib/courier/authlib/authdaemond.plain start
root      1736  0.0  0.0  1788  716 ?        S    Mar28   0:00 
/usr/lib/courier/authlib/authdaemond.plain start
root      1737  0.0  0.1  2176  988 ?        S    Mar28   0:00 
/usr/lib/courier/authlib/authdaemond.plain start

and Courier-IMAP is responding:

[EMAIL PROTECTED]:/etc/courier# telnet maps 143
Trying 10.1.1.50...
Connected to maps.swoodbridge.com.
Escape character is '^]'.
* OK Courier-IMAP ready. Copyright 1998-2002 Double Precision, Inc.  
See COPYING for distribution information.
1 logout
* BYE Courier-IMAP server shutting down
1 OK LOGOUT completed
Connection closed by foreign host.




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to