Mail sending

Discussion in 'Installation/Configuration' started by Ambrikaa, Apr 8, 2024.

  1. Ambrikaa

    Ambrikaa New Member

    Hello!
    I use ispconfig with cloudflare 1-2 years ago and i can send/receive mails, but a few days ago i can't send emails, i got, but can't send. I tried a lot of things, but not working. I think my provider don't block the outgoing traffic, because when they block, i need to got notification, but i dont got, so i think traffic is enabled.


    Code:
    ##### SERVER #####
    IP-address (as per hostname): ***.***.***.***
    [WARN] could not determine server's ip address by ifconfig
    [INFO] OS version is Ubuntu 20.04.6 LTS
    
    [INFO] uptime:  19:33:44 up 19:43,  1 user,  load average: 0.08, 0.05, 0.01
    
    [INFO] memory:
                  total        used        free      shared  buff/cache   available
    Mem:          7.8Gi       906Mi       6.3Gi       162Mi       560Mi       6.5Gi
    Swap:            0B          0B          0B
    
    [INFO] systemd failed services status:
      UNIT LOAD ACTIVE SUB DESCRIPTION
    0 loaded units listed.
    
    [INFO] ISPConfig is installed.
    
    ##### ISPCONFIG #####
    ISPConfig version is 3.2.11p2
    
    
    ##### VERSION CHECK #####
    
    [INFO] php (cli) version is 8.2.17
    [INFO] php-cgi (used for cgi php in default vhost!) is version 7.4.33
    
    ##### PORT CHECK #####
    
    
    ##### MAIL SERVER CHECK #####
    
    
    ##### RUNNING SERVER PROCESSES #####
    
    [INFO] I found the following web server(s):
            Apache 2 (PID 263644)
    [INFO] I found the following mail server(s):
            Postfix (PID 316187)
    [INFO] I found the following pop3 server(s):
            Dovecot (PID 627)
    [INFO] I found the following imap server(s):
            Dovecot (PID 627)
    [INFO] I found the following ftp server(s):
            PureFTP (PID 973)
    
    ##### LISTENING PORTS #####
    (only           ()
    Local           (Address)
    [anywhere]:22           (542/sshd:)
    [localhost]:5432                (621/postgres)
    [anywhere]:25           (316187/master)
    [localhost]:953         (420/named)
    [anywhere]:4190         (627/dovecot)
    [anywhere]:993          (627/dovecot)
    [anywhere]:995          (627/dovecot)
    [localhost]:11332               (630/rspamd:)
    [localhost]:11333               (630/rspamd:)
    [localhost]:11334               (630/rspamd:)
    [localhost]:10023               (722/postgrey)
    [anywhere]:587          (316187/master)
    [localhost]:6379                (551/redis-server)
    [localhost]:11211               (419/memcached)
    [anywhere]:110          (627/dovecot)
    [anywhere]:143          (627/dovecot)
    [anywhere]:465          (316187/master)
    ***.***.***.***:53              (420/named)
    ***.***.***.***:53              (420/named)
    ***.***.***.***:53              (420/named)
    ***.***.***.***:53              (420/named)
    ***.***.***.***:53              (420/named)
    ***.***.***.***:53              (420/named)
    ***.***.***.***:53              (420/named)
    ***.***.***.***:53              (420/named)
    ***.***.***.***:53              (420/named)
    ***.***.***.***:53              (420/named)
    ***.***.***.***:53              (420/named)
    ***.***.***.***:53              (420/named)
    [anywhere]:21           (973/pure-ftpd)
    [localhost]:53          (420/named)
    [localhost]:53          (420/named)
    [localhost]:53          (420/named)
    [localhost]:53          (420/named)
    ***.***.***.***:53              (385/systemd-resolve)
    *:*:*:*::*:22           (542/sshd:)
    *:*:*:*::*:5432         (621/postgres)
    *:*:*:*::*:25           (316187/master)
    *:*:*:*::*:953          (420/named)
    *:*:*:*::*:443          (263644/apache2)
    *:*:*:*::*:4190         (627/dovecot)
    *:*:*:*::*:993          (627/dovecot)
    *:*:*:*::*:995          (627/dovecot)
    *:*:*:*::*:11332                (630/rspamd:)
    *:*:*:*::*:11333                (630/rspamd:)
    *:*:*:*::*:11334                (630/rspamd:)
    *:*:*:*::*:10023                (722/postgrey)
    *:*:*:*::*:3306         (610/mysqld)
    *:*:*:*::*:587          (316187/master)
    *:*:*:*::*:6379         (551/redis-server)
    [localhost]10           (627/dovecot)
    [localhost]43           (627/dovecot)
    *:*:*:*::*:8080         (263644/apache2)
    *:*:*:*::*:80           (263644/apache2)
    *:*:*:*::*:465          (316187/master)
    *:*:*:*::*:8081         (263644/apache2)
    *:*:*:*::*:21           (973/pure-ftpd)
    *:*:*:*::*:53           (420/named)
    *:*:*:*::*:53           (420/named)
    *:*:*:*::*:53           (420/named)
    *:*:*:*::*:53           (420/named)
    *:*:*:*::**:*:*:*::*53          (420/named)
    *:*:*:*::**:*:*:*::*53          (420/named)
    *:*:*:*::**:*:*:*::*53          (420/named)
    *:*:*:*::**:*:*:*::*53          (420/named)
    *:*:*:*::*53            (420/named)
    *:*:*:*::*53            (420/named)
    *:*:*:*::*53            (420/named)
    *:*:*:*::*53            (420/named)
    
    
    
    
    ##### IPTABLES #####
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination
    f2b-pure-ftpd  tcp  --  [anywhere]/0            [anywhere]/0            multipor
    t dports 21
    f2b-sshd   tcp  --  [anywhere]/0            [anywhere]/0            multiport dp
    orts 22
    
    Chain FORWARD (policy DROP)
    target     prot opt source               destination
    DOCKER-USER  all  --  [anywhere]/0            [anywhere]/0
    DOCKER-ISOLATION-STAGE-1  all  --  [anywhere]/0            [anywhere]/0
    
    ACCEPT     all  --  [anywhere]/0            [anywhere]/0            ctstate RELA
    TED,ESTABLISHED
    DOCKER     all  --  [anywhere]/0            [anywhere]/0
    ACCEPT     all  --  [anywhere]/0            [anywhere]/0
    ACCEPT     all  --  [anywhere]/0            [anywhere]/0
    ACCEPT     all  --  [anywhere]/0            [anywhere]/0            ctstate RELA
    TED,ESTABLISHED
    DOCKER     all  --  [anywhere]/0            [anywhere]/0
    ACCEPT     all  --  [anywhere]/0            [anywhere]/0
    ACCEPT     all  --  [anywhere]/0            [anywhere]/0
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination
    
    Chain DOCKER (2 references)
    target     prot opt source               destination
    
    Chain DOCKER-ISOLATION-STAGE-1 (1 references)
    target     prot opt source               destination
    DOCKER-ISOLATION-STAGE-2  all  --  [anywhere]/0            [anywhere]/0
    
    DOCKER-ISOLATION-STAGE-2  all  --  [anywhere]/0            [anywhere]/0
    
    RETURN     all  --  [anywhere]/0            [anywhere]/0
    
    Chain DOCKER-ISOLATION-STAGE-2 (2 references)
    target     prot opt source               destination
    DROP       all  --  [anywhere]/0            [anywhere]/0
    DROP       all  --  [anywhere]/0            [anywhere]/0
    RETURN     all  --  [anywhere]/0            [anywhere]/0
    
    Chain DOCKER-USER (1 references)
    target     prot opt source               destination
    RETURN     all  --  [anywhere]/0            [anywhere]/0
    
    Chain f2b-pure-ftpd (1 references)
    target     prot opt source               destination
    RETURN     all  --  [anywhere]/0            [anywhere]/0
    
    Chain f2b-sshd (1 references)
    target     prot opt source               destination
    REJECT     all  --  ***.***.***.***       [anywhere]/0            reject-with ic
    mp-port-unreachable
    REJECT     all  --  ***.***.***.***          [anywhere]/0            reject-with
     icmp-port-unreachable
    REJECT     all  --  ***.***.***.***         [anywhere]/0            reject-with
    icmp-port-unreachable
    REJECT     all  --  ***.***.***.***        [anywhere]/0            reject-with i
    cmp-port-unreachable
    REJECT     all  --  ***.***.***.***       [anywhere]/0            reject-with ic
    mp-port-unreachable
    RETURN     all  --  [anywhere]/0            [anywhere]/0
    
    
    
    
    ##### LET'S ENCRYPT #####
    acme.sh is installed in /root/.acme.sh/acme.sh
    
    Mail logs:

    Code:
    Apr  8 18:48:34 proitserver1 postfix/qmgr[263714]: 038911C0524: from=<[email protected]>, size=696, nrcpt=1 (queue active)
    Apr  8 18:48:34 proitserver1 postfix/smtp[313260]: connect to mail.gmail.hu[94.199.52.215]:25: Connection refused
    Apr  8 18:48:34 proitserver1 postfix/smtp[313260]: 038911C0524: to=<[email protected]>, relay=none, delay=1195, delays=1195/0.04/0/0, dsn=4.4.1, status=deferred (connect to mail.gmail.hu[94.199.52.215]:25: Connection refused)
    
    thank you if can help me.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Call the support of your provider as they block port 25 outgoing.
     
    Ambrikaa likes this.
  3. Ambrikaa

    Ambrikaa New Member

    Hello! Thank you for your answer, i talked with my provider, but they said that they are not block port 25 outgoing.
     
  4. Ambrikaa

    Ambrikaa New Member

    It was VPS related issue, i dont know what's wrong, but after i did a backup the mails working.
     

Share This Page