LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Squirrelmail Login Problems (https://www.linuxquestions.org/questions/linux-newbie-8/squirrelmail-login-problems-140533/)

doctorcisco 01-30-2004 06:48 PM

Squirrelmail Login Problems
 
I'm quite the newbie on Linux, so assume NOTHING except that I don't know "obvious" things. :-)

Problem: I've installed Squirrelmail to access mail on the box via the web. It's working with Apache; I can surf to the squirrelmail login page. (Getting it to work over SSL is a task for another day ...)

However, when I log in with a valid username and password (that work fine over ssh), I get the following on the squirrelmail login page:

ERROR
Unknown user or password incorrect.

The following error appears in /var/log/auth.log:

Jan 30 18:26:53 Apollo imapd[23782]: Login disabled user=dennis auth=dennis host=localhost [127.0.0.1]

By comparison, here's a successful ssh login:

Jan 30 18:31:56 Apollo sshd[23794]: Accepted password for dennis from 192.168.200.50 port 3403
Jan 30 18:31:56 Apollo ssh(pam_unix)[23796]: session opened for user dennis by (uid=1000)

SMTP server is Postfix (which works fine), POP3 server is qpopper (working fine), imap server is uw-imapd (default config). Running unstable.

Ummmm ... help!

Thanks,
Dennis

doctorcisco 01-31-2004 11:16 AM

bump

LgIeNeUkX 02-10-2004 07:45 AM

Hey there
Just thought I'd see if you ever got it working? I just came up against the exact same problem :(

One thing that works is imaps (imap with SSL) - but I'd really like plain old imap to work too :|

Thanks

jazernorth 02-10-2004 07:54 AM

When you set up squirrel mail you need to verify that menu 2 (Server Settings) is correct:

An Example:
Code:

SquirrelMail Configuration : Read: config.php (1.2.0)
---------------------------------------------------------
Server Settings
1.  Domain              : yourdomain.net
2.  IMAP Server          : 192.168.200.50
3.  IMAP Port            : 143
4.  Use Sendmail/SMTP    : SMTP
6.    SMTP Server        : yourdomain.net
7.    SMTP Port          : 25
8.    Authenticated SMTP : false
9.    POP Before SMTP    : false
10. Server              : cyrus
11. Invert Time          : false
12. Delimiter            : detect

R  Return to Main Menu
C.  Turn color on
S  Save data
Q  Quit

It is important that the above settings match your system. It took me a few changes to make it work.

Remember to make only 1 change at a time, then test. If you make multiple, then you may not ever find the correct settings.

Enjoy.

JN

doctorcisco 02-15-2004 03:37 PM

Hey all, I did get it working (well, a buddy of mine did it). It seems that the uw-imap binary in Debian refuses to use unencrypted login passwords, which is what Squirrelmail passes to the server. uw-imap had to be recompiled with the correct security options. One could, of course, choose to use a different imap server instead.

Currently having trouble with "create new folder" in Squirrelmail also, because the created folders have different permissions. Ah, the joys of being a newbie. :-)

HTH,
doctorcisco


All times are GMT -5. The time now is 05:00 PM.