[Bug 257017] mail/rainloop: auth plain bug and fix

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 06 Jul 2021 12:12:42 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257017

            Bug ID: 257017
           Summary: mail/rainloop: auth plain bug and fix
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs_at_FreeBSD.org
          Reporter: pi_at_FreeBSD.org
                CC: yasu_at_utahime.org
             Flags: maintainer-feedback?(yasu_at_utahime.org)
                CC: yasu_at_utahime.org

rainloop is part of nextcloud. If it tries to speak to some SMTP server, it
uses a PHP smtp sub-module, which does AUTH PLAIN with multiline (!), which
fails if speaking to exim.

See
https://github.com/RainLoop/rainloop-webmail/issues/1629
and this comment in this very long issue:
https://github.com/RainLoop/rainloop-webmail/issues/1629#issuecomment-540398127

Therefore, rainloop/v/1.16.0/app/libraries/MailSo/Smtp/SmtpClient.php
needs to be changed:

from:
        public $__USE_SINGLE_LINE_AUTH_PLAIN_COMMAND = false;
to:
        public $__USE_SINGLE_LINE_AUTH_PLAIN_COMMAND = true;

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Tue Jul 06 2021 - 12:12:42 UTC

Original text of this message