Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] qmail authorization failed
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
Eeeyeore
Apprentice
Apprentice


Joined: 06 May 2005
Posts: 178
Location: Poland

PostPosted: Wed Sep 05, 2007 10:44 am    Post subject: [SOLVED] qmail authorization failed Reply with quote

Serdecznie witam wszystkich na forum 1 post :)

Problem - po założeniu uzytkowników qmailadminem qmail odrzuca połaczenia:

Code:

nsxxxx ~ # telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK <11262.1188985665@nsxxxx.ovh.net>
user użytkownik
+OK
pass haslousera
-ERR authorization failed
Connection closed by foreign host.

Oczywiście sqwebmail czy thunderbirdem tez nie można się zalogować - co oczywiste skoro nie można się telnetować
Natomiast użytkownik może się zalogować na qmailadmina i bez problemu na przykład przebić sobie hasło - ale to nie pomaga.
Konta są zakładane poprawnie bo:
Code:

# cat /home/vpopmail/domains/moja-domena.com.pl/vpasswd|grep uzyt
użytkownik:$1$x5c9e3B9$5Zd29EQg.dFwFGKAGT3Yg.:1:0:Wesoly_Ziutek:/home/vpopmail/domains/moja-domena/użytkownik:NOQUOTA:haslousera


Tak samo domena istnieje:
Code:

# cat /var/qmail/users/assign|grep moja
+moja-domena.com.pl-:moja-domena.com.pl:508:503:/home/vpopmail/domains/moja-domena.com.pl:-::


ręcznie dopisany uzytkownik też nie może się logować:
#/home/vpopmail/bin/vadduser webmaster@cosmojego.com haslo

natomiast w logach :
Code:

Sep  5 12:34:26 ns2553 vpopmail[222]: vchkpw-pop3: vpopmail user not found użytkownik@:xxx.xxx.xxx.xxx
Sep  5 12:43:12 ns2553 vpopmail[25479]: vchkpw-webmail: vpopmail user not found użytkownik@:127.0.0.1


Wiadomosci dochodzą i są w folderach userów. Tylko co z tego skoro nie można się zalogować.
I gdzie tkwi czort ?
_________________
Tutaj sie dopiero dzieje !!!
Nie wiedzialem ze na swiecie jest tylu idiotow - dopoki nie zajrzalem do internetu...


Last edited by Eeeyeore on Thu Sep 06, 2007 11:48 am; edited 1 time in total
Back to top
View user's profile Send private message
Eeeyeore
Apprentice
Apprentice


Joined: 06 May 2005
Posts: 178
Location: Poland

PostPosted: Thu Sep 06, 2007 11:48 am    Post subject: Reply with quote

Grunt to sobie samemu pomóc.

Code:

#nano /etc/tcp.smtp
1.2.3.6:allow,RELAYCLIENT=""
#tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp
#chmod u+s /home/vpopmail/bin/vchkpw
#chmod 711 /home/vpopmail/bin/vchkpw
#

_________________
Tutaj sie dopiero dzieje !!!
Nie wiedzialem ze na swiecie jest tylu idiotow - dopoki nie zajrzalem do internetu...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum