I did start of with a 2.2 SVN install (not sure of the exact version) and upgraded to 2.2.0 yesterday.
I tired to add a mailbox this morning on one of our domains and ran into the "The EMAIL is not valid!" message - 4 other domains are fine apart from our 'main' one. I've set "$CONF['emailcheck_resolve_domain']='NO';" and that didn't help but I did copy and paste someones email address into the username box and it took it (but looked a bit odd EG user@theredomain.com@ourdomain.co.uk).
It just doesn't seem to like one particular domain - and yes its a .co.uk domain, but other .co.uk domains are not affected...
I've still got the 2.2 SVN install and that work's fine.
Rich
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This same problem has been driving be nuts for the last couple of weeks. Multiple virtual domains created, they all work except 1. Turns out that while I could resolve the host names for everything there was no MX record in DNS for the failing domain. Mail works just fine since the default action in that case is to send mail to the root of the domain but the php script might want to check that. Not being fluent in php I'll have to pass for now on an attempt to fix it, but at least maybe the additional possible culprit will prevent some else from losing as much hair as I did over it. :)
later...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've copied the functions.inc.php from the 'working' postfixadmin to the 2.2.0 and it's still doing the same. diff doesn't report any differences between the create-mailbox.php
When I have some more time i'll look into this a little more and update this thread if I find anything.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There are two possible reasons for this error message:
a) the regex checking the mail address thinks it is invalid. (See functions.inc.php, function check_email, line 298.)
b) the domain name can not be resolved by your DNS server. You can disable this check with $CONF['emailcheck_resolve_domain']='NO'. (But without a working DNS entry, sending or receiving mails will be problematic...)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all,
I did start of with a 2.2 SVN install (not sure of the exact version) and upgraded to 2.2.0 yesterday.
I tired to add a mailbox this morning on one of our domains and ran into the "The EMAIL is not valid!" message - 4 other domains are fine apart from our 'main' one. I've set "$CONF['emailcheck_resolve_domain']='NO';" and that didn't help but I did copy and paste someones email address into the username box and it took it (but looked a bit odd EG user@theredomain.com@ourdomain.co.uk).
It just doesn't seem to like one particular domain - and yes its a .co.uk domain, but other .co.uk domains are not affected...
I've still got the 2.2 SVN install and that work's fine.
Rich
That seems odd. I've had no problems on my installs which have been upgraded from svn to 2.2.0.
I'd suggest you rummage in functions.inc.php as this will (probably) be the culprit.
This same problem has been driving be nuts for the last couple of weeks. Multiple virtual domains created, they all work except 1. Turns out that while I could resolve the host names for everything there was no MX record in DNS for the failing domain. Mail works just fine since the default action in that case is to send mail to the root of the domain but the php script might want to check that. Not being fluent in php I'll have to pass for now on an attempt to fix it, but at least maybe the additional possible culprit will prevent some else from losing as much hair as I did over it. :)
later...
I'm confused... what do you mean by 'an attempt to fix it'? Isn't the proper fix to fix DNS (add an MX record for the domain)?
MX record does exist in my case..It's a weird one.
I've copied the functions.inc.php from the 'working' postfixadmin to the 2.2.0 and it's still doing the same. diff doesn't report any differences between the create-mailbox.php
When I have some more time i'll look into this a little more and update this thread if I find anything.
i have the same problem, the "The EMAIL is not valid!" keeps appearing, it is a fresh install on ubuntu 7.04, any ideas?
i used the latest svn build.
There are two possible reasons for this error message:
a) the regex checking the mail address thinks it is invalid. (See functions.inc.php, function check_email, line 298.)
b) the domain name can not be resolved by your DNS server. You can disable this check with $CONF['emailcheck_resolve_domain']='NO'. (But without a working DNS entry, sending or receiving mails will be problematic...)