Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 16th May 2009, 03:45
t-mug t-mug is offline
Member
 
Join Date: Jun 2007
Posts: 70
Thanks: 11
Thanked 6 Times in 5 Posts
Default How to have user e-mail separated from ftp

It seems to me: the really hard approach of ISPConfig2.x is to have automatically e-mail users and ftp users merged into this one system user with at least these capabilities:
  • send and recieve e-mail (optionally manage the e-mail account: autoresponder, antispam and antvirus settings, define forwarders and aliases)
  • up- and download files in predefined zones of a clients web site
  • publish content in predefined zones of a clients web site

This is not always what clients or even hosters would prefer. What would you say, if these capabilities could be separated, even in ISPConfig 2.x?



E-mail and FTP in this setup are completly independent from each other. If e-mail is not checked, then there will be no entry for this user in the virtusertable. If FTP is unchecked, it's the same for only this user as FTP were unchecked for the whole web. So all functionality to separate these two was always there - I've only tried to put the ends apart. Very few lines of code were necessary to do this.

But the overall unix system user remains of course. There are still all these hidden config files of procmail, spamassassin and so on left; the structure and permissions of files and folders are not involved in my private solution. To have these files is quite useless - until one decides to grant an e-mailbox to an user or to let him upload and publish. then is all in the right place.

My intention was not to make ISPConfig2 unstable, of course. So the less code I had to touch the happier I was.

Therefore don't ask please for appearently next steps like defining an FTP root folder for an user etc. I think, ISPConfig 3 is the rising star in the background, containing really good stuff and much better and really amazing concepts. So all this stuff belongs there. For me it is almost like to say Good bye to ISPConfig 2.

So try it out and give feedback. PLEASE don't use the attached patches in production environments. If so, do it on your own risk.
Note, that until now there is no feedback from Till or Falko, so it's really dangerous.
Reply With Quote
The Following 2 Users Say Thank You to t-mug For This Useful Post:
NWO (3rd June 2010), till (23rd May 2009)
Sponsored Links
  #2  
Old 26th June 2009, 23:43
t-mug t-mug is offline
Member
 
Join Date: Jun 2007
Posts: 70
Thanks: 11
Thanked 6 Times in 5 Posts
Default Thanks

Thanks to Till for planning to provide an FTP option in upcoming ISPConfig releases - see the bugtracker.

Till, additionally it would be great if you could define a field and a database column for "user_email_access" as well - due to my patches above. I personally really need this field and it is used by customers in my installation. You know that doctype handling is not very easy to manage and every official change in the user's doctype def would force me to have a lot of work afterwards. Moreover, my inofficial database doctype columns (like "user_email_access") will get lost on every update and require additional work. Otherwise I can understand that especially this field can be irritating as a general offer on the user tab because it maybe does not suit quite well to the concept of the ISPConfig2 user (e.g. the required localpart field does not depend on the email checkbox field, what makes no sense of course).

So this field could be hidden by default (as some other fields always are inside the doctype def) and it's appearance could ideally be controlled by a directive in the general config file. If you like, I would provide a patch for this.

This way the "Enable E-Mail" feature can be optionally activated by ISP's and - last but not least - provide a way (even if deactivated by default) to have FTP-only users. This also makes sense if you think about the remoting framework, where an UI is possibly less irritating by separation of email and ftp users.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help configure Postfix to use alt port 465 or 587 BoloMarkIII Installation/Configuration 10 16th March 2009 17:57
Postfix & mail forwarding loop varnik Server Operation 21 9th December 2008 15:13
Ruby / FastCGI Problem Chad Server Operation 1 8th March 2008 20:38
FTP Error joshabts Installation/Configuration 3 4th November 2006 16:19
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs mholownych HOWTO-Related Questions 10 29th May 2006 03:39


All times are GMT +2. The time now is 16:39.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.