Bug 257017

Summary: mail/rainloop: auth plain bug and fix
Product: Ports & Packages Reporter: Kurt Jaeger <pi>
Component: Individual Port(s)Assignee: Kurt Jaeger <pi>
Status: New ---    
Severity: Affects Only Me CC: brnrd, pi, yasu
Priority: --- Flags: bugzilla: maintainer-feedback? (yasu)
Version: Latest   
Hardware: Any   
OS: Any   

Description Kurt Jaeger freebsd_committer 2021-07-06 12:12:42 UTC
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;
Comment 1 Bernard Spil freebsd_committer 2021-07-15 19:11:35 UTC
Makes sense to chime in on the Rainloop issue, but also with the Nextcloud app on https://github.com/pierre-alain-b/rainloop-nextcloud/issues

Modifying the app will lead to signature errors with the Nextcloud checks.