Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Feature Requests

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 7th July 2009, 19:40
ahagadorn ahagadorn is offline
Junior Member
 
Join Date: Oct 2008
Posts: 22
Thanks: 1
Thanked 5 Times in 4 Posts
Default Modified interface for mail forward

I am migrating to ISPConfig from another control panel I have used for years (vhcs2). I currently have many customers that have large lists of email forwards.

The VHCS2 interface has a textarea for forward recipients, and you put in as many as you like separated by newlines. It makes for a nice clean way to manage forwarding addresses.

I have modified ISPConfig to use a textarea instead of an input in the template, and it works nicely without further modifications. Apparently it will accept a newline as a separator when it parses the addresses.

The template is mail_forward_edit.htm, and the code that replaces the existing code is:

HTML Code:
<textarea rows="5" cols="100" name="destination" id="destination" maxlength="255" type="text" class="textInput" >{tmpl_var name='destination'}</textarea>
In addition, the destination field in the mail_forwarding table is only 255 characters. This is too small for many of my customer's lists.

If you could include this change in a future release, I would greatly appreciate it, and so may many other users.

Thanks!
Andy
Reply With Quote
The Following 2 Users Say Thank You to ahagadorn For This Useful Post:
briansp (11th August 2009), falko (8th July 2009)
Sponsored Links
  #2  
Old 11th August 2009, 22:40
briansp briansp is offline
Junior Member
 
Join Date: Aug 2007
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default

I concur. For my purposes the varchar(255) definition of destination would make the forwarding feature kind of unusable since a number of my users' lists are larger than that.

Looks like this change just requires a modification to the template, and an ALTER DATABASE schema change to change the type of mail_forwarding.destination to mediumtext. As far as I can tell it doesn't hurt anything.
Reply With Quote
  #3  
Old 11th August 2009, 22:44
ahagadorn ahagadorn is offline
Junior Member
 
Join Date: Oct 2008
Posts: 22
Thanks: 1
Thanked 5 Times in 4 Posts
Default

I am using the mod daily right now. I have many long forward lists. It works great, and is a really minor change. I hope it gets implemented in a future build, otherwise I will have to change it every time I upgrade - I'm committed to it now.

I actually changed the database type to TEXT, MEDIUMTEXT is pretty huge. TEXT is 65k characters, MEDIUMTEXT is 2^24, or 16MB.

Andy

Last edited by ahagadorn; 11th August 2009 at 22:48.
Reply With Quote
  #4  
Old 11th August 2009, 22:45
briansp briansp is offline
Junior Member
 
Join Date: Aug 2007
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Did you change the database column type to mediumtext as well?
Reply With Quote
  #5  
Old 12th August 2009, 00:16
ahagadorn ahagadorn is offline
Junior Member
 
Join Date: Oct 2008
Posts: 22
Thanks: 1
Thanked 5 Times in 4 Posts
 
Default

No, I changed it to TEXT. MEDIUMTEXT seems too large, but will work fine.

Andy
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
ffmpeg Video support for ubuntu 7.10 [suphp-ispconfig] amaurib Installation/Configuration 13 16th February 2010 17:26
Debian Lenny: waiting for interface eth0:1 before doing NFS mounts (warning) edge Installation/Configuration 2 9th June 2009 07:55
Domain Forward http should not lower case pcxtra General 1 24th January 2009 09:57
IPtables rule to let PPTP access LAN brianwebb01 Installation/Configuration 0 1st May 2008 21:23
No DHCP on second LAN interface DrJohn Server Operation 2 8th November 2007 02:58


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


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