error when creating email account with zero as the address

sepehrmm

Member
Dec 16, 2014
13
0
1
cPanel Access Level
Root Administrator
My customer has removed the account by clicking the 'Delete' link from 'Email Accounts' page without getting any error message.
I checked
/home/[account]/mail
and
/home/[account]/mail/[account]/
directories and couldn't find the directory for that email account.
I have also tried to create an [email protected] email address on another account on the same server but got the same result.
Using
Code:
/scripts/addpop [email protected] password
has failed too.
Cpanel version is: 11.52.1 (build 3)
 

sepehrmm

Member
Dec 16, 2014
13
0
1
cPanel Access Level
Root Administrator
Are you able to create it from within cPanel?
No I cannot.
I get the error both from terminal and cpanel.
the error from "/scripts/addpop"
<br /><font color="#FF0000">Sorry, the given email address is invalid.</font>
Sorry, the given email address is invalid.
Email account creation failed (256)
the error from cPanel:
Error
Sorry, the given email address is invalid.
s17.postimg.org/svljpa0tr/Screenshot_2015_12_15_00_20_22.png
 
Last edited by a moderator:

sepehrmm

Member
Dec 16, 2014
13
0
1
cPanel Access Level
Root Administrator
Please attach images to your posts.

In the image your email account is '0'

Unless thats a typo from you staging the image, you can't have it like that. It must be: 0
when using quotation (double or single) I get following error on a popup box:
Account Name
That is not a valid email address.
so using quotation is apparently not allowed but when trying without quotation (first thing I did) I get an error just like the image on previous post which seems to be a bug.
(so actually the zero with quotation on previous image is entered into the textbox after I got the error when I tried without the quotation)
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,229
463
Hello :)

I am happy to see the issue is now resolved. To note, here's the relevant entry in the change log:

Fixed case CPANEL-2443: Allow ability to create email addresses with "0" as the local part.

Thank you.