Current time: 01-26-2021, 08:45 AM Hello There, Guest! (LoginRegister)


Thread Closed 
RC4 testers needed
Author Message
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #31
RE: RC4 testers needed
question is:
is it a auth error or a file permission error...?

maybe have a look at the userdb... ?

are there no more logfile? auth.log or something?


/J
03-11-2008 12:54 AM
Visit this user's website Find all posts by this user
Kika Offline
Member
***

Posts: 293
Joined: Feb 2007
Reputation: 8
Post: #32
RE: RC4 testers needed
auth.log
not containing this login

mail.error:
Mar 10 16:05:41 www couriertcpd: authentication error: Permission denied

mail.log:
Mar 10 16:05:18 www courierpop3login: LOGIN FAILED, user=andrea.brozsek@domain.tld, ip=[::ffff:193.224.134.105]
Mar 10 16:05:41 www couriertcpd: kalman@domain.tld: chdir(/var/mail/virtual/domain.tld/kalman) failed!!
Mar 10 16:05:41 www couriertcpd: error: Permission denied
Mar 10 16:05:41 www couriertcpd: LOGIN FAILED, user=kalman@domain.tld, ip=[::ffff:127.0.0.1]
Mar 10 16:05:41 www couriertcpd: authentication error: Permission denied

mail.warn:
Mar 10 16:05:41 www couriertcpd: kalman@domain.tld: chdir(/var/mail/virtual/domain.tld/kalman) failed!!
Mar 10 16:05:41 www couriertcpd: error: Permission denied
Mar 10 16:05:41 www couriertcpd: authentication error: Permission denied

syslog:
Mar 10 16:05:41 www couriertcpd: Connection, ip=[::ffff:127.0.0.1]
Mar 10 16:05:41 www couriertcpd: LOGIN: ip=[::ffff:127.0.0.1], command=LOGIN
Mar 10 16:05:41 www couriertcpd: LOGIN: ip=[::ffff:127.0.0.1], username=kalman@domain.tld
Mar 10 16:05:41 www couriertcpd: kalman@domain.tld: chdir(/var/mail/virtual/domain.tld/kalman) failed!!
Mar 10 16:05:41 www couriertcpd: error: Permission denied
Mar 10 16:05:41 www couriertcpd: LOGIN FAILED, user=kalman@domain.tld, ip=[::ffff:127.0.0.1]
Mar 10 16:05:41 www couriertcpd: authentication error: Permission denied


i don't understand a thing in the courier userdb:
kalman@domain.tld uid=1004|gid=8|home=/var/mail/virtual/domain.tld/kalman|shell=/bin/false|systempw=****************|mail=/var/mail/virtual/domain.tld/kalman

I think that the uid is the uid of vmail user, but vmail uid is 1000 :S
(This post was last modified: 03-11-2008 01:51 AM by Kika.)
03-11-2008 01:18 AM
Find all posts by this user
Kika Offline
Member
***

Posts: 293
Joined: Feb 2007
Reputation: 8
Post: #33
RE: RC4 testers needed
on my other server i found uid=1000 and uid=1004 too in the courier userdb :S
03-11-2008 01:33 AM
Find all posts by this user
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #34
RE: RC4 testers needed
it depends what the uid of vmail is.

On my system it's 1001 - the default on ispcp now is 1004 but I installed ispcp yesterday and there it's also 1001...

But it should be always the same of course in one system.

So either change the uid in /etc/passwd or change the userdb (and the corresponding binary versions userdb*)

the vmail uid sghould be set correctly in /etc/ispcp/ispcp.conf - otherwise you'll get exactly theese problems.

/J
03-11-2008 01:55 AM
Visit this user's website Find all posts by this user
Kika Offline
Member
***

Posts: 293
Joined: Feb 2007
Reputation: 8
Post: #35
RE: RC4 testers needed
The vmail uid is wrong in the ispcp.conf. Sad
03-11-2008 01:57 AM
Find all posts by this user
Kika Offline
Member
***

Posts: 293
Joined: Feb 2007
Reputation: 8
Post: #36
RE: RC4 testers needed
If i changed the userdb than how can i update the binary?
03-11-2008 01:58 AM
Find all posts by this user
Kika Offline
Member
***

Posts: 293
Joined: Feb 2007
Reputation: 8
Post: #37
RE: RC4 testers needed
I updated mail_users status and ran the /var/www/ispcp/engine/ispcp-rqst-mngr. That was the solution. Thanks joximu.

Maybe in the downloadable version this variable can be empty and give en error if somebody forget to set it.
(This post was last modified: 03-11-2008 02:05 AM by Kika.)
03-11-2008 02:02 AM
Find all posts by this user
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #38
RE: RC4 testers needed
I think makeuserdb should do the job...

don't forget to copy your new userdb to /etc/ispcp/courier/working - otherwise you'll loose the changes...

/J
03-11-2008 02:02 AM
Visit this user's website Find all posts by this user
Kika Offline
Member
***

Posts: 293
Joined: Feb 2007
Reputation: 8
Post: #39
RE: RC4 testers needed
I think that this was the problem whitch cause the internal error 500 when i created a new user (rau3.php)
03-11-2008 02:14 AM
Find all posts by this user
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #40
RE: RC4 testers needed
well this is possible...
03-11-2008 02:27 AM
Visit this user's website Find all posts by this user
Thread Closed 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)