#1  
Old 21st January 2010, 20:47
palcaraz palcaraz is offline
Junior Member
 
Join Date: Jun 2009
Posts: 19
Thanks: 2
Thanked 0 Times in 0 Posts
Default Alias 1 character long

Hi,

How do I create an address like this 1@dominio.com? with ISPConfig 3 is necessary that the alias has at least 2 characters

Thanks, Pedro Alcaraz
Reply With Quote
Sponsored Links
  #2  
Old 22nd January 2010, 13:12
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,446
Thanks: 813
Thanked 5,214 Times in 4,089 Posts
Default

This is hardcoded. If you want, you can make a request to change this in the bugtracker.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 28th January 2010, 11:25
palcaraz palcaraz is offline
Junior Member
 
Join Date: Jun 2009
Posts: 19
Thanks: 2
Thanked 0 Times in 0 Posts
Default Update or not update

I've seen that is resolved and is included in 3.0.2, but since I update my version 3.0.1.6 or should I wait?

Thanks
Pedro Alcaraz
Reply With Quote
  #4  
Old 28th January 2010, 11:33
Germanius Germanius is offline
Senior Member
 
Join Date: Dec 2009
Location: Hannover
Posts: 118
Thanks: 37
Thanked 25 Times in 15 Posts
Default

It is included in SVN, but SVN is only for development. I think it would be better if you wait until 3.0.2 is published.
Reply With Quote
  #5  
Old 28th January 2010, 11:33
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,446
Thanks: 813
Thanked 5,214 Times in 4,089 Posts
Default

Do not update your system to the current svn release as svn relaeses are only for development and shall not be installed on production systems.

To get the changed alias check, you can manually edit the file /usr/local/ispconfig/interface/lib/classes/tform.inc.php and replace the line:

Code:
if(!preg_match("/^\w+[\w.-]*\w+@\w+[\w.-]*\w+\.[a-z]{2,10}$/i", $field_value)) {
with:

Code:
if(!preg_match("/^\w+[\w.-]*\w{0,}@\w+[\w.-]*\w+\.[a-z]{2,10}$/i", $field_value)) {
The code must be aroud line 703, mybe plus minus a few lines as I dont have the current 3.0.1.6 installed here at the moment.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
palcaraz (28th January 2010)
  #6  
Old 28th January 2010, 12:49
palcaraz palcaraz is offline
Junior Member
 
Join Date: Jun 2009
Posts: 19
Thanks: 2
Thanked 0 Times in 0 Posts
 
Default Work perfectly

The source line number is 670 in version 3.0.1.6

Thanks
Pedro Alcaraz
Reply With Quote
Reply

Bookmarks

Tags
alias, email, mimimum length

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
Postfix delivery problem erebus Installation/Configuration 7 26th June 2014 14:33
Admin Program for Virtual Users and Domains Postfix courier etc...(Ubuntu 8.04)? the1rob HOWTO-Related Questions 11 4th August 2009 04:54
post fix error after a year aberrio Server Operation 5 5th May 2009 21:33
Cannot add the email alias: contact or contacts swieep General 4 22nd October 2007 19:47
Alias outside of Web1? Bedevere Installation/Configuration 3 8th September 2005 02:15


All times are GMT +2. The time now is 23:02.


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