Exim4U integration with pure-ftpd
I am interested in the integration of Exim4U with pure-ftpd, but I am not a php programmer. There have been some offers by some programmers on this forum and I wonder if anyone is willing to take the gauntlet:-) So I start the debate. The details of the bits required to be used are already there. What needs to be done is just to incorporate the logic into the relevant php scripts for managing the domains and users. What I have used before (actually from web sources - http://osdir.com/ml/mail.exim.vexim.devel/2003-11/msg00056.html\ http://www.howtoforge.com/virtual-hosting-pureftpd-mysql-mandriva-2008-sprin... ): ALTER TABLE `users` ADD `ftp_dir` VARCHAR(255); ALTER TABLE `users` ADD `ftp_enable` TINYINT(1) DEFAULT '0' NOT NULL; ALTER TABLE `users` ADD `ftp_quota` INT DEFAULT '100'; ALTER TABLE `users` ADD `ULBandwidth` SMALLINT(5) DEFAULT '0' NOT NULL; ALTER TABLE `users` ADD `DLBandwidth` SMALLINT(5) DEFAULT '0' NOT NULL; ALTER TABLE `users` ADD `ipaccess` varchar(15) DEFAULT '*' NOT NULL; ALTER TABLE `users` ADD `QuotaFiles` int(11) DEFAULT '0' NOT NULL; update users set ftp_enable ='1'; update users set ftp_dir = '/var/spool/virtual/DOMAIN/ftpdata/USER1' where username = 'USER1(a)DOMAIN'; update users set ftp_quota ='100'; /var/spool/virtual = $mailroot When a user is added 1 we need to decide whether or not ftp_enable = 0 or 1. Default should be inherited from domain settings, whether it is enabled for domain or not. 2. decide on what is the ftp_quota for the user. Default should not exceed domain ftp_quota, just like mail_quota. So maybe we need: ALTER TABLE `domains` ADD `ftp_quota` INT DEFAULT '100'; 3. Assign the user ftp_dir relative to domain's $mailroot . ftp quota should not interfere with mail quota if both are implemented. Just some ideas. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!!
participants (1)
-
Odhiambo Washington