Squirrelmail problem

Discussion in 'General' started by teves, Dec 19, 2006.

  1. teves

    teves Member

    Hi,

    I have installed the Squirrelmail package on my (perfect setup) Suse 10.1 / ISPConfig server. It seems to work (the logon screen comes up), but when I try to login with one of the mail accounts I get the message: 'Unknown user or password incorrect.' This seems to be the case for ANY mail account I have.
    What did I do wrong?
    BTW: I installed squirrelmail as ISPConfig admin.

    Thank you,
    regards, Tom
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    For squirrelmail you must use the susername (normall in the format web[ID]_user) for login and not the email address.
     
  3. teves

    teves Member

    Hello,

    no, this is what I already tried; it doesn't work.

    regards, tom
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Can you login with a normal mailcliebt like thunderbird or outlook?
     
  5. teves

    teves Member

    Yes. The whole mail server works perfectly (at least until I wished to add webmail... ;-) )
    I can access via both pop3 and imap and with or without ssl, and send in all ways also.
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    maybe your Imap server is not listening on localhost. Please post the output of the command:

    neststat -tap

    Do you get any errors in your mail logfile?
     
  7. teves

    teves Member

    This is it:

    servername:/home/user # netstat -tap
    Aktive Internetverbindungen (Server und stehende Verbindungen)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 *:5801 *:* LISTEN 18094/xinetd
    tcp 0 0 *:mysql *:* LISTEN 20987/mysqld
    tcp 0 0 *:5901 *:* LISTEN 18094/xinetd
    tcp 0 0 *:sunrpc *:* LISTEN 2337/portmap
    tcp 0 0 servername.scr:www-http softkit-bbDcbl1.b:12336 SYN_RECV -
    tcp 0 0 *:smtps *:* LISTEN 7599/master
    tcp 0 0 *:hosts2-ns *:* LISTEN 7414/ispconfig_http
    tcp 0 0 *:ftp *:* LISTEN 6373/vsftpd
    tcp 0 0 *:smtp *:* LISTEN 7599/master
    tcp 0 0 localhost:54280 localhost:sunrpc TIME_WAIT -
    tcp 0 0 *:imaps *:* LISTEN 4809/couriertcpd
    tcp 0 0 *:55234 *:* LISTEN 2826/xdm
    tcp 0 0 *:pop3s *:* LISTEN 4777/couriertcpd
    tcp 0 0 *:5864 *:* LISTEN 2780/sshd
    tcp 0 0 *:pop3 *:* LISTEN 4714/couriertcpd
    tcp 0 0 *:imap *:* LISTEN 4747/couriertcpd
    tcp 0 0 *:www-http *:* LISTEN 7482/httpd2-prefork
    tcp 0 0 *:smtps *:* LISTEN 7599/master
    tcp 0 0 *:smtp *:* LISTEN 7599/master
    tcp 0 0 *:https *:* LISTEN 7482/httpd2-prefork
    tcp 0 2220 servername.scribbl:5864 p57A4A7DA.dip0.t-:63105 VERBUNDEN 9439/sshd: user
    tcp 0 0 servername.scribbl:pop3 p57A4A7DA.dip0.t-:63106 FIN_WAIT2 -
    tcp 0 0 servername.scribb:imaps p57A4A7DA.dip0.t-:61966 VERBUNDEN 5976/couriertls

    The last three rows seem strange to me. after 'servername.' you see only a few chars of the domainname. Might this be faulty?
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    The servername is only truncated in the output, thats not a problem. The Imap server is listening on all IP addresses, thats fine too.

    Which errors do you get in the mail logfile?
     
  9. teves

    teves Member

    errors in:
    /var/log/mail:
    Dec 19 22:56:07 whitespace imapd-ssl: of the File Access Monitor daemon (famd).
    Dec 19 22:57:07 whitespace imapd-ssl: Failed to create cache file: maildirwatch (web4_info)
    Dec 19 22:57:07 whitespace imapd-ssl: Error: Input/output error
    Dec 19 22:57:07 whitespace imapd-ssl: Check for proper operation and configuration
    Dec 19 22:57:07 whitespace imapd-ssl: of the File Access Monitor daemon (famd).
    Dec 19 22:57:17 whitespace pop3d: Connection, ip=[::ffff:87.164.167.218]
    Dec 19 22:57:17 whitespace pop3d: LOGIN, user=web2_info, ip=[::ffff:87.164.167.218]
    Dec 19 22:57:17 whitespace pop3d: LOGOUT, user=web2_info, ip=[::ffff:87.164.167.218], top=0, retr=0, time=0

    /var/log/mail.err
    Dec 19 23:00:07 whitespace imapd-ssl: Failed to create cache file: maildirwatch (web4_info)
    Dec 19 23:00:07 whitespace imapd-ssl: Error: Input/output error
    Dec 19 23:00:07 whitespace imapd-ssl: Check for proper operation and configuration
    Dec 19 23:00:07 whitespace imapd-ssl: of the File Access Monitor daemon (famd).


    Seems like famd is the problem. But what is it? Never heard of it.
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    If i remember correctly, famd is a daemon that whatches if a file has changed. Please correct me, if I'am wrong :)

    Please execute:

    ls -la /var/www/web4/user/web4_info
     
  11. teves

    teves Member

    servername:/home/user # ls -la /srv/www/web4/user/web4_info/
    insgesamt 128
    drwxr-xr-x 4 web4_info web4 4096 2006-12-19 11:20 .
    drwxr-xr-x 3 root web4 4096 2006-12-19 11:20 ..
    -rw-r--r-- 1 root root 103 2006-12-19 11:20 .antivirus.rc
    -rw-r--r-- 1 root root 778 2006-12-19 11:20 .autoresponder.rc
    -rw------- 1 web4_info web4 24 2006-12-19 11:20 .forward
    -rw-r--r-- 1 root root 67866 2006-12-19 11:20 .html-trap.rc
    -rw-r--r-- 1 root root 3889 2006-12-19 11:20 .local-rules.rc
    drwx------ 8 web4_info web4 4096 2006-12-19 11:24 Maildir
    -rw-r--r-- 1 root root 204 2006-12-19 11:20 .mailsize.rc
    -rw-r--r-- 1 root root 450 2006-12-19 11:20 .procmailrc
    -rw-r--r-- 1 root root 656 2006-12-19 11:20 .quota.rc
    -rw-r--r-- 1 root root 1145 2006-12-19 11:20 .spamassassin.rc
    -rw-r--r-- 1 root root 2010 2006-12-19 11:20 .user_prefs
    -rw-r--r-- 1 root root 32 2006-12-19 11:20 .vacation.msg
    drwxrwxr-x 2 web4_info web4 4096 2006-12-19 11:20 web
     
  12. falko

    falko Super Moderator Howtoforge Staff

Share This Page