

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
14 messages in net.sourceforge.lists.courier-usersRe: [courier-users] userdb authentica...| From | Sent On | Attachments |
|---|---|---|
| Secure42 | Apr 18, 2001 4:23 am | |
| dino bartolome | Apr 18, 2001 5:53 am | |
| dino bartolome | Apr 18, 2001 7:32 am | |
| dino bartolome | Apr 18, 2001 7:41 am | |
| Roland Schneider | Apr 18, 2001 8:15 am | |
| dino bartolome | Apr 18, 2001 8:28 am | |
| Roland Schneider | Apr 18, 2001 11:22 am | |
| Sam Varshavchik | Apr 18, 2001 2:39 pm | |
| David Kelly | Apr 18, 2001 3:15 pm | |
| dino bartolome | Apr 18, 2001 3:19 pm | |
| Sam Varshavchik | Apr 18, 2001 3:35 pm | |
| je...@lfcity.org | Apr 19, 2001 8:20 am | |
| Tomas Fasth | Apr 19, 2001 8:29 am | |
| Roland Schneider | Apr 19, 2001 3:05 pm |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | Re: [courier-users] userdb authentication fails | Actions... |
|---|---|---|
| From: | David Kelly (soni...@yahoo.co.nz) | |
| Date: | Apr 18, 2001 3:15:23 pm | |
| List: | net.sourceforge.lists.courier-users | |
I also are having the same trouble authenticating with userdb using courier-imap
Roland, I think Dino is getting confused by alot of your answers because they relate to using the whole courier mail system. My interpretation of Dino emails are that the whole courier mail system is not being used but only courier-imap.
I have had the same problem ... I am trying to use courier-imap as my imap server integrating with Postfix as my MTA I have also followed the instructions, to the letter, outlined on the courier-imap help files. http://www.inter7.com/courierimap/INSTALL.html#install And nothing I do seems to work. Has anyone here had any experience installing courier-imap with other MTA's such as Postfix or Qmail etc??
On another note, is there any real advantage to using courier-imap with another MTA? How good is the courier MTA when compared to something of the likes of postfix or qmail?? (efficiency? security?) And also what is SQWebmail like compared to other Webmail programs like Horde's IMP Webmail?? On inital look at this IMP Webmail looked alot tidier and had alot more niceities than SQWebmail (This was just my inital impression!),
Cheers Dave Kelly
----- Original Message ----- From: "Roland Schneider" <rol...@serv.ch> To: <cour...@lists.sourceforge.net> Sent: Thursday, April 19, 2001 6:22 AM Subject: Re: [courier-users] userdb authentication fails
--On Mittwoch, 18. April 2001 08:29 -0700 dino bartolome <di...@pobox.com> wrote:
i understand that qmail is just the delivery agent but what is that control/checkpassword control file for then? i used the qmail -> vmailmgr -> ourier howto and it said to create that file
As long as your mail gets locally delivered dont change anything in qmail. The checkpassword was used by qmail's pop3d, qmail's checkpasswd and courierpop3login are not compatible.
also my defaultdelivery is set to ./Maildir but the actual maildirs are stored in /home/mailadmin/domains/mydomain.org/user1 ???
Set 'maildir' to this path, and 'home' to the directory containing the (optional) dot-courier for this user. (at least if you use courier/maildrop as delivery-agent).
so i need to modify my defaultdelivery and change it to this path? but this path can't be static since it will be different for every user and i thought the path and home variables are set and specified when i did the userdb...
Dont care about that :) defaultdelivery will only be used if you forget to define 'maildir=somewhere' in your userdb.
this still doesn't explain why courier still refuses to authenticate properly my user... i can send you my plain-text userdb file and the commands i issued to create my user....
courierpop3login fails if etc/userdbshadow.dat is not readable, the user does not exist or - usually - the password dont match.
In userdb: (one singe line)
user1<TAB>uid=12345|gid=12345| home=/home/mailadmin/domains/mydomain.org/user1|maildir=.| systempw=$1$XX$Ivl.i9mJ5CJJTGMHqCF/T/|
where uid and gid is the owner of the maildir above, also set in /etc/passwd and /etc/group but with another name and without password (set to '*') and no valid shell (mailadmin or vmailmgr?). The MD5-hashed systempw is equivalent to 'test', just copy&paste...
Then check your setup after recompiling the userdb:
telnet 127.0.0.1 110 user user1 pass test stat quit
I use the same path for both, with 'mail=.' in userdb. (Sam suggests using 'maildir' for that name, but it seems to work both ways)
i'm not sure i quite follow with this comment... i interprete your comment as: you set path and and mail to "." in userdb??? or you set path and mail the same, but in userdb you set mail=. ???
mail (or maildir, or defaultdelivery) is relative to $HOME. If set to '.' or './' both paths are equivalent. This is perfect if you have 1 Domain == 1 Mailbox or with a 'One Man System'. Mail still may be filtered into different folders or forwarded by the user, configurable via SQWebmail.
If you have 1 Domain == multiple mailboxes you want all the dot-courier-files for this domain in the same directory and the maildirs (at least) one level below:
user1<TAB>home=/home/mailadmin/domains/mydomain.org|maildir=./user1|... user2<TAB>home=/home/mailadmin/domains/mydomain.org|maildir=./user2|... [...]
To prevent conflicting users between different domains:
use...@mydomain.org<TAB>home=/home/mailadmin/domains/mydomain.org|... use...@mydomain.org<TAB>home=/home/mailadmin/domains/mydomain.org|... [...]
If you have this working you are ready to replace qmail with courier, only a few more changes are necessary:
etc/hosteddomains: mydomain.org<TAB>www.mydomain.org etc/esmtpacceptmailfor: mydomain.org etc/aliases: @mydomain.org: user1
or if 1 Domain == X Users: a 'fake' user is needed for for each domain, pointing to the location of the dot-courier (=$HOME):
etc/aliases: @mydomain.org: mydomain.org etc/userdb: mydomain.org<TAB>home=/home/mailadmin/domains/mydomain.org| maildir=./postmaster|uid=12345|gid=12345|systempw=*|
And dont forget to rename ~/.qmail-* to ~/.courier-* :)
Roland
_______________________________________________ courier-users mailing list cour...@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/courier-users
_________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com







