• Support
  • Can't add domain on mail server

Guys, does anyone have a solution for me? I've tried to change the dns, but it didn't work.

Sorry, something went wrong:
Traceback (most recent call last):
File "class/flask_sockets.py", line 30, in call
handler, values = adapter.match()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/werkzeug/routing.py", line 1945, in match
raise NotFound()
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "class/panelPlugin.py", line 2132, in a
return eval(execStr)
File "", line 1, in
File "/www/server/panel/plugin/mail_sys/mail_sys_main.py", line 410, in get_domains
public.writeFile(self.session_conf, json.dumps(self.session))
File "/www/server/panel/pyenv/lib/python3.7/json/init.py", line 231, in dumps
return _default_encoder.encode(obj)
File "/www/server/panel/pyenv/lib/python3.7/json/encoder.py", line 199, in encode
chunks = self.iterencode(o, _one_shot=True)
File "/www/server/panel/pyenv/lib/python3.7/json/encoder.py", line 257, in iterencode
return _iterencode(o, 0)
File "/www/server/panel/pyenv/lib/python3.7/json/encoder.py", line 179, in default
raise TypeError(f'Object of type {o.class.name} '
TypeError: Object of type A is not JSON serializable

    aaPanel_Kern

    Yes, that's right. In fact, all the sites that I own on this VPS have this status in the ping:

    Ping Stats for XXXXXX:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% of
    loss)

      aaPanel_Kern

      My MX record has a domain in "Mail Server", the configuration is this:

      mx / mydomain.com.br / mail.mydomain.com.br / ttl auto / priority 10

        aaP_vini
        not lost. At the same time, the A record in the mx record does not use the proxy state. At the same time, it must point to the ip of the server, preferably the ip of ipv4
        Ping is just a test, if you can connect normally, you don't need to manage

          aaPanel_Kern

          I'm worried because the email server was working normally. However, when I went to install a new domain on it, it broke.

            aaP_vini
            It means that there is a problem with the resolution of the newly added domain name. Check whether the relevant record points to the ip of the server. The proxy cannot be used.

              aaPanel_Kern

              I reinstalled all records and also reinstalled the mail server, but the problem persists. Any other ideas?

              Connect with us: 📨 Telegram 💬 Discord Email: support@aapanel.com