After upgrading to 1.4.6 "courier authdeamon: no such file or directory"

  • Hi,


    after upgrading to 1.4.6 it's not possible to send emails caused by the following errors:


    Code
    1. Jun 24 15:52:10 postfix/smtpd[4871]: warning: SASL authentication failure: cannot connect to Courier authdaemond: No such file or directory
    2. Jun 24 15:52:10 postfix/smtpd[4871]: warning: SASL LOGIN authentication failed: generic failure
    3. Jun 24 15:52:10 postfix/smtpd[4871]: warning: TLS library problem: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number:s3_pkt.c:348:
    4. Jun 24 15:52:10 postfix/smtpd[4871]: lost connection after AUTH from ...
    5. Jun 24 15:52:10 postfix/smtpd[4871]: disconnect from ...

    Debian 8.8
    Courier and Postfix
    certbot 0.15.0
    SpamAssassin Version 1.2.0
    LetsEncryp Version 3.2.1
    PhpSwitcher Version 3.0.6



    Update-history: 1.3.16 -> 1.4.5 -> 1.4.6


    Thank you in advance.

    Edited 5 times, last by noidea: Certbot Info and update history ().

  • @noidea


    If you continue, you'll been banned! I deleted your post two time already for the following reasons:

    • You're reporting multiple problems in the same thread
    • You're reporting problems for older i-MSCP version.

    Please read: Reporting rules - Reminder


    Last post deleted (again) and thread closed (as long as the problem reported in first post has not been investigated).

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • @noidea


    I cannot reproduce the problems: I can send/receive mails using SSL (STARTTLS) as expected. There is no problem with authdaemon.


    Code
    1. Jun 25 17:23:56 jessie postfix/smtpd[5613]: connect from unknown[192.168.1.1]Jun 25 17:23:56 jessie postfix/smtpd[5613]: B293D202F4: client=unknown[192.168.1.1], sasl_method=PLAIN, [email protected] 25 17:23:56 jessie postfix/cleanup[5659]: B293D202F4: message-id=<[email protected]>Jun 25 17:23:56 jessie spamd[28025]: spamd: got connection over /var/run/spamassassin.sockJun 25 17:23:56 jessie spamd[28025]: spamd: processing message <[email protected]> for [email protected]:112Jun 25 17:23:57 jessie spamd[28025]: spamd: clean message (-1.0/5.0) for [email protected]:112 in 0.6 seconds, 816 bytes.Jun 25 17:23:57 jessie spamd[28025]: spamd: result: . 0 - ALL_TRUSTED,TVD_SPACE_RATIO scantime=0.6,size=816,[email protected],uid=112,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=/var/run/spamassassin.sock,mid=<[email protected]>,autolearn=ham autolearn_force=noJun 25 17:23:57 jessie postfix/qmgr[5545]: B293D202F4: from=<[email protected]>, size=823, nrcpt=1 (queue active)Jun 25 17:23:57 jessie postfix/smtpd[5613]: disconnect from unknown[192.168.1.1]Jun 25 17:23:57 jessie postfix/pipe[5661]: B293D202F4: to=<[email protected]>, relay=maildrop, delay=0.62, delays=0.61/0/0/0.01, dsn=2.0.0, status=sent (delivered via maildrop service)Jun 25 17:23:57 jessie postfix/qmgr[5545]: B293D202F4: removed
    Code
    1. Return-Path: <[email protected]>Delivered-To: [email protected]: from [192.168.1.100] (unknown [192.168.1.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: [email protected]) by jessie.bbox.nuxwin.com (Postfix) with ESMTPSA id B293D202F4 for <[email protected]>; Sun, 25 Jun 2017 17:23:56 +0200 (CEST)To: [email protected]: Laurent Declercq <[email protected]>Subject: testing outgoingMessage-ID: <[email protected]>Date: Sun, 25 Jun 2017 17:23:56 +0200User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0MIME-Version: 1.0Content-Type: text/plain; charset=utf-8; format=flowedContent-Transfer-Encoding: 7bitX-Virus-Scanned: clamav-milter 0.99.2 at jessieX-Virus-Status: CleanX-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,TVD_SPACE_RATIO autolearn=ham autolearn_force=no version=3.4.0X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on jessie.bbox.nuxwin.comtesting outgoing
    Code
    1. root@jessie:/etc/default# grep PO_SERVER /etc/imscp/imscp.conf
    2. PO_SERVER = courier
    3. root@jessie:/etc/default# lsb_release -a
    4. No LSB modules are available.
    5. Distributor ID: Debian
    6. Description: Debian GNU/Linux 8.8 (jessie)
    7. Release: 8.8
    8. Codename: jessie

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • @noidea


    Another customer encoutered identical issue. After investation, it seem that there is restrictions on some vm such as openvz under which some mount operations are prohibited, such as marking / as shared. Thus, because this was the first mount operation, all others were ignored, including mount of /var/run/courier/authdaemon to /var/spool/postfix/private/authdaemon


    The question here is: Do you use a vm?


    See also: Mailsend does not work after Upgradt to 1.4.7

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • A fix has been added in our development branch.


    See

    This fix will be part of next release.


    Thank you for your report.
    Thread closed.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • @Nuxwin


    Hi! Yes, vServer XL 5.0 (webtropia.com). I'm note sure what kind of technology they use, it might be Virtuozzo. I could ask them if you want.


    In the meantime I moved 2 vserver to another hoster with openvz 7 and switched to dovecot. The main system ist still on 1.3.16 and postfix and courier