ispCP - Board - Support
RC4 testers needed - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: Announcements (/forum-6.html)
+--- Thread: RC4 testers needed (/thread-2666.html)

Pages: 1 2 3 4 5 6


RE: RC4 testers needed - joximu - 03-11-2008 12:54 AM

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


RE: RC4 testers needed - Kika - 03-11-2008 01:18 AM

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


RE: RC4 testers needed - Kika - 03-11-2008 01:33 AM

on my other server i found uid=1000 and uid=1004 too in the courier userdb :S


RE: RC4 testers needed - joximu - 03-11-2008 01:55 AM

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


RE: RC4 testers needed - Kika - 03-11-2008 01:57 AM

The vmail uid is wrong in the ispcp.conf. Sad


RE: RC4 testers needed - Kika - 03-11-2008 01:58 AM

If i changed the userdb than how can i update the binary?


RE: RC4 testers needed - Kika - 03-11-2008 02:02 AM

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.


RE: RC4 testers needed - joximu - 03-11-2008 02:02 AM

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


RE: RC4 testers needed - Kika - 03-11-2008 02:14 AM

I think that this was the problem whitch cause the internal error 500 when i created a new user (rau3.php)


RE: RC4 testers needed - joximu - 03-11-2008 02:27 AM

well this is possible...