Results 1 to 7 of 7

Thread: Webmail - An error occurred! Invalid email address

  1. #1
    Join Date
    Dec 2010
    Posts
    75

    Webmail - An error occurred! Invalid email address

    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?

  2. #2
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    12,400
    Hello,

    Check your /etc/resolv.conf

    DNS resolving does not work?

  3. #3
    Join Date
    Dec 2010
    Posts
    75
    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 by Rezaa; 10-10-2018 at 12:34 PM.

  4. #4
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    12,400
    As root run

    Code:
    nslookup gmail.com
    or

    Code:
    host gmail.com
    or

    Code:
    ping gmail.com
    and see whether or not it resolves.

  5. #5
    Join Date
    Dec 2010
    Posts
    75
    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

  6. #6
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    12,400
    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/

  7. #7
    Join Date
    Dec 2010
    Posts
    75
    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.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •