[SOLVED] Mail not arriving and cannot send.

Discussion in 'Installation/Configuration' started by koheleth, Sep 30, 2019.

  1. koheleth

    koheleth Member

    Hi, first time with ISPConfig 3 install was fine and am able to setup websites.
    Mail accounts seem to check for new email but any email sent to the address never arrives it's as if they disappear.
    Also cannot send email, tried all sorts of client settings, get messages like...
    !30/09/2019, 12:13:47: SEND - Could not connect to the server. No connection could be made because the target machine actively refused it
    and...
    !30/09/2019, 10:40:54: SEND - Could not connect to the server. A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
    It is a home server running a fresh install of Ubuntu 18.04, Dovcot, Postfix and Apache2
    I have opened needed ports on my router. Router has a fixed IP.
    I have run your test script and it has some interesting suggestions but I need some help if possible.

    Code:
    ##### SERVER #####
    IP-address (as per hostname): ***.***.***.***
    [WARN] could not determine server's ip address by ifconfig
    [INFO] OS version is Ubuntu 18.04.3 LTS
    
    [INFO] ISPConfig is installed.
    
    ##### ISPCONFIG #####
    ISPConfig version is 3.1dev
    
    
    ##### VERSION CHECK #####
    
    [INFO] php (cli) version is 7.2.19-0ubuntu***.***.***.***
    
    ##### PORT CHECK #####
    
    [WARN] Port 465 (SMTP server SSL) seems NOT to be listening
    
    ##### MAIL SERVER CHECK #####
    
    [WARN] I found no "submission" entry in your postfix master.cf
    [INFO] this is not critical, but if you want to offer port 587 for smtp connections you have to enable this.
    [WARN] I found no "smtps" entry in your postfix master.cf
    [INFO] this is not critical, but if you want to offer SSL for smtp (not TLS) connections you have to enable this.
    
    ##### RUNNING SERVER PROCESSES #####
    
    [INFO] I found the following web server(s):
    Apache 2 (PID 1520)
    [INFO] I found the following mail server(s):
    Postfix (PID 1539)
    [INFO] I found the following pop3 server(s):
    Dovecot (PID 778)
    [INFO] I found the following imap server(s):
    Dovecot (PID 778)
    [INFO] I found the following ftp server(s):
    PureFTP (PID 1913)
    
    ##### LISTENING PORTS #####
    (only ()
    Local (Address)
    [anywhere]:110 (778/dovecot)
    [anywhere]:143 (778/dovecot)
    [anywhere]:21 (1913/pure-ftpd)
    ***.***.***.***:53 (768/named)
    [localhost]:53 (768/named)
    ***.***.***.***:53 (707/systemd-resolve)
    [anywhere]:22 (1130/sshd)
    [anywhere]:25 (1539/master)
    [localhost]:953 (768/named)
    [anywhere]:993 (778/dovecot)
    [anywhere]:995 (778/dovecot)
    [localhost]:10023 (1409/postgrey)
    [localhost]:10024 (1775/amavisd-new)
    [localhost]:10025 (1539/master)
    [localhost]:10026 (1775/amavisd-new)
    [localhost]:10027 (1539/master)
    [localhost]:11211 (857/memcached)
    [localhost]10 (778/dovecot)
    [localhost]43 (778/dovecot)
    *:*:*:*::*:8080 (1520/apache2)
    *:*:*:*::*:80 (1520/apache2)
    *:*:*:*::*:8081 (1520/apache2)
    *:*:*:*::*:21 (1913/pure-ftpd)
    *:*:*:*::*:53 (768/named)
    *:*:*:*::*:22 (1130/sshd)
    *:*:*:*::*:25 (1539/master)
    *:*:*:*::*:953 (768/named)
    *:*:*:*::*:443 (1520/apache2)
    *:*:*:*::*:993 (778/dovecot)
    *:*:*:*::*:995 (778/dovecot)
    *:*:*:*::*:10023 (1409/postgrey)
    *:*:*:*::*:10024 (1775/amavisd-new)
    *:*:*:*::*:3306 (1198/mysqld)
    *:*:*:*::*:10026 (1775/amavisd-new)
    


    Thanks in advance.
     
    Last edited: Sep 30, 2019
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Do you run the server at home or in the office? If yes, contact your internet service provider and ask them if they block port 25 in any way. Most cable and dsl providers do that.
     
  3. koheleth

    koheleth Member

    Thanks, thought of that, in the router you have an option to do it yourself, sry it is in French. Please see images.
    Rapid response btw. Thanks.

    Annotation 2019-09-30 130144.jpg
    Annotation 2019-09-30 130021.jpg
     
    Last edited: Sep 30, 2019
  4. koheleth

    koheleth Member

    At home sorry, first time, ISP gave me a fixed IP so I thought I would try a home server, seems ok but for mail, same problems with Virtualmin, website no problem just mail issues, I would like to stay with ISPC as I really like it, nice and smooth interface.
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Please contact the support of your ISP. No matter if your router has an option to turn it on of off, your ISP probably blocks port 25 on his side in the network, ask them if they block port 25 incoming or outgoing and if they allow you to host mail servers. If your ISP blocks it, you can not run a mail server at how, no matter which control panel you use. That you have the same problem with virtualmin indicates that your ISP blocks it, so this is neiter an ispconfig or virtualmin problem, its an issue on the network side of your ISP.
     
  6. koheleth

    koheleth Member

    Hi, bit embarrassing but it looks like I removed the comment out # from most as instructed in the install direction but not the 2 main headings in the postfix master.cf , oops. Mail just went on port 465 TLS but I got a cert warning. Seem to be receiving as well. Sorry about that will update after I test it all again. :oops:
     
  7. koheleth

    koheleth Member

    All seems fine, even with sending on port 25 also receive email normally.
    Problem was I did not uncomment ... in master.cf as instructed.
    submission inet n - y - - smtpd
    and
    smtps inet n - y - - smtpd

    My goof.
    Thank you for your rapid support.

    David
     
    Last edited: Sep 30, 2019
    till likes this.

Share This Page