Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 27th August 2007, 23:45
catdude catdude is offline
Senior Member
 
Join Date: Jun 2007
Posts: 178
Thanks: 1
Thanked 12 Times in 11 Posts
Default Adding an e-mail user to a domain starting with a digit

One of the domains I am currently hosting on Plesk has a digit as it's first character. I can't add a user to this domain, as the user name then starts with a digit and the add script complains "Field: Username
The user name has to contain a minimum of 4 and a maximum of 32 letters or figures and has to begin with a letter."

I already have a bunch of domains running under ISPConfig, so I can't switch the user name prefix from [Domain] to [Web]. Any ideas how I can handle this?
Reply With Quote
Sponsored Links
  #2  
Old 28th August 2007, 10:19
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,564
Thanks: 791
Thanked 4,978 Times in 3,899 Posts
Default

You can change the regular expression that checks the username in the file /home/admispconfig/ispconfig/lib/plugins/isp_username.plugin.php
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 28th August 2007, 18:04
catdude catdude is offline
Senior Member
 
Join Date: Jun 2007
Posts: 178
Thanks: 1
Thanked 12 Times in 11 Posts
Default Can I expand the width of isp_isp_user.user_username without breaking anything?

Quote:
Originally Posted by till
You can change the regular expression that checks the username in the file /home/admispconfig/ispconfig/lib/plugins/isp_username.plugin.php
Thank you! That's just what I was looking for. That issue has now been resolved.

But that leads me to my next issue. Some of our customers create really long domain names (what ever happened to short, simple domain names?). A few of those have longish user names as well. So if one of my customers owns myveryownreallylongdomainname.com (length 33 if I counted correctly), and has a user named projectinspector, that user will have to authenticate with a really chopped-up user name. Could I extend the size of isp_isp_user.user_username to perhaps 64 without breaking things elsewhere?
Reply With Quote
  #4  
Old 28th August 2007, 18:18
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,564
Thanks: 791
Thanked 4,978 Times in 3,899 Posts
Default

Quote:
Originally Posted by catdude
Could I extend the size of isp_isp_user.user_username to perhaps 64 without breaking things elsewhere?
Yes. But be careful when you update ISPConfig, you will ahve to extend the field length in the sql dump that is in the install_ispconfig dir too before you run a update, or your usernames might get truncated.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 28th August 2007, 18:24
catdude catdude is offline
Senior Member
 
Join Date: Jun 2007
Posts: 178
Thanks: 1
Thanked 12 Times in 11 Posts
 
Default Thanks for the warning

Quote:
Originally Posted by till
Yes. But be careful when you update ISPConfig, you will ahve to extend the field length in the sql dump that is in the install_ispconfig dir too before you run a update, or your usernames might get truncated.

I doubt I would have thought of that - thank you!
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
Anything I can do against illegal login-requests? schmidtedv Installation/Configuration 17 7th November 2008 09:25
Can't have duplicated user id for mail? & Can't receive mail webking General 3 17th April 2007 06:57
Postfix reject connections gabrix Server Operation 27 25th January 2007 08:37
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs ebbay Installation/Configuration 9 4th March 2006 11:47
postfix config jmroth Installation/Configuration 6 18th September 2005 15:58


All times are GMT +2. The time now is 10:21.


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