Email Addressing - Needs fixing

Joined
Oct 4, 2007
Messages
275
Points
0
I have a domain with a - in it. It seems that the email domain will accept but it will not allow you to create any users under that domain.

To test I used the domain test.com
it works I was able to create a user test@test.com

Then I created a domain test-test.com
I was not able to create any users. It says that user already exists to any name.

a fix would be appreciated. Since I now can't use it as my email server. :(
 

lek

Guest
Thanks for your post Telco,

We'll review this issue and when the fix is ready i'll post the results here.
 
Joined
Oct 4, 2007
Messages
275
Points
0
Thank you edgar.

oh and this is a FANTASTIC product. I will be contacting you personally about donations etc...
 
Joined
Jun 7, 2007
Messages
32
Points
0
Hello everybody :)

i write patch to fix that problem, just save attached file on elastix machines and run:

patch -p0 < paloSantoValidar.class.patch

regards.

P.S.

Why on this website is limit for file extension ? :p

http://forum.elastix.org/old_files/paloSantoValidar.txt

so just run patch -p0 < paloSantoValidar.txt<br><br>Post edited by: hetii, at: 2007/12/10 16:10
 
Joined
Oct 4, 2007
Messages
275
Points
0
Tried that I recieved this response

patching file paloSantoValidar.class.php
Hunk #1 FAILED at 295.
1 out of 1 hunk FAILED -- saving rejects to file paloSantoValidar.class.php.rej
 
Joined
Jun 7, 2007
Messages
32
Points
0
hmm strung :)

ok so manualy edit /var/www/html/libs/paloSantoValidar.class.php

and find if(!eregi("^([a-z0-9]+(\.[a-z0-9\-_]+)*@[a-z0-9]+(\.[a-z0-9\-_]+)*(\.[a-z]{2,3}))+$", $variable)) {

and replace with:
if(!eregi("^([a-z0-9]+(\.[a-z0-9\-_]+)*@[a-z0-9.-]+(\.[a-z0-9\-_]+)*(\.[a-z]{2,3}))+$", $variable)) {

ofcorse you can add your /var/www/html/libs/paloSantoValidar.class.php here and i check why patching fails.

With version of elastix you use ?
 
Joined
Oct 4, 2007
Messages
275
Points
0
I manually changed it and I still have the issue. I am enclosing the file.
 
Joined
Sep 27, 2007
Messages
205
Points
0
Hello, the correct regular expresion is:

"^[a-z0-9]+([\._\-]?[a-z0-9]+[_\-]?)*@[a-z0-9]+([\._\-]?[a-z0-9]+)*(\.[a-z0-9]{2,4})+$"

this fix will be in elastix 0.9.2
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,987
Messages
131,100
Members
17,716
Latest member
Orbit114
Top