HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   Alias 1 character long (http://www.howtoforge.com/forums/showthread.php?t=42869)

palcaraz 21st January 2010 20:47

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

till 22nd January 2010 13:12

This is hardcoded. If you want, you can make a request to change this in the bugtracker.

palcaraz 28th January 2010 11:25

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

Germanius 28th January 2010 11:33

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.

till 28th January 2010 11:33

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.

palcaraz 28th January 2010 12:49

Work perfectly
 
The source line number is 670 in version 3.0.1.6

Thanks
Pedro Alcaraz


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

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