LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-04-2003, 11:39 PM   #1
MikeeX
Member
 
Registered: Mar 2002
Distribution: Ubuntu 6.10
Posts: 165

Rep: Reputation: 30
QMail Authentication problems


Okay, I have been searching everwhere for my problem and all the posts I find, don't seem to fix it. This is what I have done.

Installed Qmail (followed Life With Qmail)
Daemon Tools
CheckPassword
ucspi-tcp
vpopmail

I created a user with vpopmail and works perfect. I can email the user, shows up in their box. When I use my test user to download mail via any email client program I get:

-ERR authorization failed

The other thing thats a bit wierd is when I run the test on the server itself by doing:

/var/qmail/bin/qmail-popup mail.domain.com /bin/checkpassword pwd

+OK <...@blah>
user root
+OK
pass password

IT WORKS

but when doing a user I created:

+OK <...@blah>
user mikee
+OK
pass pass
-ERR authorization failed

IT FAILS


How come root can get authentication, and not a user? I cannot get the mikee@domain.com to work AT ALL. What am I missing here .. been working on this for hours and can't get the thing to download mail.

Any suggestions or fix would be greatly appreciated!
 
Old 08-05-2003, 10:15 AM   #2
MikeeX
Member
 
Registered: Mar 2002
Distribution: Ubuntu 6.10
Posts: 165

Original Poster
Rep: Reputation: 30
I also ran this script >> http://lifewithqmail.org/inst_check . Here are my results.

root@cipher:/var/qmail# ./instcheck
Congratulations, your LWQ installation looks good!
root@cipher:/var/qmail#

So my install is working perfect, any ideas whats going on? My guess is 'checkpassword' is not working AT ALL.

Thanks.
 
Old 08-05-2003, 12:42 PM   #3
MikeeX
Member
 
Registered: Mar 2002
Distribution: Ubuntu 6.10
Posts: 165

Original Poster
Rep: Reputation: 30
I got up. I missed one simple config in the vpopmail install instructions. And this fixed it.

env - PATH="/var/qmail/bin:/usr/local/bin" \
tcpserver -H -R 0 pop-3 \
/var/qmail/bin/qmail-popup your.domain.com \
./home-dir-of-vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir &


Thanks!
 
Old 08-05-2003, 05:55 PM   #4
MikeeX
Member
 
Registered: Mar 2002
Distribution: Ubuntu 6.10
Posts: 165

Original Poster
Rep: Reputation: 30
Now I'm having a differnet problem. Now that I can get
authenicated .. thats great. Now I send an e-mail to email@domain.com
from a domain not on this server. In the logs I get

400000003f3034f11186a02c tcpserver: status: 0/20
@400000003f303580338212c4 tcpserver: status: 0/20
@400000003f3035c40f65eec4 tcpserver: status: 1/20
@400000003f3035c40f68f04c tcpserver: pid 549 from 65.89.x.x
@400000003f3035c42ce4ce34 tcpserver: deny 549
hostname.doman.com:192.168.10.1:25 :65.89.x.x::42340
@400000003f3035c42ceb987c tcpserver: end 549 status 25600
@400000003f3035c42cebb7bc tcpserver: status: 0/20


It instantly denies the server trying to connect to it. This was
working at one time, where the email box was able to pull down some
mail .. now .. i cant even email the box!

Also, I cannot send from the server via Outlook Express ... wont let
it go.

Any ideas would be greatly apprecaited.
 
  


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-pop3d password authentication Limowreck Linux - Software 2 04-21-2006 08:51 PM
Qmail not requiring Authentication hamish Linux - Security 14 05-11-2005 08:50 AM
Qmail SMTP LDAP authentication nev_neo Linux - Software 0 12-22-2004 12:35 PM
urgent: qmail authentication error ru916b Linux - Software 1 12-09-2004 01:06 PM
Qmail and SMTP Authentication miknight Linux - Software 0 01-30-2003 04:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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
Open Source Consulting | Domain Registration