Problem with the mail box ispconfig 3.2

Discussion in 'Installation/Configuration' started by AndresUrra, Oct 19, 2020.

  1. AndresUrra

    AndresUrra New Member

    Dear, I ask for help I update ispconfig from version 3.1 to 3.2 but I have problems to email email with php function $ mail = mail ($ to, $ subject, $ message, $ headers); but my emails remain in the outbox showing this message "B0D50212C9E1 3148 Mon Oct 19 14:50:43 [email protected]******.cl
    (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 id=33380-05 - Temporary MTA failure on relaying, From MTA() during fwd-connect (No greeting, dt: 1.024 s): id=33380-05 (in reply to end of DATA command))"
    mail_error_log "Oct 19 16:08:59 poseidon postfix/master[39116]: warning: process /usr/libexec/postfix/smtpd pid 42777 exit status 1"
    I request help
     
  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    It seems like you have a MTA relay set up, check your mta config. Or try a simple reboot ;)
     
  3. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    The reboot might help restart services; if not, be sure you do not have any old conf-custom templates, and if you do, rename or update them and reconfigure services in ISPConfig again.
     
  4. AndresUrra

    AndresUrra New Member

    po

    DEAR, RESTART THE SERVER, RESTART THE SERVICES BUT I STILL CAN'T SEND AND RECEIVE EMAIL
     
  5. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    We are trying to help you out. Please don't reply to us in all caps, that's just rude.

    As Jesse said, try updating and reconfiguring the services again, after checking you don't have any conf-custom templates. You can update with this commands:
    Code:
    cd /tmp
    wget https://www.ispconfig.org/downloads/ISPConfig-3.2.tar.gz
    tar xvfz ISPConfig-3.2.tar.gz
    cd ispconfig3_install/install
    php -q update.php
     
  6. AndresUrra

    AndresUrra New Member

    sorry for the capital letters
    Mail-Error - Log (Server
    Code:
    Oct 20 15:18:59 poseidon postfix/smtpd[28708]: warning: SASL: Connect to private/auth failed: Connection refused
    Oct 20 15:18:59 poseidon postfix/smtpd[28708]: fatal: no SASL authentication mechanisms
    Oct 20 15:18:59 poseidon postfix/smtpd[28709]: connect from unknown[45.142.120.180]
     
  7. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    Restart dovecot and see if there are any errors in the mail log.
     
  8. AndresUrra

    AndresUrra New Member


    I tried the command
    Code:
    sudo systemctl status dovecot
    , and I got these messages

    Code:
    ● dovecot.service - Dovecot IMAP/POP3 email server
       Loaded: loaded (/usr/lib/systemd/system/dovecot.service; enabled; vendor preset: disabled)
       Active: failed (Result: exit-code) since mié 2020-10-21 10:52:44 -03; 18s ago
         Docs: man:dovecot(1)
               http://wiki2.dovecot.org/
      Process: 31606 ExecStart=/usr/sbin/dovecot (code=exited, status=89)
      Process: 31603 ExecStartPre=/usr/sbin/portrelease dovecot (code=exited, status=0/SUCCESS)
      Process: 31595 ExecStartPre=/usr/libexec/dovecot/prestartscript (code=exited, status=0/SUCCESS)
    
    oct 21 10:52:44 poseidon.dominio.cl systemd[1]: Starting Dovecot IMAP/POP3 email server...
    oct 21 10:52:44 poseidon.dominio.cl dovecot[31606]: doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 9: Unknown setting: ssl_min_protocol
    oct 21 10:52:44 poseidon.dominio.cl dovecot[31606]: doveconf: Error: managesieve-login: dump-capability process returned 89
    oct 21 10:52:44 poseidon.dominio.cl dovecot[31606]: doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 9: Unknown setting: ssl_min_protocol
    oct 21 10:52:44 poseidon.dominio.cl systemd[1]: dovecot.service: control process exited, code=exited status=89
    oct 21 10:52:44 poseidon.dominio.cl systemd[1]: Failed to start Dovecot IMAP/POP3 email server.
    oct 21 10:52:44 poseidon.dominio.cl systemd[1]: Unit dovecot.service entered failed state.
    oct 21 10:52:44 poseidon.dominio.cl systemd[1]: dovecot.service failed.
    Mail - Log (Server )
    Code:
    Oct 21 10:53:27 poseidon postfix/smtpd[31678]: warning: SASL: Connect to private/auth failed: Connection refused
    Oct 21 10:53:27 poseidon postfix/smtpd[31678]: fatal: no SASL authentication mechanisms
    Oct 21 10:53:28 poseidon postfix/master[1677]: warning: process /usr/libexec/postfix/smtpd pid 31678 exit status 1
    Oct 21 10:53:30 poseidon postfix/smtpd[31683]: connect from unknown[45.142.120.180]
    Oct 21 10:53:30 poseidon postfix/smtpd[31683]: warning: SASL: Connect to private/auth failed: Connection refused
    Oct 21 10:53:30 poseidon postfix/smtpd[31683]: fatal: no SASL authentication mechanisms
    Oct 21 10:53:31 poseidon postfix/master[1677]: warning: process /usr/libexec/postfix/smtpd pid 31683 exit status 1
    Oct 21 10:53:33 poseidon postfix/smtpd[31684]: connect from unknown[45.142.120.180]
    Oct 21 10:53:33 poseidon postfix/smtpd[31684]: warning: SASL: Connect to private/auth failed: Connection refused
    Oct 21 10:53:33 poseidon postfix/smtpd[31684]: fatal: no SASL authentication mechanisms
     
  9. AndresUrra

    AndresUrra New Member

    open dovecot config file at /etc/dovecot/dovecot.conf

    Code:
    listen = *,[::]                                                                                                                                                                                protocols = imap pop3 lmtp sieve                                                                                                                                                               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.crt                                                                                                                                                             ssl_key = </etc/postfix/smtpd.key                                                                                                                                                              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-POLY130$ssl_prefer_server_ciphers = no                                                                                                                                                                 mail_plugins = quota                                                                                                                                                                           passdb {                                                                                                                                                                                         args = /etc/dovecot-sql.conf                                                                                                                                                                   driver = sql                                                                                                                                                                                 }         
     
  10. AndresUrra

    AndresUrra New Member

    me marca error en la linea 9
    Code:
    [[email protected] postfix]# service dovecot status
    Redirecting to /bin/systemctl status dovecot.service
    ● dovecot.service - Dovecot IMAP/POP3 email server
       Loaded: loaded (/usr/lib/systemd/system/dovecot.service; enabled; vendor preset: disabled)
       Active: failed (Result: exit-code) since mié 2020-10-21 11:33:43 -03; 32s ago
         Docs: man:dovecot(1)
               http://wiki2.dovecot.org/
      Process: 36354 ExecStart=/usr/sbin/dovecot (code=exited, status=89)
      Process: 36351 ExecStartPre=/usr/sbin/portrelease dovecot (code=exited, status=0/SUCCESS)
      Process: 36343 ExecStartPre=/usr/libexec/dovecot/prestartscript (code=exited, status=0/SUCCESS)
    
    oct 21 11:33:43 poseidon.dominio.cl systemd[1]: Starting Dovecot IMAP/POP3 email server...
    oct 21 11:33:43 poseidon.dominio.cl dovecot[36354]: doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 9: Unknown setting: ssl_min_protocol
    oct 21 11:33:43 poseidon.dominio.cl dovecot[36354]: doveconf: Error: managesieve-login: dump-capability process returned 89
    oct 21 11:33:43 poseidon.dominio.cl dovecot[36354]: doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 9: Unknown setting: ssl_min_protocol
    oct 21 11:33:43 poseidon.dominio.cl systemd[1]: dovecot.service: control process exited, code=exited status=89
    oct 21 11:33:43 poseidon.dominio.cl systemd[1]: Failed to start Dovecot IMAP/POP3 email server.
    oct 21 11:33:43 poseidon.dominio.cl systemd[1]: Unit dovecot.service entered failed state.
    oct 21 11:33:43 poseidon.dominio.cl systemd[1]: dovecot.service failed.
    oct 21 11:34:06 poseidon.dominio.cl systemd[1]: Unit dovecot.service cannot be reloaded because it is inactive.
     
  11. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Is your dovecot up to date?
    Code:
    apt update
    apt upgrade
     
  12. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    What OS is this, and what dovecot version? Do you have an old conf-custom template for dovecot config? Can you re-paste your dovecot.conf, somehow it lost all the line breaks, which makes it difficult to read.

    No need for further postfix logs at this point, your sasl problem in postfix is that dovecot is not starting.
     

Share This Page