Hello everybody ;
First, this problem is not related to directory permissions. So, if you have changed the permissions restore it before.
To fix your problem, for the
version before 1.0.3, you should check the real uid of vmail user in your
/etc/passwd file as this:
Code:
ispcp:~# getent passwd |grep vmail
vmail:x:1000:8:vmail-user:/home/vmail:/bin/false
Here the real uid is 1000, so, you must replace the uid value of vmail user in your
/etc/ispcp/ispcp.conf file with the real uid of vmail user.
Example for Debian Lenny, replace
Code:
MTA_MAILBOX_MIN_UID = 1004
MTA_MAILBOX_UID = 1004
by
Code:
MTA_MAILBOX_MIN_UID = 1000
MTA_MAILBOX_UID = 1000
Where 1000 is the uid obtained with the last command.
After that, you must rebuild your
/etc/courier/userdb file as this :
First, change the status of all mail account in your ispCP database :
Code:
mysql -u USER -p
use ISPCP_DATABASE_NAME
UPDATE `mail_users` SET `status` = 'change' WHERE status = 'ok'
Note : Replace USER and ISPCP_DATABASE_NAME by your own values
And after, run the ispcp engine manager manually :
Code:
# /etc/init.d/ispcp_daemon stop
# cd /var/www/ispcp/engine
# perl ispcp-rqst-mngr
And to finish, restart the ispCP daemon:
Code:
# /etc/init.d/ispcp_daemon start
EDIT: Oh sorry kilburn, the problem was already solved with your fix. Ok that work fine too, but normally, the user should avoid changing the userdb file manually .