Roundcube cannot send mail

Discussion in 'Installation/Configuration' started by Steen Rabol, Feb 21, 2019.

  1. Steen Rabol

    Steen Rabol New Member

    Hi
    Please have patience with me as this is my first real linux setup.
    I have a VPS, installed Ubuntu 18.04, did a upgrade and updated everything, installed PHP 7.2 and then I executed the 'automated installation' script: at github /servisys/ispconfig_setup
    I bought my domain name at name.com, added a DNS entry to point to the VPS - it works.
    I have added a MX record for the the domain to point at the vps

    I then logged into ISPConfig and as admin, I created a new mail domain and then a mailbox.
    Launching /webmail works and i can login, but I cannot send or receive any mail

    Any hints?

    Thanks in advance

    Kind regards
    Steen
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    What happens when sending or receiving mail? How do you know it is not sent or deliverd?
    Are the mails waiting in mail queue? Command
    Code:
    mailq
    should show this.
    If mails are returned to sender, what reason is given for non-delivery?
    Try sending in webmail an e-mail to that same e-mail account, does that work?
    And, there is this which you should do: https://www.howtoforge.com/community/threads/please-read-before-posting.58408/
     
  3. Steen Rabol

    Steen Rabol New Member

    Nothing happens - Meaning, when I hit 'Send' I just get the 'Sending mail....' in the lower right corner and then after some time it just disappears

    I executed the script you pointed me to:

    Code:
    ##### SERVER #####
    IP-address (as per hostname): ***.***.***.***
    [WARN] could not determine server's ip address by ifconfig
    [INFO] ISPConfig is installed.
    
    ##### ISPCONFIG #####
    ISPConfig version is 3.1.13p1
    
    
    ##### VERSION CHECK #####
    
    [INFO] php (cli) version is 7.2.15-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 enab
    le 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 25360)
    [INFO] I found the following mail server(s):
        Postfix (PID 26659)
    [INFO] I found the following pop3 server(s):
        Dovecot (PID 26703)
    [INFO] I found the following imap server(s):
        Dovecot (PID 26703)
    [INFO] I found the following ftp server(s):
        PureFTP (PID 26753)
    
    ##### LISTENING PORTS #####
    (only        ()
    Local        (Address)
    [anywhere]:993        (26703/dovecot)
    [anywhere]:995        (26703/dovecot)
    [localhost]:10023        (13090/postgrey)
    [localhost]:10024        (26693/amavisd-new)
    [localhost]:10025        (26659/master)
    [localhost]:10026        (26693/amavisd-new)
    [localhost]:3306        (26460/mysqld)
    [localhost]:10027        (26659/master)
    [localhost]:11211        (2902/memcached)
    [anywhere]:110        (26703/dovecot)
    [anywhere]:143        (26703/dovecot)
    ***.***.***.***:53        (26759/named)
    [localhost]:53        (26759/named)
    [anywhere]:21        (26753/pure-ftpd)
    ***.***.***.***:53        (2494/systemd-resolv)
    [anywhere]:22        (9465/sshd)
    [localhost]:953        (26759/named)
    [anywhere]:25        (26659/master)
    *:*:*:*::*:993        (26703/dovecot)
    *:*:*:*::*:995        (26703/dovecot)
    *:*:*:*::*:10024        (26693/amavisd-new)
    *:*:*:*::*:10026        (26693/amavisd-new)
    [localhost]10        (26703/dovecot)
    [localhost]43        (26703/dovecot)
    *:*:*:*::*:8080        (25360/apache2)
    *:*:*:*::*:80        (25360/apache2)
    *:*:*:*::*:8081        (25360/apache2)
    *:*:*:*::*:53        (26759/named)
    *:*:*:*::*:21        (26753/pure-ftpd)
    *:*:*:*::*:953        (26759/named)
    *:*:*:*::*:25        (26659/master)
    *:*:*:*::*:443        (25360/apache2)
    
    
    
    
    ##### IPTABLES #####
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination
    
    Chain FORWARD (policy ACCEPT)
    target     prot opt source               destination
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination
     
  4. Steen Rabol

    Steen Rabol New Member

    I found this: (Crap I cannot have links in my post...grr)
    a post on how to fix /etc/postfix/master.cf
    and now i can send mails
     

Share This Page