Hi! Few weeks ago i had a strange problem when i tried to change some settings for a .biz-domain.
Normally i set up new domains and stuff through external scripts, which also make the corresponding entries in the web-cyradm-database (add the domain, accountusers, create mailboxes in cyrus, add a domain-admin etc). My script completed as usually with 2 mailboxes created. Then i tried to edit the 2 mailboxes and add email-addresses in web-cyradm, but, when i opened the domain and clicked on "accounts" it said, that there are no accounts available for this domain... i checked with the database, they were there, checked with cyrus, mailboxes definitely existed. I then found out, that this was the first .biz-domain i added to web-cyradm (remember, i don't use web-cyradm to set this up, my external scripts do this). I left the domain as it was, as the customer didn't need the e-mail-addresses. The other day i had the idea to check, if web-cyradm checks the input somehow and if it knows .biz-Domains at all. Result: it doesn't. I made some small changes to validate.inc.php and suddenly the 2 mailboxes i added a few days before were found. My changes to validate.inc.php were (i can also send a patch for those 6 chars): add "|z" to this RegEx in ValidateMail / ValidMail, so that it reads: ^[0-9a-z]([-_.]?[0-9a-z])[EMAIL PROTECTED]:alnum:]]([.-]?[[:alnum:]])*[.][a-wyz][[:alpha: ]](g|l|m|t|u|v|f|ro|fo|op|pa|me|seum|z)?$ same with ValidDomain: ^[[:alnum:]]([.-]?[[:alnum:]])*[.][a-wyz][[:alpha:]](g|l|m|t|u|v|f|ro|fo|op| pa|me|seum|z)?$ Haven't looked deeper into validate.inc.php, so if there are more places, where the correctness of domains/email-adresses is checked, this bug could be there as well... after the changes above, it worked for me... -- Mit freundlichem Gruss, Roland Hebertinger =========================================================== Roland Hebertinger Straubinger Tagblatt EDV-Abteilung FON: +49.9421.9404238 Ludwigsplatz 30 FAX: +49.9421.9406236 D-94315 Straubing http://www.idowa.de Email: [EMAIL PROTECTED] =========================================================== Zeitungssgruppe Straubinger Tagblatt / Landshuter Zeitung =========================================================== "Never underestimate the ability of people to develop strange interpretations of anything you write, say, or do." _______________________________________________ This mailing list is hosted and supported by bit-heads GmbH | http://www.bit-heads.ch _______________________________________________ Web-cyradm mailing list [email protected] http://www.web-cyradm.org/mailman/listinfo/web-cyradm
