Webmail - An error occurred! Invalid email address

Rezaa

Verified User
Joined
Dec 15, 2010
Messages
75
I just transferred my websites to my new directadmin server. But today I found that webmail shows the following error and says the email that I entered is not valid! I tried other emails with different domains but suddenly all emails are facing same error.
Code:
An error occurred!
Invalid email address: ****@gmail.com

Roundcube is updated to the latest version and all permissions are correct.

Any idea?
 
Hi @zEitEr
We are in the middle of migration process. some of our websites are still on the old server so we had to point the transferred domains to the new server IP through their DNS Management before changing the nameservers IPs.
There is a nameserver in the /etc/resolv.conf
How do I check if DNS resolving is working properly or not? Websites are working fine so I think there is not issue with resolvers?
 
Last edited:
As root run

Code:
nslookup gmail.com

or

Code:
host gmail.com

or

Code:
ping gmail.com

and see whether or not it resolves.
 
Here are the reults:
Code:
# nslookup gmail.com
Server:         178.22.122.100
Address:        178.22.122.100#53

Non-authoritative answer:
Name:   gmail.com
Address: 172.217.18.5
Code:
# host gmail.com
gmail.com has address 172.217.18.5
gmail.com has IPv6 address 2a00:1450:4001:80b::2005
gmail.com mail is handled by 5 gmail-smtp-in.l.google.com.
gmail.com mail is handled by 10 alt1.gmail-smtp-in.l.google.com.
gmail.com mail is handled by 20 alt2.gmail-smtp-in.l.google.com.
gmail.com mail is handled by 30 alt3.gmail-smtp-in.l.google.com.
gmail.com mail is handled by 40 alt4.gmail-smtp-in.l.google.com.
Code:
# ping gmail.com
PING gmail.com (172.217.18.5) 56(84) bytes of data.
64 bytes from fra02s19-in-f5.1e100.net (172.217.18.5): icmp_seq=1 ttl=45 time=140 ms
64 bytes from fra02s19-in-f5.1e100.net (172.217.18.5): icmp_seq=2 ttl=45 time=131 ms
64 bytes from fra02s19-in-f5.1e100.net (172.217.18.5): icmp_seq=3 ttl=45 time=140 ms
64 bytes from fra02s19-in-f5.1e100.net (172.217.18.5): icmp_seq=4 ttl=45 time=140 ms
--- gmail.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3003ms
rtt min/avg/max/mdev = 131.023/137.939/140.438/4.021 ms
 
Seems dns resolving works fine.

Check roundcube error logs, you might need to enable them first, if they are disabled on your server

/var/www/html/roundcube/
 
Thank you for you reply, but it was due to php mode !
We managed to fix the problem by changing phpfpm to mod_php .
I'm sure roundcube is compatible with phpfpm itself as we have both of them on our cpanel server but I don't know why it doesn't work on directadmin.
 
Back
Top