PDA

View Full Version : Unable to login



Eric
03-28-2004, 02:51 PM
xinetd is running
1. Created account test from Create POP3 Mail Account
2. Tried to login to SquirrelMail test@mydomain.tld
3. It told me Unknown user or password incorrect

/var/log/messages just says Login failed user=..........

Please help; thanks.
Eric

Eric
03-28-2004, 06:10 PM
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 808/xinetd




cat /etc/virtual/mydomain.tld/passwd
test:15nJ/yunaGrV2


What else should I check?

DirectAdmin Support
03-29-2004, 10:49 AM
Hello,

If the xinetd is in fact listening, which it appers to be, then it's possible that another binary is in the place of the one included with DA.

Try this:

rm -f /usr/sbin/imapd
cd /usr/local/directadmin/scripts
./imapd.sh

John

Eric
03-29-2004, 12:45 PM
I don't think so...
The command below showed nothing; I believe they're identical.


comm -3 /usr/sbin/imapd /usr/local/directadmin/scripts/packages/imapd

Eric
03-29-2004, 08:10 PM
This is odd...
2 domains, one is mydomain.tld, the other is blah.tld
eric@blah.tld shows up; eric@mydomain.tld doesn't.
I can login using eric@blah.tld, but eric@mydomain.tld just outputs the "Unknown user or password incorrect" error message.

Nothing under:
ls -l /var/spool/virtual/mydomain.tld

A file under:
ls -l /var/spool/virtual/blah.tld
-rw-rw---- 1 admin mail 548 Mar 29 22:15 eric

ls -l /home/admin/imap/mydomain.tld
ls: /home/admin/imap/mydomain.tld: No such file or directory

ls -l /home/admin/imap/blah.tld
drwx------ 3 admin admin 4.0K Mar 29 02:45 eric

DirectAdmin Support
03-30-2004, 09:23 AM
Hello,

Is the domain in the /etc/virtual/domains and /etc/virtual/domainowners file?

John

Eric
03-30-2004, 12:05 PM
Yes, it's in both files. The only difference I've found is that mydomain.tld is owned by admin (see below), and blah.tld is owned by the username I specified in setup.sh:
ADMIN_USER=admin_username

cat /etc/virtual/domains
mydomain.tld
blah.tld

cat /etc/virtual/domainowners
mydomain.tld: admin
blah.tld: admin_username

Eric
03-30-2004, 12:09 PM
Problem fixed, I manually edited /etc/virtual/domainowners and changed admin to admin_username