Skip to content

Problem with USERID #970

Description

@khayman123

Hi. I've deployed nextcloud in my infrastructure, integrate with my ldap and finnaly I've wantedt to enable mail. I've added to config.php:

 'app.mail.accounts.default' => [
    'email' => '%EMAIL%',
    'imapUser' => '%USERID%',
    'imapHost' => 'imap.myserver.com',
    'imapPort' => 143,
    'imapSslMode' => 'tls',
    'smtpUser' => '%USERID%',
    'smtpHost' => 'smtp.myserver.com',
    'smtpPort' => 25,
    'smtpSslMode' => 'tls',
  ],

but when I've logon to app and go to mail, I saw this:
Account
Name: "display name from ldap"
Email: "email from ldap"
imap server: imap.myserver.com
Port: 143 STARTTLS
Imap User: "email from ldap"
Imap Password: Empty

smtp server: smtp.myserver.com
Port: 25STARTTLS
SmtpUser: "email from ldap"
Smtp Password: Empty

It behaves very strange, and I cant figure why is that.

When I set 'email' => '', Imap user and Smtp user were empty too.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions