When I am using OVH Cloud, I can send and receive mail. But when I switched to another VPS (Clean installation), it did not work anymore, I could still receive mails but not send them and yes I have checked my spam folder and searched up the sender in the recipient.

All ports are open,
rDNS is working (mail.c-core.xyz / 178.63.110.201) You can use dig -x 178.63.110.201 to verify this.
I’m not sure if it takes time for it to be working but let me know thank you :3

  • esackbauer My host have unblocked port 25. I will try now…
    it works my host fixed the issue :3
    thanks for everything

What do the postfix log files say? Why must we always ask you guys to do the obvious things? 😉

With dig we can only check incoming ports open, but not outgoing, that you must do… Some providers block port 25 outgoing by default.

  • Doma replied to this.

    Have something to say?

    Join the community by quickly registering to participate in this discussion. We'd like to see you joining our great moo-community!

    esackbauer
    port 25 is open i believe, i checked with portchecker and it is open

    how do i get logs for postfix?

      Doma how do i get logs for postfix?

      Really? YOu never logged on with admin account on GUI and found the “Logs” tab?

      Doma i checked with portchecker and it is open

      If you mean the portchecker.com, once again it checks only inbound, not outbound.
      Seems you need a lot to learn…

      Another thing: Also make sure all DNS entries are set up properly, especially SPF

      • Doma replied to this.

        esackbauer
        oh what lol i can try to access it right now. But my currently network im using blocks the connection to the mail server lol. I will try my best to get it.

        I think this is the issue:
        24/04/2024, 09:46:33 info connect to alt1.gmail-smtp-in.l.google.com[2a00:1450:4013:c16::1b]:25: Network is unreachable
        24/04/2024, 09:46:32 info connect to gmail-smtp-in.l.google.com[64.233.167.26]:25: Connection timed out
        24/04/2024, 09:46:10 info connect to gmail-smtp-in.l.google.com[2a00:1450:400c:c0a::1b]:25: Network is unreachable
        24/04/2024, 09:46:09 info 314F841E4B: from=payments@c-core.xyz, size=942, nrcpt=1 (queue active)
        24/04/2024, 09:46:02 info connect to gmail-smtp-in.l.google.com[2a00:1450:400c:c0a::1b]:25: Network is unreachable
        24/04/2024, 09:46:01 info disconnect from mailcowdockerized-sogo-mailcow-1.mailcowdockerized_mailcow-network[172.22.1.248] ehlo=1 auth=1 mail=1 rcpt=1 data=1 quit=1 commands=6
        24/04/2024, 09:46:01 info 8C11B41E4D: from=payments@c-core.xyz, size=921, nrcpt=1 (queue active)
        24/04/2024, 09:45:58 info 8C11B41E4D: message-id=<44-6628c700-1-66e12d00@88244398>
        24/04/2024, 09:45:58 info 8C11B41E4D: replace: header Received: from 7810430316b6 (mailcowdockerized-sogo-mailcow-1.mailcowdockerized_mailcow-network [172.22.1.248])??(Authenticated sender: payments@c-core.xyz)??by mail.c-core.xyz (Postcow) with ESMTPA i from mailcowdockerized-sogo-mailcow-1.mailcowdockerized_mailcow-network[172.22.1.248]; from=payments@c-core.xyz to=teeyaim@gmail.com proto=ESMTP helo=<7810430316b6>: Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPA id 8C11B41E4D??for teeyaim@gmail.com; Wed, 24 Apr 2024 08:45:53 +0000 (UTC)
        24/04/2024, 09:45:58 info 8C11B41E4D: client=mailcowdockerized-sogo-mailcow-1.mailcowdockerized_mailcow-network[172.22.1.248], sasl_method=PLAIN, sasl_username=payments@c-core.xyz
        24/04/2024, 09:45:53 info discarding EHLO keywords: CHUNKING
        24/04/2024, 09:45:53 info connect from mailcowdockerized-sogo-mailcow-1.mailcowdockerized_mailcow-network[172.22.1.248]
        24/04/2024, 09:44:50 info statistics: max cache size 1 at Apr 24 08:41:29
        24/04/2024, 09:44:50 info statistics: max connection count 1 for (smtpd:18.209.86.113) at Apr 24 08:41:29
        24/04/2024, 09:44:50 info statistics: max connection rate 1/60s for (smtpd:18.209.86.113) at Apr 24 08:41:29

        I think this is the issue:
        24/04/2024, 09:46:33 info connect to alt1.gmail-smtp-in.l.google.com[2a00:1450:4013:c16::1b]:25: Network is unreachable
        24/04/2024, 09:46:32 info connect to gmail-smtp-in.l.google.com[64.233.167.26]:25: Connection timed out
        24/04/2024, 09:46:10 info connect to gmail-smtp-in.l.google.com[2a00:1450:400c:c0a::1b]:25: Network is unreachable
        24/04/2024, 09:46:09 info 314F841E4B: from=payments@c-core.xyz, size=942, nrcpt=1 (queue active)
        24/04/2024, 09:46:02 info connect to gmail-smtp-in.l.google.com[2a00:1450:400c:c0a::1b]:25: Network is unreachable
        24/04/2024, 09:46:01 info disconnect from mailcowdockerized-sogo-mailcow-1.mailcowdockerized_mailcow-network[172.22.1.248] ehlo=1 auth=1 mail=1 rcpt=1 data=1 quit=1 commands=6
        24/04/2024, 09:46:01 info 8C11B41E4D: from=payments@c-core.xyz, size=921, nrcpt=1 (queue active)
        24/04/2024, 09:45:58 info 8C11B41E4D: message-id=<44-6628c700-1-66e12d00@88244398>
        24/04/2024, 09:45:58 info 8C11B41E4D: replace: header Received: from 7810430316b6 (mailcowdockerized-sogo-mailcow-1.mailcowdockerized_mailcow-network [172.22.1.248])??(Authenticated sender: payments@c-core.xyz)??by mail.c-core.xyz (Postcow) with ESMTPA i from mailcowdockerized-sogo-mailcow-1.mailcowdockerized_mailcow-network[172.22.1.248]; from=payments@c-core.xyz to=teeyaim@gmail.com proto=ESMTP helo=<7810430316b6>: Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPA id 8C11B41E4D??for teeyaim@gmail.com; Wed, 24 Apr 2024 08:45:53 +0000 (UTC)
        24/04/2024, 09:45:58 info 8C11B41E4D: client=mailcowdockerized-sogo-mailcow-1.mailcowdockerized_mailcow-network[172.22.1.248], sasl_method=PLAIN, sasl_username=payments@c-core.xyz
        24/04/2024, 09:45:53 info discarding EHLO keywords: CHUNKING
        24/04/2024, 09:45:53 info connect from mailcowdockerized-sogo-mailcow-1.mailcowdockerized_mailcow-network[172.22.1.248]
        24/04/2024, 09:44:50 info statistics: max cache size 1 at Apr 24 08:41:29
        24/04/2024, 09:44:50 info statistics: max connection count 1 for (smtpd:18.209.86.113) at Apr 24 08:41:29
        24/04/2024, 09:44:50 info statistics: max connection rate 1/60s for (smtpd:18.209.86.113) at Apr 24 08:41:29

        oops network at school error moments lol anyways it sent it twice

        esackbauer
        for the dns records, can you check c-core.xyz on cloudflare?

        I can add you as dns viewer on cloudflare, i just need your email to add

        esackbauer
        how do i go on about allowing outgoings? or check it anyways:
        I have used the command
        ufw allow 22,25,80,110,143,443,465,587,993,995,4190/tcp
        ufw enable

        [unknown] btw i used dig -x to check the rDNS

        [unknown] the issue i think i can see is that the postfix trying to use IPv6 but my vps only have IPv4 so i will try to change it

          Doma is that the postfix trying to use IPv6

          No that is not your issue, because IPv4 is also tried:
          24/04/2024, 09:46:32 info connect to gmail-smtp-in.l.google.com[64.233.167.26]:25: Connection timed out

          A problem could be that you have not set up DNS entries for IPv6.
          Still you could try to disable IPv6:
          docs.mailcow.email Icon Disable IPv6 - mailcow: dockerized documentation

          Seems like you need to have your provider unblock port 25 outgoing for you.

          • Doma replied to this.

            esackbauer ok i will get my host provider to unblock outgoing port 25. And i have disabled IPv6 with that exact same documentation, thank you now i must wait lol. So this is why ovh works fine

            esackbauer My host have unblocked port 25. I will try now…
            it works my host fixed the issue :3
            thanks for everything

            No one is typing