CP DEVEL  

Go Back   CP DEVEL > Projects > Hsphere Control Panel > Bug

3.3P1 creating email address alias with a dot fails Issue Tools
issueid=93 05-07-2010 10:06 AM
Junior Member
3.3P1 creating email address alias with a dot fails

When setting up a new email alias which contains a . like firstname.lastname, the following error occurs:
Local name : Mail alias name should be alphanumeric value without dot, at least 2 characters.
Issue Details
Project Hsphere Control Panel
Category Unknown
Status Workaround by third party
Priority 10 - Lowest
Affected Version 3.3 P1
Fixed Version (none)
Users able to reproduce bug 1
Users unable to reproduce bug 0
Assigned Users (none)
Tags (none)

05-07-2010 10:07 AM
Junior Member
 
as a work around, first create it as a mailbox and then disable the mailbox and enable the mail alias.
Reply
05-07-2010 02:03 PM
Administrator
 
As far as I know Parallels changed how this worked in one of the patches. They removed aliases with a dot because of a bug in vpopmail. So instead of upgrading vpopmail they blocked aliases with dot.
Reply
05-11-2010 08:32 PM
Administrator
 
vi /hsphere/local/home/cpanel/shiva/shiva-templates/common/submit/email/s_email.yafv

change:
regexp vMAliasName= "\w+[\w\!\#\$\*\+\-\=\?\^\~]*([\w\!\#\$\*\+\-\=\?\~]+)*", maxlength="128", fail=yafv.vMAliasName.fail;
to:
regexp vMAliasName= "\w+[\w\!\#\$\*\+\-\=\?\^\.\~]*([\w\!\#\$\*\+\-\=\?\~]+)*", maxlength="128", fail=yafv.vMAliasName.fail;

save and exit.
login to cpanel user
su - cpanel
cd shiva/shiva-templates
.configure
make

exit cpanel user
restart control panel
service httpdcp restart

aliases with dot will now work. Though I can't be responsible if qmail bug pops up with why parallels disabled it in the first place

Further on the topic is here, and talks about further code that would need to be done by the backend of Hsphere to convert . (dot) to a : (colon) for aliases in qmail.
http://www.forum.psoft.net/showthrea...ight=alias+dot
Reply
07-01-2010 12:18 PM
Junior Member
 
Filed as TP#46775
Reply
Reply

Issue Tools
Subscribe to this issue

All times are GMT -5. The time now is 02:26 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.