jonhoo / jonhoo/rust-imap

Support IMAP4 Login Referrals

Open
#111 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
583
Forks
94
PR merge metrics
No merged PRs in 30d

Description

I'm wondering if support for [RFC 2221 (IMAP4 Login Referrals)](https://tools.ietf.org/html/rfc2221) is planned?

It's possible to slightly work around this now by checking the error message thrown upon `login` or `authenticate` and parsing the message manually, but it seems like this could be a useful integration.

The current real-world case that prompted this question is a dovecot cluster, where a user's home mailbox exists on another server.
This will result in either:

* `No Response: [REFERRAL imap://test%40mail1.example.com;AUTH=*@mail2.example.com/]` after authentication against the other cluster member.
* Or `No Response: [REFERRAL imap://test%40mail1.example.com;AUTH=*@/]` in the case where the authentication is handled by another cluster member, but the server is unavailable (e.g. due to maintenance).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.