cannot log in to squirrelmail

Discussion in 'Installation/Configuration' started by Zander1983, May 22, 2012.

  1. Zander1983

    Zander1983 New Member

    Hi
    Ive installed squirrelmail and added an email account for my domain through ispconfig3. On the squirrelmail login page at http://1.2.3.4/webmail/src/login.php, I get an error saying "Unknown user or password incorrect". Im using the email adress and password i just set up through isp config 3. But squirrelmail does not recognise them. What am i doing wrong??
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Are there any errors in your mail log (in the /var/log/ directory)?
     
  3. Zander1983

    Zander1983 New Member

    Its very very hard to assess what errors belong to what action because for some reason the server logs take about an hour to update when something goes wrong. makes the task even harder. i think this is error when i try to log in:

    May 23 12:31:39 ubuntu sm-mta[10351]: q4MDM1P9027787: to=<[email protected]>, ctladdr=<[email protected]> (0/0), delay=23:09:38, xdelay=00:00:00, mailer=esmtp, pri=12630629, relay=mydomain.com., dsn=4.0.0, stat=Deferred: Connection refused by mydomain.com.
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Have you tried to run
    Code:
    tail -f /var/log/mail.log
    ? This gives you a live output of the mail log so that you can try to log into SquirrelMail and at the same time check what happens in the mail log.
     
  5. Zander1983

    Zander1983 New Member

    I have actually went through this entire tutorial: http://www.howtoforge.com/virtual-users-domains-postfix-courier-mysql-squirrelmail-ubuntu9.04

    and followed all the steps. It involved changing an awful lot of configuration files. but i stil couldn't get it working. What I want is just one email address ([email protected]) with the ability to send and receive emails. I do not need clients to be able to have their own email addresses.

    So what is the best solution? Should i change back all the confirguration files i changed in above tutorial and attempt to get squirrelmail working with isp config 3 and imap?
     
  6. falko

    falko Super Moderator Howtoforge Staff

    That tutorial is not compatible with ISPConfig.

    Please check your mail log.
     
  7. prometheus_seven

    prometheus_seven New Member

    Hmmmm

    So, instead of helping me with my problem, you deleted my post? What's the point of this forum then? I already bought the IPSconfig 3 manual but my email got messed up after installing IPSconfig. Oh Well... Live and learn
     
  8. falko

    falko Super Moderator Howtoforge Staff

    What post? We didn't delete any post...
     
  9. prometheus_seven

    prometheus_seven New Member

    Can you please point me in the right direction then?

    I'm sorry but I did post upon your request but it's no longer relevant. As stated before, I could login to squirrelmail before the installation of ISPconfig3 using the tuturial for the perferct server 11.10. After ISPconfig, using the same username and password, no go. I even use a different user. The Maildir directory is there however still can't login as I previously did. Here's my log. Can you guide me?

    djems@titanus:~$ tail -f /var/log/mail.log
    May 30 05:05:01 titanus postfix/smtpd[30011]: disconnect from localhost.localdomain[127.0.0.1]
    May 30 05:05:24 titanus imapd: Connection, ip=[::ffff:127.0.0.1]
    May 30 05:05:24 titanus imapd: LOGIN FAILED, user=djems, ip=[::ffff:127.0.0.1]
    May 30 05:05:29 titanus imapd: LOGOUT, ip=[::ffff:127.0.0.1], rcvd=43, sent=332
    May 30 05:06:08 titanus imapd: Connection, ip=[::ffff:127.0.0.1]
    May 30 05:06:08 titanus imapd: LOGIN FAILED, user=djems, ip=[::ffff:127.0.0.1]
    May 30 05:06:13 titanus imapd: LOGOUT, ip=[::ffff:127.0.0.1], rcvd=43, sent=332
    May 30 05:07:02 titanus imapd: Connection, ip=[::ffff:127.0.0.1]
    May 30 05:07:02 titanus imapd: LOGIN FAILED, user=djems, ip=[::ffff:127.0.0.1]
    May 30 05:07:07 titanus imapd: LOGOUT, ip=[::ffff:127.0.0.1], rcvd=43, sent=332
    May 30 05:07:15 titanus imapd: Connection, ip=[::ffff:127.0.0.1]
    May 30 05:07:15 titanus imapd: LOGIN FAILED, user=djems, ip=[::ffff:127.0.0.1]
    May 30 05:07:20 titanus imapd: LOGOUT, ip=[::ffff:127.0.0.1], rcvd=43, sent=332



    djems@titanus:~$ tail -f /var/log/syslog
    May 30 05:06:08 titanus imapd: Connection, ip=[::ffff:127.0.0.1]
    May 30 05:06:08 titanus imapd: LOGIN FAILED, user=djems, ip=[::ffff:127.0.0.1]
    May 30 05:06:13 titanus imapd: LOGOUT, ip=[::ffff:127.0.0.1], rcvd=43, sent=332
    May 30 05:07:01 titanus CRON[30080]: (root) CMD (/usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log)
    May 30 05:07:02 titanus imapd: Connection, ip=[::ffff:127.0.0.1]
    May 30 05:07:02 titanus imapd: LOGIN FAILED, user=djems, ip=[::ffff:127.0.0.1]
    May 30 05:07:07 titanus imapd: LOGOUT, ip=[::ffff:127.0.0.1], rcvd=43, sent=332
    May 30 05:07:15 titanus imapd: Connection, ip=[::ffff:127.0.0.1]
    May 30 05:07:15 titanus imapd: LOGIN FAILED, user=djems, ip=[::ffff:127.0.0.1]
    May 30 05:07:20 titanus imapd: LOGOUT, ip=[::ffff:127.0.0.1], rcvd=43, sent=332
    May 30 05:08:01 titanus CRON[30089]: (root) CMD (/usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log)
    May 30 05:08:21 titanus imapd: Connection, ip=[::ffff:127.0.0.1]
    May 30 05:08:21 titanus imapd: LOGIN FAILED, user=djems, ip=[::ffff:127.0.0.1]
    May 30 05:08:26 titanus imapd: LOGOUT, ip=[::ffff:127.0.0.1], rcvd=43, sent=332
     
  10. prometheus_seven

    prometheus_seven New Member

    What does the following mean?

    Sorry I'm new to this vmail stuff. After running the following commands to check my connection with python.

    python
    import imaplib
    conn = imaplib.IMAP4('localhost')
    conn.login('djems', 'letmein')

    I get login failed and the following error in ispconfig/cron.log

    "/var/log/ispconfig/cron.log"
    du: cannot access `/var/vmail/titanus.paranoidbits.com/djems': No such file or directory

    I would really love to get this to work. Help!
     
  11. falko

    falko Super Moderator Howtoforge Staff

    Can you send a test mail to that account and at the same time check your mail log? If there are any errors, please post them here.
     

Share This Page