Bug 257017 - mail/rainloop: auth plain bug and fix
Summary: mail/rainloop: auth plain bug and fix
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Kurt Jaeger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-06 12:12 UTC by Kurt Jaeger
Modified: 2021-07-15 19:11 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (yasu)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.