LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   QMail Authentication problems (https://www.linuxquestions.org/questions/linux-software-2/qmail-authentication-problems-79075/)

MikeeX 08-04-2003 11:39 PM

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! :cry:

MikeeX 08-05-2003 10:15 AM

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.

MikeeX 08-05-2003 12:42 PM

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!

MikeeX 08-05-2003 05:55 PM

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.


All times are GMT -5. The time now is 09:57 PM.