Courier-imap
Title: Courier-imap Hi, I'm still trying to setup my courier-imap server. Here's what I'm doing to create my first user My personnal Maildir is in /home/mikael/.Maildir * Userdb "[EMAIL PROTECTED]" set home=/home/mikael mail=/home/mikael/.Maildir uid=1000 gid=1000 * Then userdbpw | userdb "[EMAIL PROTECTED]" set imappw * And Makeuserdb * server:/etc/courier# userdb -show [EMAIL PROTECTED] * But it doesn't work ... * The logs show Oct 24 19:13:29 server imaplogin: Connection, ip=[:::192.168.0.2] Oct 24 19:13:36 server imaplogin: LOGIN FAILED, ip=[:::192.168.0.2] Oct 24 19:13:50 server imaplogin: LOGIN FAILED, ip=[:::192.168.0.2] * A telnet to the server server:~# telnet server 143 Trying 192.168.8.20... Connected to server.eits.info. Escape character is '^]'. * OK Courier-IMAP ready. Copyright 1998-2002 Double Precision, Inc. See COPYING for distribution information. Did anybody succeeded in installing courier imap ? And how do you manage user creation ? Could someone show me an example of his/her userdb file ? Where are the password located ?
Courier-imap configuration
Title: Courier-imap configuration Hi list, I'm trying to set up an imap server on my debian box. Some documentation refers about the file userdb but it doesn't exit on my box. My questions is : - Where can I find the courier-imap configuration file on debian with entries like that ? userdb "[EMAIL PROTECTED]" set home=/home/vmail \ mail=/home/vmail/Maildir-john-example \ uid=UUU gid=GGG What is the process to make it work ? Thanx
Re: Courier-imap configuration
On Thu, Oct 24, 2002 at 11:35:03AM +0100, Mikael Jirari wrote: > Hi list, > > I'm trying to set up an imap server on my debian box. > Some documentation refers about the file userdb but it doesn't exit on my > box. > > My questions is : > > - Where can I find the courier-imap configuration file on debian with > entries like that ? > userdb "[EMAIL PROTECTED]" set home=/home/vmail \ > mail=/home/vmail/Maildir-john-example \ > uid=UUU gid=GGG IIRC, the userdb file is /etc/courier/userdb. See userdb(1) etc. SRH -- Steve Haslam Reading, UK [EMAIL PROTECTED] Debian GNU/Linux Maintainer [EMAIL PROTECTED] Your heart has been ruptured and it will never heal To get another heart you'll have to steal[leæther strip] msg08665/pgp0.pgp Description: PGP signature
RE: Courier-imap configuration
Title: RE: Courier-imap configuration I've looked into check /usr/lib/courier but it's not the configuration script. Also /etc/courier/userdb doesn't exist. I found a howto but it's in italian and my italian is not very good. I created userdb but it doesn't resolve the problem. Actually authentificatioin succeeds with my personal account that existed before I installed courier-imap-ssl. But with the newly created it doesn't. I'd like to find the file where I'd be able to precise the locate where the system should retrieve the mails, Something like that mail=/home/vmail/Maildir-john-example Also be able to create accounts etc. But at least find where are the settings of my account which surprisly works. Thanx -Original Message- From: Steve Haslam [mailto:[EMAIL PROTECTED]] Sent: 24 October 2002 11:56 To: '[EMAIL PROTECTED]' Subject: Re: Courier-imap configuration On Thu, Oct 24, 2002 at 11:35:03AM +0100, Mikael Jirari wrote: > Hi list, > > I'm trying to set up an imap server on my debian box. > Some documentation refers about the file userdb but it doesn't exit on > my box. > > My questions is : > > - Where can I find the courier-imap configuration file on debian with > entries like that ? userdb "[EMAIL PROTECTED]" set home=/home/vmail \ > mail=/home/vmail/Maildir-john-example \ > uid=UUU gid=GGG IIRC, the userdb file is /etc/courier/userdb. See userdb(1) etc. SRH -- Steve Haslam Reading, UK [EMAIL PROTECTED] Debian GNU/Linux Maintainer [EMAIL PROTECTED] Your heart has been ruptured and it will never heal To get another heart you'll have to steal [leæther strip]
Re: Courier-imap configuration
Hello On Thu, 24 Oct 2002 11:35:03 +0100 Mikael Jirari <[EMAIL PROTECTED]> wrote: > I'm trying to set up an imap server on my debian box. > Some documentation refers about the file userdb but it doesn't exit on > my box. You will have to create this file by yourself (in /etc/courier). All your mail accounts have to be entered there, and you can also set the location of the maildir, as in your example. To make the IMAP server (actually the authdaemon) recognize the accounts, the userdb file needs to be converted into a binary format. It's done with the 'makeuserdb' command. For more details have a look at the man-pages. Oh, and don't forget to set the authmodulelist to 'authuserdb' in the authdaemon config. HTH, Thomas -- Reading computer manuals without the hardware is as frustrating as reading sex manuals without the software. - Arthur C Clarke -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
exim/courier-imap login problems
I'm currently running exim MTA for a small group. Most are using POP cleints but I prefer to use IMAP. I would also like to use IMAP with SSL/TLS support. I have been running the package called "imap" and it has been working fine except that it takes up 70MB of memory. I'm not sure whiy but maybe it's got something to do with Exim storing files in MBOX format ??? My inbox (/var/mail/bjsimon) is 14MB. From reading some of the posts on this list, I think I can configure Exim to use maildir format. Does anyone know if this will reduce the memory used for imapd ? Will my exisiting mail still be available ? If so, do I have to do anything special ? From the debian package information and courier docs, it seems that courier is quite big and well thoguht out. Can anyone shed some light on how it compares with Exim as an MTA ? Is it better, faster, more scaleable than Exim. What are the pros and cons (briefly). I tried the courier-imap and courier-imap-ssl packages but could not get any of them to work. My mail client couldn't login. I believe I am using the PAM authentication module so I shouldn't need the /etc/userdb file, right ?? It should just work using the standard user logins right ??? Thanks for any help (ps, I'm using Debian 3.0 on PowerPC and Intel systems) Kind regards, Brendan Simon. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
RE: exim/courier-imap login problems
I am using courier-imap with the following settings and it works perfectly. Do you get any error messages while trying to connect to imapd ? to set up an account i simply add a standard linux user and run maildirmake ~account/Maildir and after that it's possible for the user to login to the imap server with his linux login/pw. I am using Exim as MTA. /Jonas /etc/courier/authdaemonrc authmodulelist="authpam" authmodulelistorig="authcustom authcram authuserdb authldap authmysql authpam" daemons=5 version="" authdaemonvar=/var/run/courier/authdaemon /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_DISABLETHREADSORT=0IMAP_DISABLETHREADSORT=0 IMAP_IDLE_TIMEOUT=60IMAP_CHECK_ALL_FOLDERS=0 IMAP_OBSOLETE_CLIENT=0IMAP_OBSOLETE_CLIENT=0 IMAP_ULIMITD=65536IMAP_ULIMITD=65536 IMAP_USELOCKS=0IMAP_USELOCKS=0 IMAP_EMPTYTRASH=Trash:7IMAP_EMPTYTRASH=Trash:7 IMAP_MOVE_EXPUNGE_TO_TRASH=0 IMAPDSTART=YESIMAPDSTART=YES IMAP_EMPTYTRASH=Trash:7 -Original Message- From: Brendan J Simon [mailto:[EMAIL PROTECTED]] Sent: den 24 september 2002 07:51 To: [EMAIL PROTECTED] Subject: exim/courier-imap login problems I'm currently running exim MTA for a small group. Most are using POP cleints but I prefer to use IMAP. I would also like to use IMAP with SSL/TLS support. I have been running the package called "imap" and it has been working fine except that it takes up 70MB of memory. I'm not sure whiy but maybe it's got something to do with Exim storing files in MBOX format ??? My inbox (/var/mail/bjsimon) is 14MB. From reading some of the posts on this list, I think I can configure Exim to use maildir format. Does anyone know if this will reduce the memory used for imapd ? Will my exisiting mail still be available ? If so, do I have to do anything special ? From the debian package information and courier docs, it seems that courier is quite big and well thoguht out. Can anyone shed some light on how it compares with Exim as an MTA ? Is it better, faster, more scaleable than Exim. What are the pros and cons (briefly). I tried the courier-imap and courier-imap-ssl packages but could not get any of them to work. My mail client couldn't login. I believe I am using the PAM authentication module so I shouldn't need the /etc/userdb file, right ?? It should just work using the standard user logins right ??? Thanks for any help (ps, I'm using Debian 3.0 on PowerPC and Intel systems) Kind regards, Brendan Simon. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]