Email problem

Discussion in 'Installation/Configuration' started by Kiciol, Jan 6, 2021.

  1. Kiciol

    Kiciol New Member

    Hi.
    I have a problem with a fresh installation of Ubuntu 20.04 + ISPConfig 3.2.2 + Postfix + Dovecot + Roudcube + LetsEncypt
    I think I've read all the tutorials and can't solve the problem :(
    Outlook and Roundcube can't send an email. Roundcube displays: SMTP error (220). Authentication has failed.
    Outlook cannot connect to the host.
    I have such messages in individual logs.
    ISPConfig on port 80!!!:
    Jan 6 15:50:35 postfix / submission / smtpd [3822]: connect from localhost [127.0.0.1]
    Jan 6 15:50:35 postfix / submission / smtpd [3822]: lost connection after STARTTLS from localhost [127.0.0.1]
    Jan 6 15:50:35 postfix / submission / smtpd [3822]: disconnect from localhost [127.0.0.1] ehlo = 1 starttls = 1 commands = 2
    Jan 6 15:52:35 postfix / submission / smtpd [3856]: connect from localhost [127.0.0.1]
    Jan 6 15:52:35 postfix / submission / smtpd [3856]: lost connection after STARTTLS from localhost [127.0.0.1]
    Jan 6 15:52:35 postfix / submission / smtpd [3856]: disconnect from localhost [127.0.0.1] ehlo = 1 starttls = 1 commands = 2
    Jan 6 15:55:03 dovecot mail: imap-login: Disconnected (no auth attempts in 0 secs): user = <>, rip = 127.0.0.1, Jul = 127.0.0.1, secured, session = <ngYRgjy4tKl / AAAB>
    Jan 6 15:55:03 dovecot mail: pop3-login: Disconnected (no auth attempts in 0 secs): user = <>, rip = 127.0.0.1, Jul = 127.0.0.1, secured, session = <yA0Rgjy44Mt / AAAB>
    Jan 6 15:55:03 postfix mail / smtpd [3986]: connect from localhost [127.0.0.1]
    Jan 6 15:55:03 postfix mail / smtpd [3986]: lost connection after CONNECT from localhost [127.0.0.1]
    Jan 6 15:55:03 postfix mail / smtpd [3986]: disconnect from localhost [127.0.0.1] commands = 0/0
    Jan 6 16:00:03 dovecot mail: pop3-login: Disconnected (no auth attempts in 0 secs): user = <>, rip = 127.0.0.1, Jul = 127.0.0.1, secured, session = <Vojykzy47Mt / AAAB>
    Jan 6 16:00:03 dovecot mail: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user = <>, rip = 127.0.0.1, Jul = 127.0.0.1, secured, session = <V6bykzy4wKl / AAAB>
    Jan 6 16:00:03 postfix mail / smtpd [4169]: connect from localhost [127.0.0.1]
    Jan 6 16:00:03 postfix mail / smtpd [4169]: lost connection after CONNECT from localhost [127.0.0.1]
    Jan 6 16:00:03 postfix mail / smtpd [4169]: disconnect from localhost [127.0.0.1] commands = 0/0

    SCRIPT
    ##### SERVER #####
    IP-address (as per hostname): ***. ***. ***. ***
    [WARN] could not determine server's ip address by ifconfig
    [INFO] OS version is Ubuntu 20.04.1 LTS
    [INFO] ISPConfig is installed.
    ##### ISPCONFIG #####
    ISPConfig version is 3.2.2
    ##### VERSION CHECK #####
    [INFO] php (cli) version is 7.4.3
    ##### PORT CHECK #####
    [WARN] Port 8080 (ISPConfig) seems NOT to be listening
    ##### MAIL SERVER CHECK #####
    ##### RUNNING SERVER PROCESSES #####
    [INFO] I found the following web server (s):
    Apache 2 (PID 864)
    [INFO] I found the following mail server (s):
    Postfix (PID 5319)
    [INFO] I found the following pop3 server (s):
    Dovecot (PID 5471)
    [INFO] I found the following imap server (s):
    Dovecot (PID 5471)
    [INFO] I found the following ftp server (s):
    PureFTP (PID 1268)

    ##### LISTENING PORTS #####
    (only ()
    Local (Address)
    [anywhere]: 22 (793 / sshd :)
    [anywhere]: 25 (5319 / master)
    [localhost]: 953 (621 / named)
    [anywhere]: 993 (5471 / dovecot)
    [anywhere]: 995 (5471 / dovecot)
    [localhost]: 10023 (859 / postgrey)
    [localhost]: 10024 (1735 / amavisd-new)
    [localhost]: 10025 (5319 / master)
    [localhost]: 10026 (1735 / amavisd-new)
    [localhost]: 10027 (5319 / master)
    [anywhere]: 587 (5319 / master)
    [localhost]: 11211 (615 / memcached)
    [anywhere]: 110 (5471 / dovecot)
    [anywhere]: 143 (5471 / dovecot)
    [anywhere]: 465 (5319 / master)
    [anywhere]: 21 (1268 / pure-ftpd)
    ***. ***. ***. ***: 53 (621 / named)
    [localhost]: 53 (621 / named)
    ***. ***. ***. ***: 53 (587 / systemd-resolve)
    *: *: *: * :: *: 22 (793 / sshd :)
    *: *: *: * :: *: 953 (621 / named)
    *: *: *: * :: *: 443 (864 / apache2)
    *: *: *: * :: *: 993 (5471 / dovecot)
    *: *: *: * :: *: 995 (5471 / dovecot)
    *: *: *: * :: *: 10024 (1735 / amavisd-new)
    *: *: *: * :: *: 10026 (1735 / amavisd-new)
    *: *: *: * :: *: 3306 (784 / mysqld)
    [localhost] 10 (5471 / dovecot)
    [localhost] 43 (5471 / dovecot)
    *: *: *: * :: *: 80 (864 / apache2)
    *: *: *: * :: *: 8081 (864 / apache2)
    *: *: *: * :: *: 21 (1268 / pure-ftpd)
    *: *: *: * :: **: *: *: * :: * 53 (621 / named)
    *: *: *: * :: *: 53 (621 / named)
    ##### 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


    SSL from LetsEncrypt is new (generated today). Roundcube and ISPConfig work ok and see certificate. Anyone have an idea why there are authorization errors?
     
  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    For setups with ISPConfig, please open a thread under the ISPConfig board and not under the linux board. Also, don't hijack threads from others, create your own thread instead and eventually refer to the other thread. Lastly, please put code, logs, command output, etc, in code tags (in the editor: insert -> code).

    I have moved your post to a new thread.

    First thing that comes to mind is incorrect port usage in Roundcube (which happens by default). Open your roundcube config (/etc/roundcube/config.inc.php) and change the smtp_port setting to 25.
     
  3. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Have you changed this from the default 8080? Why?
    What other things have you changed from what the Perfect Server Guide tells you to do?
    My signature has link to E-mail tutorial.
     

Share This Page