LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-29-2004, 02:42 AM   #1
rnj
Member
 
Registered: Sep 2004
Location: Australia
Distribution: Fedora Core 2
Posts: 36

Rep: Reputation: 15
qmail + courier imap + squirrelmail...can't login using squirremail..user invalid


Hi,

Please help....I have setup a qmail server with courier imap,squirremail,vpopmail..etc..I followed qmailrocksorg to do the same.

Distribution is Fedora Core 2

When I login using squirremail ...it says invalid user or invalid password.

I am using system accounts to login..Did try with user and user@domain name in the username field of squirremail.
qmail + courier imap + squirrelmail...can't login using squirremail..user invalid

When I tried loggin into the imap server using : telnet localhost 143

I am able to login and the user is authenticated too.

Why isnt squirremail allowing me to login into IMAP....

Thanks in advance.

RnJ

Last edited by rnj; 09-29-2004 at 02:45 AM.
 
Old 09-29-2004, 04:33 AM   #2
linux_terror
Member
 
Registered: Aug 2004
Location: Northbrook, Illinois
Distribution: CentOS-5
Posts: 311

Rep: Reputation: 30
You have to add the user accounts into vpopmail, by default it will only have a postmaster@domain account. If you used qmailrocks then u installed qmailadmin. Go to http://yourdomain_or_ip/cgi-bin/qmailadmin and log in as postmaster for the domain you want to edit add the email accounts, vpopmail doesnt use system accounts by default, it's virtual. If the domain does not exist in qmailadmin then u have to add it...go to http://yourdomain_or_ip/cgi-bin/vqadmin/vqadmin.cgi log in as username admin and your password that u specified and add the domain. Then add the user accounts in qmail admin. Hopefully this will get ya going. Please post to tell how it goes, I'll check back...btw I run the same setup.....QMAIL ROCKS!!!

linux_terror

Last edited by linux_terror; 09-29-2004 at 04:36 AM.
 
Old 09-30-2004, 06:35 AM   #3
rnj
Member
 
Registered: Sep 2004
Location: Australia
Distribution: Fedora Core 2
Posts: 36

Original Poster
Rep: Reputation: 15
thx for the info...linux terror

hi,

I already have a domain edith.com which has been configured in the apache server conf file with a ip of 10.77.27.99
The corresponding entry is added in the /etc/hosts file too. For squirremail and qmail admin, I am using a virtual domain (mail.edith.com) which is added in the apache conf file and also in the /etc/hosts file. Even mail.edith.com points to 10.77.27.99 as I have only one ip for both the web and mail server. Have I set it right?????

I will try the adding of domain in qmail admin and post the outcome. Thx for the reply.

Linux terror: u said u have the same setup running...did u tweak something or did u follow the steps in qmailrocks. I understand that there are some steps missing in qmail rocks. I am confused about creating maildirs for users. I have a user test..how do i create a maildir for the user test?????Is there any site or information on the working of a mail server and its connections to imap,pop3,smtp...etc...Should I use pop3 or Imap for my qmail server? Advice please.....

Cheers,
RnJ

Last edited by rnj; 09-30-2004 at 06:51 AM.
 
Old 10-11-2004, 03:31 AM   #4
linux_terror
Member
 
Registered: Aug 2004
Location: Northbrook, Illinois
Distribution: CentOS-5
Posts: 311

Rep: Reputation: 30
I followed qmailrocks exactly.

The site really isnt missing steps....

I dont enter my virtual domains in /etc/hosts, I let dns and apache take care of that.

As far as maildirs, which is the format i am using, they will be created in /home/vpopmail/domains/domainname/user/Maildir , you have to remember that everything is virtual now, so the Maildir will not be in the users home directory.

as far as setting up maildir all you have to do is put ./Maildir as the only line in /var/qmail/control/defaultdelivery.

When logging into squirrelmail with this setup a common mistake is that people don't realize that you have to login as 'user@domain.com' not just as 'user'

I'm guessing that if you followed the guide that apache is set up correctly for virtualhosting.

If you are stumped contact me or post again, I can be contacted at turah@linuxtorrents.org and i'd be glad to take a look.

Hope this helps,

linux_terror
 
Old 10-11-2004, 11:39 PM   #5
rnj
Member
 
Registered: Sep 2004
Location: Australia
Distribution: Fedora Core 2
Posts: 36

Original Poster
Rep: Reputation: 15
thx linux_terror

hi

thx for the reply. I did try earlier with login with user@domain.com. The maildir were set as recommended. Thought it was due to squirrelmail sending the password in clear text as imap was configured for secure trans. Did install secure password squirrelmail plugin to send password in encrypted form.Still didnt work.

I am now using postfix with dovecot imap server. Would be appreciated if you could give some tips on these. As to how to enable smtpauth on dovecot. how to enable imaps and smtps with postfix? How to turn off the smtp,pop3 and imap ports? Postfix,Dovecot and squirrelmail were installed by default when installing fedora core 2. How to make squirrelmail work with dovecot and postfix??

I know its a lot of questions here...A little help on any one these would be nice.
thx in advance.

RnJ
 
Old 10-12-2004, 12:06 AM   #6
DaHammer
Member
 
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
It's most likely something to do with the courier module you are using to authenticate with and your courier config file. I had these issues using the vpopmail auth module that comes with courier. I don't recall exactly what I did to fix it though, but it was a simple configuration issue on the courier side. There is a test utility that comes with the courier-imap source that you can use to check the authentication with from a command line. Dig around in the courier source tree and try to auth using it from a command line.
 
Old 10-12-2004, 12:14 AM   #7
DaHammer
Member
 
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
The tool I'm referring to is named authtest and is located in the authlib/ directory within the source tree.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
qmail-ldap + courier-imap woes (imap capability) syahid Linux - General 1 10-12-2005 01:03 AM
qmail problem. Works with courier-imap, not with pop.. rincewind Linux - Software 9 05-26-2005 08:18 AM
squirremail ...it says invalid user or invalid password. rnj Fedora 9 10-25-2004 10:56 PM
LDAP courier IMAP SquirrelMail Exim adamfowler Linux - Software 0 04-28-2004 08:31 AM
Qmail+courier-IMAP+SquirrelMail+ virtualmin Half way there posixjunkie Linux - Wireless Networking 0 04-15-2004 08:07 AM


All times are GMT -5. The time now is 06:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration