|
RC4 testers needed
|
| Author |
Message |
joximu
Moderator
    
Posts: 3,534
Group: Moderators
Joined: Jan 2007
Status:
Offline
Reputation: 47
|
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
2008-03-16 ispCP RC4 released!!!
|
|
| 03-11-2008 12:54 AM |
|
 |
Kika
Junior Member

Posts: 59
Group: Registered
Joined: Feb 2007
Status:
Offline
Reputation: 1
|
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
OS: Debian etch
ispCP version: nightly 2008-04-02; 2008-05-31
This post was last modified: 03-11-2008 01:51 AM by Kika.
|
|
| 03-11-2008 01:18 AM |
|
 |
Kika
Junior Member

Posts: 59
Group: Registered
Joined: Feb 2007
Status:
Offline
Reputation: 1
|
RE: RC4 testers needed
on my other server i found uid=1000 and uid=1004 too in the courier userdb :S
OS: Debian etch
ispCP version: nightly 2008-04-02; 2008-05-31
|
|
| 03-11-2008 01:33 AM |
|
 |
joximu
Moderator
    
Posts: 3,534
Group: Moderators
Joined: Jan 2007
Status:
Offline
Reputation: 47
|
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
2008-03-16 ispCP RC4 released!!!
|
|
| 03-11-2008 01:55 AM |
|
 |
Kika
Junior Member

Posts: 59
Group: Registered
Joined: Feb 2007
Status:
Offline
Reputation: 1
|
RE: RC4 testers needed
The vmail uid is wrong in the ispcp.conf.
OS: Debian etch
ispCP version: nightly 2008-04-02; 2008-05-31
|
|
| 03-11-2008 01:57 AM |
|
 |
Kika
Junior Member

Posts: 59
Group: Registered
Joined: Feb 2007
Status:
Offline
Reputation: 1
|
RE: RC4 testers needed
If i changed the userdb than how can i update the binary?
OS: Debian etch
ispCP version: nightly 2008-04-02; 2008-05-31
|
|
| 03-11-2008 01:58 AM |
|
 |
Kika
Junior Member

Posts: 59
Group: Registered
Joined: Feb 2007
Status:
Offline
Reputation: 1
|
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.
OS: Debian etch
ispCP version: nightly 2008-04-02; 2008-05-31
This post was last modified: 03-11-2008 02:05 AM by Kika.
|
|
| 03-11-2008 02:02 AM |
|
 |
joximu
Moderator
    
Posts: 3,534
Group: Moderators
Joined: Jan 2007
Status:
Offline
Reputation: 47
|
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
2008-03-16 ispCP RC4 released!!!
|
|
| 03-11-2008 02:02 AM |
|
 |
Kika
Junior Member

Posts: 59
Group: Registered
Joined: Feb 2007
Status:
Offline
Reputation: 1
|
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)
OS: Debian etch
ispCP version: nightly 2008-04-02; 2008-05-31
|
|
| 03-11-2008 02:14 AM |
|
 |
joximu
Moderator
    
Posts: 3,534
Group: Moderators
Joined: Jan 2007
Status:
Offline
Reputation: 47
|
RE: RC4 testers needed
2008-03-16 ispCP RC4 released!!!
|
|
| 03-11-2008 02:27 AM |
|
 |
|
|