Skip to content

0.4.2 referral without port not working #260

@MASHtm

Description

@MASHtm

Prerequisites

  • Tried the most recent nightly build
  • Checked if your issue is already reported.

What happened?

We operate a cyrus-imapd murder cluster and use sieve with referrals. This worked already in older versions of the addon, but seems broken in 0.4.2.

Looking at the code it seems that the returned structure is not pre filled with the port number of the configured (frontend) host and if the referral contains only sieve://hostname it fails with...

[17:59:54.764 account2] Server -> Client
BYE (REFERRAL "sieve://backend.server.net") "Try Remote."
[17:59:54.765 account2] Disconnected from frontend.server.net:4190 with status 0
[17:59:54.765 account2] Disconnecting frontend.server.net:4190...
[17:59:54.765 account2] Disconnected ...
[17:59:54.765 account2] Disconnecting frontend.server.net:4190...
[17:59:54.765 account2] Referred to Server: backend.server.net
No Port specified .. SieveRequire.jsm:167

What did you expect to happen?

Referral works as expected with standard sieve:// URI

Version

Server uses cyrus-imapd 2.5.x
Client uses Fedora 31/Thunderbird 68.7.0
Addon Version 0.4.2

Metadata

Metadata

Assignees

Labels

AppIssue affects the standalone applicationWebExtensionIssue affects Thunderbird WebExtensionbug

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions