I've been struggling to setup non-unix mail accounts with virtual domains, 
using postfix and courier.  I am receiving mail to the accounts, so I believe 
I have the addressing setup correctly.  I cannot however login.  I am running 
this on Redhat 9, and I downloaded the latest courier source and built an rpm 
using rpmbuild. I get the following response from telnet when I try to login 
using one of the virtual accounts:

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 
XCOURIEROUTBOX=INBOX.Outbox] Courier-IMAP ready. Copyright 1998-2004 Double 
Precision, Inc.  See COPYING for distribution information.
a1 login "user" "pass"
a1 NO Login failed.

I have the following line in my userdb file:
"user"       
systempw=8SwdK5fKlFIBw|imappw=8SwdK5fKlFIBw|mail=/var/mail/vhosts/domain.com/w
ebmaster|uid=1003|gid=1005

This is the same uid and gid as the mailbox, which is specified in postfix:
-rw-------    1 1003     1005         3999 Jun 16 21:17 webmaster

I generated the password in userdb with userdbpw....  Is there any other way I 
can verify that it is correct in my userdb file, or attempt to debug this?

One snag I ran into was that when I installed the rpm there was no 
authuserdb... I had to install an earlier rpm I found, then copy the binary 
and update the rpm to the latest version.  Should this not have been built 
with the rpm from the latest source?

Any help or suggestions would be greatly appreciated!



-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to