• Support
  • Mail server - everything is correct, but can not send or receive emails

Followed tutorials on the internet, on aapanel. Added everything correctly to DNS manager. My domain points to correct nameservers, it is showing website and database everything OK, but my mails cant work. Installed roundcube, tried to send and receive, nothing. No error when i send email. It says "sent", but on emails on gmail or somewhere else, i didnt receive.

Fresh VPS with Ubuntu 22


    Hello, it is recommended that you use the DNS provider's console to add relevant records. It is known that some records in the DNS manager will not be propagated.

    aaP_erikator

    Happened to all domains

    Here is mail log:

    Jul 26 17:14:18 localhost postfix/smtp[203176]: EE1F2CED1E: host centrum-cz-20mx1.eco-mx.cz[46.255.227.8] refused to talk to me: 554-antispam21.centrum.cz 554 Your access to this mail system has been rejected due to the sending MTA's poor reputation. If you believe that this failure is in error, please contact the intended recipient via alternate means.

    Jul 26 17:16:45 localhost postfix/smtp[203422]: DA9C3CC51C: to=xxxx@gmail.com, relay=gmail-smtp-in.l.google.com[142.250.27.27]:25, delay=0.79, delays=0.07/0.02/0.37/0.33, dsn=2.0.0, status=sent (250 2.0.0 OK 1722007005 4fb4d7f45d1cf-5ac65483924si2475250a12.352 - gsmtp)
    Jul 26 17:16:45 localhost postfix/qmgr[145858]: DA9C3CC51C: removed

    edit: After Refreshes from both domains on my domain provider's side (set new nameserver, then set back).
    One of them work, the second doesnt. Both are from same countrycode domains. Waited hours for that already

    Alright, seems like you said, using DNS manager is very bad idea. Work mostly for website, but not for mails. I had to use domain provider's DNS settings to make mail work.

    BTW, i can send an email to google, but cant to some others - fixed with adding AAAA records
    Now need to fix cant receive emails

    got error:
    Host or domain name not found. Name service error for name=mail.xxxx.xx type=AAAA: Host found but no data record of requested type

    alright all fixed
    You need AAAA or IPv6 and PTR to work

    https://dnschecker.org/ use the link check your dns records and do not use aapanel dns server. you can install sperate server for dns. aapanel dns server not working same with e-mail server. Good luck