Using Squirrelmail with ISPConfig 3

Discussion in 'Installation/Configuration' started by dpicella, May 1, 2009.

  1. dpicella

    dpicella New Member

    I wish there were some more instructions on how to use squirrelmail with ISPConfig 3.

    After successfully following all the instructions for a Fedora 10 install with ISPConfig 3 and sqirrelmail using IMAP courrier, I'm a bit lost.

    The issue: Can't log in to IMAP email accounts using squirrelmail

    Symptoms:
    1. ISPConfig 3 works fine. It creates email domains, accounts, etc. I have verified that the email accounts are being created for /var/vmail/domain/usr
    2. Squirrelmail login screen comes up fine.
    3. Squirrelmail configtest.php produces no errors:
    Squirrelmail complains about the login stating:

    "Unknown user or password incorrect."

    I've tried both username and username@domain but I can't log in !

    Weird!

    Thanks for any help or ideas!
     
  2. Ovidiu

    Ovidiu Active Member

    similar problem here, but I am unsure what user to use for logging in, is it the client? I guess client is only for logging into ispcfg3 itsself. which would be the username used to log into squirrelmail or any other email account?
     
  3. dpicella

    dpicella New Member

    Using squirrelmail with ISPConfig 3 logging in issues

    Seems like it should be the username or username@domainname that is created in ISPConfig for the new IMAP account ... :confused:
     
  4. till

    till Super Moderator

    In ISPConfig 3, the username is the email address, there is no separate username anymore.
     
  5. dpicella

    dpicella New Member

    For some reason that does not work! Anyone have any ideas?

    My configuration is that I rent a server at

    myaccount.mywebhostingcompany.net

    The A and MX records are at ns1.mywebhostingcompany.net (etc). The MX records do point to the domains / IP addresses that I am configuring for ISPConfig and the courier IMAP server is working. It should work but I don't understand why it does not.
     
  6. till

    till Super Moderator

    Take a look in the mail log file and post the exact error message that you get there when the login fails.
     
  7. Ovidiu

    Ovidiu Active Member

    is there any way for an email user to change his password? I know in ispcfg2 there was an option. Besides tehre are quite a few squirrelmail plugins to change passwords, does anyone work with ispcfg3, I mean bearing in mind its virtual users now and no longer system users...
     
  8. Horfic

    Horfic Member

  9. dpicella

    dpicella New Member

    Here it is:
    I have absolutely no idea what the problem is here! ??
     
  10. dpicella

    dpicella New Member

    Updated mail error messages

    I repeated all the procedures for "12 Configure Courier" on at the bottom of:
    http://www.howtoforge.com/perfect-server-fedora-10-ispconfig-3-p4

    I have also done:
    # /usr/share/squirrelmail/config/conf.pl
    ... specifying both courier and dovecot IMAP servers.

    Now I am getting the following mail error:
    I am going to take a guess and say that this is an courier vs dovecot config issue, but I don't know how to solve it.

    Thanks for any help!
     
  11. till

    till Super Moderator

    Dovecot is not supported by ispconfig 3. If you followed the tutorial, then dovecot is not installed on the server. You will have to reinstall the server so that the exact packages as described in the tutorial are installed.
     
  12. dpicella

    dpicella New Member

    Dovecot Vs Courier

    Well... Not sure I want to do that because it looks like most people are moving away from courier to dovecot because it appears to be a bit more lightweight, faster, and perhaps even more reliable (although I don't know about that last one).

    If I do get rid of it, there must be an easier way of doing so than starting from scratch. I already have ISPConfig 3 setup the way I want it with a number of websites working perfectly.

    I don't rely on using this server for email, so I am thinking that I may just hold off until there is a solution for dovecot support in ISPConfig 3.

    Yikes!
     
  13. Ovidiu

    Ovidiu Active Member

    according to the perfect server howto for ispcfg3:

    how would I have to proceed to make squirrelmail available at anyhosteddomain/webmail/ ? or alternatively at mail.anyhosteddomain.com ?

    any hints?
     
  14. dpicella

    dpicella New Member

    The best way to do that is to put a symbolic link in the root directory for the website you want to be able to do this. For example.

    ln [OPTION] TARGET LINK_NAME

    # cd PathToHtmlRootOfYourDomain
    # ln -s /usr/share/squirrelmail webmail

    That should do it.

    You might need to modify your apache configuration to allow access to files outside the website root
     
  15. dpicella

    dpicella New Member

    I decided to remove dovecot and switch to courier-imap after all. The following worked to solve this issue:

    Code:
    cd /etc/init.d
    ./dovecot stop
    chkconfig --del dovecot
    ./courier-authlib start
    ./courier-imap start
    chkconfig --levels 235 courier-imap on
    
    Now squirrelmail works fine! Rebooting brings up all the services just fine. If anyone else has this problem, just cut and past the code above and you should be ready to go. At least it will work for Redhat systems others may have to figure out the command to use to add services to load at boot.
     
    Last edited: May 5, 2009
  16. mosesaro

    mosesaro New Member

    has anybody done this on centOS if yes can you please help i cant login to the mail accounts i have created in ISPConfig i am using dovecot and squirrel mail.

    I f you suggest a change in any packages i will do it i just need to get my email working. Thank you
     

Share This Page