proftpd Problem - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: System Setup & Installation (/forum-32.html) +--- Thread: proftpd Problem (/thread-1426.html) Pages: 1 2 |
RE: proftpd Problem - joximu - 10-01-2007 12:58 AM The mail users have nothing to to with the users in passwd. All Mails are stored with the same permissions/ownership (vmail:vmail - or somthing like this). Courier has it's own Userdb and this should be updated by ispcp (request manager). So -> yes, if you do a 'update mail_users set status = "toadd";' and then run the request manager, this userdb should be updated. Have a look in /etc/courier/userdb - this file is readable and you should see if it's up to date or not. /J RE: proftpd Problem - fulltilt - 10-01-2007 01:24 AM The permissions not being updated ... in sasldb2 and /etc/courier user files. Code: Sep 30 17:16:49 A017 postfix/virtual[1657]: warning: maildir access problem for UID/GID=106/8: create maildir file /var/spool/mail/virtual/xxxxx.de/info/tmp/1191165409.P1657.A017: Permission denied RE: proftpd Problem - joximu - 10-01-2007 01:34 AM Hi ok, the file permissions you have to correct by yourseve: I have user "vmail" group "mail" (have a look in /etc/ispcp/ispcp.conf *** MTA_MAILBOX_UID = 1001 MTA_MAILBOX_UID_NAME = vmail MTA_MAILBOX_GID = 8 MTA_MAILBOX_GID_NAME = mail *** and all files & folders in /var/mail (not /var/mail itself) have ownership vmail:mail The permissions are "flexible" but -rw------- and drwx------ should do it... /Joximu RE: proftpd Problem - fulltilt - 10-01-2007 01:34 AM Code: /var/spool/postfix/etc/passwd and /etc/passwd differ RE: proftpd Problem - joximu - 10-01-2007 01:42 AM fulltilt Wrote: Well - the one in /var/spool/... is needed for the parts of postfix which runs chrooted - it's not necessary to be complete... (but the lines in the file should also be in /etc/passwd...) If you setup you operating system correct then this should be ok. Update: the files are the same on my server but the copying is done be the system (I think by postfix restart it should be copied...) - not by me and I think not by ispcp. /J RE: proftpd Problem - fulltilt - 10-01-2007 05:55 AM i'm going crazy ... The Mail is working now after migration. But the Problem is proftpd user id's in Database are differnt like in passwd. If i change the user in passwd the mail users did not work. Is there's a way to update ftp_users table with users from /etc/passwd? Maybe a script from ispCP or another script that reads from passwd and change users in table ftp_users ... RE: proftpd Problem - joximu - 10-01-2007 06:53 AM fulltilt Wrote:i'm going crazy ... This is strange, because all mails are running with user vmail. Only FTP (and the Websites) have their vu2xxx User... (/etc/passwd and ispcp.ftp_users/ispcp.domain must correlate... fulltilt Wrote:Is there's a way to update ftp_users table with users from /etc/passwd? Since there are two tables (domain and ftp_users) with the uid and gid infos it's maybe easier to update the /etc/passwd with the info... it should be possible to write a small php script which generates a passwd-like file... Cheers /Joximu |