Postfix email problems

Discussion in 'Installation/Configuration' started by mymmo73, Dec 30, 2020.

  1. mymmo73

    mymmo73 Member

    hello everyone I have problems with the rondocube mail installed together with ispconfig 3 on debian 10, I can not receive and I can not send, I do not even receive the message that I send to myself, below are the logs:

    Code:
    [email protected]:~# less /etc/dovecot/dovecot.conf
    listen = *,[::]
    protocols = imap pop3 lmtp
    auth_mechanisms = plain login
    disable_plaintext_auth = no
    log_timestamp = "%Y-%m-%d %H:%M:%S "
    mail_privileged_group = vmail
    ssl_cert = </etc/postfix/smtpd.cert
    ssl_key = </etc/postfix/smtpd.key
    ssl_dh = </etc/dovecot/dh.pem
    ssl_min_protocol = TLSv1.2
    ssl_cipher_list = ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384
    ssl_prefer_server_ciphers = no
    mail_max_userip_connections = 100
    mail_plugins = quota
    passdb {
      args = /etc/dovecot/dovecot-sql.conf
      driver = sql
    }
    userdb {
      driver = prefetch
    /etc/dovecot/dovecot.conf
    
    mail.log
    Code:
    [email protected]:~# less /var/log/mail.log
    Dec 26 16:04:09 server postfix/postfix-script[2627]: starting the Postfix mail system
    Dec 26 16:04:09 server postfix/master[2629]: daemon started -- version 3.4.14, configuration /etc/postfix
    Dec 26 16:04:20 server dovecot: master: Dovecot v2.3.4.1 (f79e8e7e4) starting up without any protocols (core dumps disabled)
    Dec 26 16:04:43 server dovecot: master: Warning: Killed with signal 15 (by pid=16147 uid=0 code=kill)
    Dec 26 16:04:45 server dovecot: log(5578): Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
    Dec 26 16:04:45 server dovecot: master: Dovecot v2.3.4.1 (f79e8e7e4) starting up for imap, lmtp, pop3 (core dumps disabled)
    Dec 26 16:14:53 server postfix/postfix-script[16204]: stopping the Postfix mail system
    Dec 26 16:14:53 server postfix/master[2629]: terminating on signal 15
    Dec 26 16:14:54 server postfix/postfix-script[16329]: warning: symlink leaves directory: /etc/postfix/./makedefs.out
    Dec 26 16:14:54 server postfix/postfix-script[16368]: starting the Postfix mail system
    Dec 26 16:14:54 server postfix/master[16370]: daemon started -- version 3.4.14, configuration /etc/postfix
    Dec 26 16:30:48 server postgrey[18217]: Process Backgrounded
    Dec 26 16:30:48 server postgrey[18217]: 2020/12/26-16:30:48 postgrey (type Net::Server::Multiplex) starting! pid(18217)
    Dec 26 16:30:48 server postgrey[18217]: Resolved [localhost]:10023 to [127.0.0.1]:10023, IPv4
    Dec 26 16:30:48 server postgrey[18217]: Binding to TCP port 10023 on host 127.0.0.1 with IPv4
    Dec 26 16:30:48 server postgrey[18217]: Setting gid to "120 120"
    Dec 26 16:30:48 server postgrey[18217]: Setting uid to "112"
    Dec 26 16:31:03 server amavis[18466]: starting. /usr/sbin/amavisd-new at server.tradingforum.it amavisd-new-2.11.0 (20160426), Unicode aware, LC_ALL="C", LANG="en_US.UTF-8"
    Dec 26 16:31:05 server amavis[18471]: Net::Server: Group Not Defined.  Defaulting to EGID '122 122'
    Dec 26 16:31:05 server amavis[18471]: Net::Server: User Not Defined.  Defaulting to EUID '114'
    Dec 26 16:31:05 server amavis[18471]: No $altermime,         not using it
    Dec 26 16:31:05 server amavis[18471]: No ext program for   .lz4, tried: lz4c -d
    Dec 26 16:31:05 server amavis[18471]: No ext program for   .rpm, tried: rpm2cpio.pl, rpm2cpio
    Dec 26 16:31:05 server amavis[18471]: No ext program for   .rar, tried: unrar-free
    Dec 26 16:31:05 server amavis[18471]: No ext program for   .zoo, tried: zoo
    Dec 26 16:31:05 server amavis[18471]: No ext program for   .doc, tried: ripole
    Dec 26 16:31:05 server amavis[18471]: No decoder for       .F
    Dec 26 16:31:05 server amavis[18471]: No decoder for       .doc
    Dec 26 16:31:05 server amavis[18471]: No decoder for       .lz4
    Dec 26 16:31:05 server amavis[18471]: No decoder for       .zoo
    Dec 26 16:33:15 server dovecot: imap-login: Disconnected (no auth attempts in 2 secs): user=<>, rip=92.118.161.41, lip=xxx.xxx.29.59, TLS handshaking: Connection closed, session=<zSZ0wl+3ndlcdqEp>
    Dec 26 16:35:01 server dovecot: imap-login: Disconnected (auth failed, 1 attempts in 4 secs): user=<[email protected]>, method=PLAIN, rip=185.30.176.176, lip=xxx.xxx.29.59, TLS: Connection closed, session=<xnaGyF+38Zq5HrCw>
    Dec 26 16:35:05 server dovecot: imap-login: Disconnected (auth failed, 1 attempts in 4 secs): user=<[email protected]>, method=PLAIN, rip=185.30.176.118, lip=xxx.xxx.29.59, TLS: Connection closed, session=<+HDCyF+37Nq5HrB2>
    Dec 26 16:35:19 server dovecot: imap-login: Disconnected (auth failed, 1 attempts in 8 secs): user=<[email protected]>, method=PLAIN, rip=185.30.176.176, lip=xxx.xxx.29.59, TLS: Connection closed, session=<llpXyV+347G5HrCw>
    Dec 26 16:36:39 server dovecot: imap-login: Disconnected (auth failed, 1 attempts in 5 secs): user=<[email protected]>, method=PLAIN, rip=185.30.176.176, lip=xxx.xxx.29.59, TLS: Connection closed, session=<Iy9Mzl+3qn25HrCw>
    Dec 26 16:36:58 server dovecot: imap-login: Disconnected (auth failed, 1 attempts in 8 secs): user=<[email protected]>, method=PLAIN, rip=185.30.176.176, lip=xxx.xxx.29.59, TLS: Connection closed, session=<SqdGz1+3bJy5HrCw>
    Dec 26 16:38:39 server dovecot: imap-login: Disconnected (auth failed, 1 attempts in 5 secs): user=<[email protected]>, method=PLAIN, rip=185.30.177.205, lip=xxx.xxx.29.59, TLS: Connection closed, session=<IMB71V+3JVW5HrHN>
    Dec 26 16:38:43 server dovecot: imap-login: Disconnected (auth failed, 1 attempts in 4 secs): user=<[email protected]>, method=PLAIN, rip=185.30.177.66, lip=xxx.xxx.29.59, TLS: Connection closed, session=<Ecq71V+3gsm5HrFC>
    Dec 26 16:38:58 server dovecot: imap-login: Disconnected (auth failed, 1 attempts in 4 secs): user=<[email protected]>, method=PLAIN, rip=185.30.177.205, lip=xxx.xxx.29.59, TLS: Connection closed, session=<yvaq1l+3+3q5HrHN>
    /var/log/mail.log
    
     
  2. mymmo73

    mymmo73 Member

    mail.log to ispconfig
    Code:
    Dec 30 15:11:36 server dovecot: imap([email protected])<16737><IUnHFa+3hrx/AAAB>: Logged out in=44 out=643 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
    Dec 30 15:12:17 server postfix/smtpd[16752]: fatal: unexpected command-line argument: submission
    Dec 30 15:12:17 server postfix/smtpd[16753]: fatal: unexpected command-line argument: submission
    Dec 30 15:12:17 server postfix/smtpd[16754]: fatal: unexpected command-line argument: submission
    Dec 30 15:12:18 server postfix/master[16713]: warning: process /usr/lib/postfix/sbin/smtpd pid 16752 exit status 1
    Dec 30 15:12:18 server postfix/master[16713]: warning: /usr/lib/postfix/sbin/smtpd: bad command startup -- throttling
    Dec 30 15:12:18 server postfix/master[16713]: warning: process /usr/lib/postfix/sbin/smtpd pid 16753 exit status 1
    Dec 30 15:12:18 server postfix/master[16713]: warning: process /usr/lib/postfix/sbin/smtpd pid 16754 exit status 1
    Dec 30 15:13:18 server postfix/smtpd[16771]: fatal: unexpected command-line argument: submission
    Dec 30 15:13:18 server postfix/smtpd[16772]: fatal: unexpected command-line argument: submission
    Dec 30 15:13:18 server postfix/smtpd[16773]: fatal: unexpected command-line argument: submission
    Dec 30 15:13:19 server postfix/master[16713]: warning: process /usr/lib/postfix/sbin/smtpd pid 16771 exit status 1
    Dec 30 15:13:19 server postfix/master[16713]: warning: /usr/lib/postfix/sbin/smtpd: bad command startup -- throttling
    Dec 30 15:13:19 server postfix/master[16713]: warning: process /usr/lib/postfix/sbin/smtpd pid 16772 exit status 1
    Dec 30 15:13:19 server postfix/master[16713]: warning: process /usr/lib/postfix/sbin/smtpd pid 16773 exit status 1
    Dec 30 15:14:20 server postfix/smtpd[16789]: fatal: unexpected command-line argument: submission
    Dec 30 15:14:20 server postfix/smtpd[16790]: fatal: unexpected command-line argument: submission
    Dec 30 15:14:20 server postfix/smtpd[16791]: fatal: unexpected command-line argument: submission
    Dec 30 15:14:21 server postfix/master[16713]: warning: process /usr/lib/postfix/sbin/smtpd pid 16789 exit status 1
    Dec 30 15:14:21 server postfix/master[16713]: warning: /usr/lib/postfix/sbin/smtpd: bad command startup -- throttling
    Dec 30 15:14:21 server postfix/master[16713]: warning: process /usr/lib/postfix/sbin/smtpd pid 16790 exit status 1
    Dec 30 15:14:21 server postfix/master[16713]: warning: process /usr/lib/postfix/sbin/smtpd pid 16791 exit status 1
    Dec 30 15:15:02 server dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<W04VIq+3NO5/AAAB>
    Dec 30 15:15:02 server dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<HU4VIq+3mrx/AAAB>
    Dec 30 15:15:21 server postfix/smtpd[16893]: fatal: unexpected command-line argument: submission
    Dec 30 15:15:21 server postfix/smtpd[16894]: fatal: unexpected command-line argument: submission
    Dec 30 15:15:21 server postfix/smtpd[16895]: fatal: unexpected command-line argument: submission
    Dec 30 15:15:21 server postfix/smtpd[16896]: fatal: unexpected command-line argument: submission
    Dec 30 15:15:22 server postfix/master[16713]: warning: process /usr/lib/postfix/sbin/smtpd pid 16893 exit status 1
    Dec 30 15:15:22 server postfix/master[16713]: warning: /usr/lib/postfix/sbin/smtpd: bad command startup -- throttling
    Dec 30 15:15:22 server postfix/master[16713]: warning: process /usr/lib/postfix/sbin/smtpd pid 16894 exit status 1
    Dec 30 15:15:22 server postfix/master[16713]: warning: process /usr/lib/postfix/sbin/smtpd pid 16895 exit status 1
    Dec 30 15:15:22 server postfix/master[16713]: warning: process /usr/lib/postfix/sbin/smtpd pid 16896 exit status 1
    Dec 30 15:16:22 server postfix/smtpd[16912]: fatal: unexpected command-line argument: submission
    Dec 30 15:16:22 server postfix/smtpd[16913]: fatal: unexpected command-line argument: submission
    Dec 30 15:16:23 server postfix/master[16713]: warning: process /usr/lib/postfix/sbin/smtpd pid 16912 exit status 1
    Dec 30 15:16:23 server postfix/master[16713]: warning: /usr/lib/postfix/sbin/smtpd: bad command startup -- throttling
    Dec 30 15:16:23 server postfix/master[16713]: warning: process /usr/lib/postfix/sbin/smtpd pid 16913 exit status 1
    Dec 30 15:17:23 server postfix/smtpd[16937]: fatal: unexpected command-line argument: submission
    Dec 30 15:17:23 server postfix/smtpd[16938]: fatal: unexpected command-line argument: submission
    Dec 30 15:17:24 server postfix/master[16713]: warning: process /usr/lib/postfix/sbin/smtpd pid 16937 exit status 1
    Dec 30 15:17:24 server postfix/master[16713]: warning: /usr/lib/postfix/sbin/smtpd: bad command startup -- throttling
    Dec 30 15:17:24 server postfix/master[16713]: warning: process /usr/lib/postfix/sbin/smtpd pid 16938 exit status 1
    Dec 30 15:18:24 server postfix/smtpd[16963]: fatal: unexpected command-line argument: submission
    Dec 30 15:18:24 server postfix/smtpd[16964]: fatal: unexpected command-line argument: submission
    Dec 30 15:18:25 server postfix/master[16713]: warning: process /usr/lib/postfix/sbin/smtpd pid 16963 exit status 1
    Dec 30 15:18:25 server postfix/master[16713]: warning: /usr/lib/postfix/sbin/smtpd: bad command startup -- throttling
    Dec 30 15:18:25 server postfix/master[16713]: warning: process /usr/lib/postfix/sbin/smtpd pid 16964 exit status 1
    Dec 30 15:19:25 server postfix/smtpd[16985]: fatal: unexpected command-line argument: submission
    Dec 30 15:19:26 server postfix/smtpd[16986]: fatal: unexpected command-line argument: submission
    Dec 30 15:19:26 server postfix/master[16713]: warning: process /usr/lib/postfix/sbin/smtpd pid 16985 exit status 1
    Dec 30 15:19:26 server postfix/master[16713]: warning: /usr/lib/postfix/sbin/smtpd: bad command startup -- throttling
    Dec 30 15:19:27 server postfix/master[16713]: warning: process /usr/lib/postfix/sbin/smtpd pid 16986 exit status 1
    Dec 30 15:20:02 server dovecot: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<enXxM6+3vrx/AAAB>
    Dec 30 15:20:02 server dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<Qv3xM6+3EIB/AAAB>
    Dec 30 15:20:26 server postfix/smtpd[17113]: fatal: unexpected command-line argument: submission
    Dec 30 15:20:26 server postfix/smtpd[17114]: fatal: unexpected command-line argument: submission
    Dec 30 15:20:27 server postfix/master[16713]: warning: process /usr/lib/postfix/sbin/smtpd pid 17113 exit status 1
    Dec 30 15:20:27 server postfix/master[16713]: warning: /usr/lib/postfix/sbin/smtpd: bad command startup -- throttling
    Dec 30 15:20:27 server postfix/master[16713]: warning: process /usr/lib/postfix/sbin/smtpd pid 17114 exit status 1
    Dec 30 15:25:02 server dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<pVDVRa+32Lx/AAAB>
    Dec 30 15:25:02 server dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<70/VRa+3KoB/AAAB>
    Dec 30 15:25:02 server postfix/smtpd[17287]: fatal: unexpected command-line argument: submission
    Dec 30 15:25:03 server postfix/master[16713]: warning: process /usr/lib/postfix/sbin/smtpd pid 17287 exit status 1
    Dec 30 15:25:03 server postfix/master[16713]: warning: /usr/lib/postfix/sbin/smtpd: bad command startup -- throttling
    Dec 30 15:30:02 server dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<jPm5V6+35rx/AAAB>
    Dec 30 15:30:02 server dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<yUm6V6+3OIB/AAAB>
    Dec 30 15:30:02 server postfix/smtpd[17450]: fatal: unexpected command-line argument: submission
    Dec 30 15:30:03 server postfix/master[16713]: warning: process /usr/lib/postfix/sbin/smtpd pid 17450 exit status 1
    Dec 30 15:30:03 server postfix/master[16713]: warning: /usr/lib/postfix/sbin/smtpd: bad command startup -- throttling
    Dec 30 15:34:27 server dovecot: imap-login: Disconnected (no auth attempts in 1 secs): user=<>, rip=162.142.125.54, lip=xxx.xxx.29.59, TLS: Connection closed, session=<9XWAZ6+3jp2ijn02>
    
    I have looked for as much information as possible hoping it will be useful to facilitate the resolution of the problem thanks, in advance for your precious time
     
  3. mymmo73

    mymmo73 Member

    Code:
    [email protected]:~# less /etc/postfix/master.cf
    #
    # Postfix master process configuration file.  For details on the format
    # of the file, see the master(5) manual page (command: "man 5 master" or
    # on-line: http://www.postfix.org/master.5.html).
    #
    # Do not forget to execute "postfix reload" after editing this file.
    #
    # ==========================================================================
    # service type  private unpriv  chroot  wakeup  maxproc command + args
    #               (yes)   (yes)   (no)    (never) (100)
    # ==========================================================================
    smtp      inet  n       -       y       -       -       smtpd
    #smtp      inet  n       -       y       -       1       postscreen
    #smtpd     pass  -       -       y       -       -       smtpd
    #dnsblog   unix  -       -       y       -       0       dnsblog
    #tlsproxy  unix  -       -       y       -       0       tlsproxy
     submission inet n       -       y       -       -       smtpd
      -o syslog_name=postfix/submission
      -o smtpd_tls_security_level=encrypt
      -o smtpd_sasl_auth_enable=yes
      -o smtpd_client_restrictions=permit_sasl_authenticated,reject
    #  -o smtpd_tls_auth_only=yes
    #  -o smtpd_reject_unlisted_recipient=no
    #  -o smtpd_client_restrictions=$mua_client_restrictions
    #  -o smtpd_helo_restrictions=$mua_helo_restrictions
    #  -o smtpd_sender_restrictions=$mua_sender_restrictions
    #  -o smtpd_recipient_restrictions=
    #  -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
    #  -o milter_macro_daemon_name=ORIGINATING
     smtps     inet  n       -       y       -       -       smtpd
      -o syslog_name=postfix/smtps
      -o smtpd_tls_wrappermode=yes
      -o smtpd_sasl_auth_enable=yes
      -o smtpd_client_restrictions=permit_sasl_authenticated,reject
    #  -o smtpd_reject_unlisted_recipient=no
    #  -o smtpd_client_restrictions=$mua_client_restrictions
    #  -o smtpd_helo_restrictions=$mua_helo_restrictions
    #  -o smtpd_sender_restrictions=$mua_sender_restrictions
    #  -o smtpd_recipient_restrictions=
    #  -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
    #  -o milter_macro_daemon_name=ORIGINATING
    #628       inet  n       -       y       -       -       qmqpd
    pickup    unix  n       -       y       60      1       pickup
    cleanup   unix  n       -       y       -       0       cleanup
    qmgr      unix  n       -       n       300     1       qmgr
    #qmgr     unix  n       -       n       300     1       oqmgr
    tlsmgr    unix  -       -       y       1000?   1       tlsmgr
    rewrite   unix  -       -       y       -       -       trivial-rewrite
    /etc/postfix/master.cf
    
    Code:
    [email protected]:~# less /etc/postfix/main.cf
    # See /usr/share/postfix/main.cf.dist for a commented, more complete version
    
    
    # Debian specific:  Specifying a file name will cause the first
    # line of that file to be used as the name.  The Debian default
    # is /etc/mailname.
    #myorigin = /etc/mailname
    
    smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
    biff = no
    
    # appending .domain is the MUA's job.
    append_dot_mydomain = no
    
    # Uncomment the next line to generate "delayed mail" warnings
    #delay_warning_time = 4h
    
    readme_directory = /usr/share/doc/postfix
    
    # See http://www.postfix.org/COMPATIBILITY_README.html -- default to 2 on
    # fresh installs.
    compatibility_level = 2
    
    
    
    # TLS parameters
    smtpd_tls_cert_file = /etc/postfix/smtpd.cert
    smtpd_tls_key_file = /etc/postfix/smtpd.key
    smtpd_use_tls = yes
    smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
    smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
    
    # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
    # information on enabling SSL in the smtp client.
    
    smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    myhostname = server.tradingforum.it
    alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
    alias_database = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
    myorigin = /etc/mailname
    mydestination = server.tradingforum.it, localhost, localhost.localdomain
    relayhost =
    mynetworks = 127.0.0.0/8 [::1]/128
    mailbox_size_limit = 0
    recipient_delimiter = +
    inet_interfaces = all
    inet_protocols = all
    html_directory = /usr/share/doc/postfix/html
    /etc/postfix/main.cf
    
     
  4. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    Remove the leading whitespace from the `submission` and `smtps` service names in master.cf.
     
    Th0m likes this.
  5. mymmo73

    mymmo73 Member

    thanks a lot solved:)
     

Share This Page