Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STARTTLS encryption on managesieve cannot be enabled anymore #53

Open
fgaz opened this issue Feb 8, 2019 · 4 comments
Open

STARTTLS encryption on managesieve cannot be enabled anymore #53

fgaz opened this issue Feb 8, 2019 · 4 comments

Comments

@fgaz
Copy link
Collaborator

fgaz commented Feb 8, 2019

24101d6 (#45) enabled SSL by default on managesieve (port 4190), but as far as I understand no plaintext alternative port is provided, so STARTTLS is not possible.

Since the managesieve spec does not define a SSL port, some managesieve clients (claws mail and sieve-connect for example) only support STARTTLS, and have no way to connect to the nixcloud-webservices' managesieve server (unless encryption is disabled altogether with enableTLS = false;).

@fgaz fgaz changed the title STARTTLS encryption on managesieve cannot be enabled STARTTLS encryption on managesieve cannot be enabled anymore Feb 8, 2019
@qknight
Copy link
Member

qknight commented Feb 8, 2019

probably everyone uses TLS by default i'd imagine. what do you propose?

@fgaz
Copy link
Collaborator Author

fgaz commented Feb 8, 2019

probably everyone uses TLS by default i'd imagine

I don't think so. For example, iRedMail seems to expose an unencrypted (well, until the client does a STARTTLS (and most clients enforce it)) managesieve:

https://docs.iredmail.org/network.ports.html

And so does mailinabox:

https://mailinabox.email/static/architecture.svg

Also every client I tried only supports STARTTLS, but I didn't try many. Do you use one that supports TLS?

Finally, the RFC only mentions STARTTLS (contrary to the SMTP and IMAP ones):

https://tools.ietf.org/html/rfc5804#section-2.2

what do you propose?

Maybe a managesieveEncryptionMethod flag that can be "STARTTLS" or "TLS" (or "none") and defaults to "STARTTLS". Also two separate ports like it's done for IMAP/SMTP are ok, but the RFC does not specify a standard port for managesieve over TLS

@qknight
Copy link
Member

qknight commented Feb 9, 2019

with TLS i also meant STARTTLS but now i notice the difference. would you want to create a PR for this?

@fgaz
Copy link
Collaborator Author

fgaz commented Feb 13, 2019

Sure, just assign the issue to me so I don't forget it. I'm rather busy atm, so this will have to wait a bit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants