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

Fix #443 - RIMAP support #448

Merged
merged 3 commits into from
Jan 3, 2017
Merged

Fix #443 - RIMAP support #448

merged 3 commits into from
Jan 3, 2017

Conversation

weo
Copy link
Contributor

@weo weo commented Jan 2, 2017

#443

  • Added unit tests to rimap sasl mechanism
  • Enabled sasl auth in postfix when rimap mechanism is selected
  • Additionally, it seems necessary to start saslauthd with option "-r" ("Combine the realm with the login") in that case

Signed-off-by: Wolfgang Ocker <weo@reccoware.de>
Signed-off-by: Wolfgang Ocker <weo@reccoware.de>
Copy link
Contributor

@tomav tomav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this PR.
Perhaps we also should add few checks on startup because if rimap is used, ENABLE_SASLAUTHD should be set to 1, no?

@@ -0,0 +1,5 @@
EHLO mail
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps you should reuse the smpt auth (renaming the file to something more obvious, specifying the user perhaps). Because if we change a password, it should be done in both file (the probably look the same)

Copy link
Contributor Author

@weo weo Jan 2, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, reusing smtp-auth-login.txt makes sense.

Regarding checks of ENABLE_SASLAUTHD: perhaps we can drop that variable at all and just look at SASLAUTHD_MECHANISMS?

Copy link
Contributor

@tomav tomav Jan 2, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's an option. perhaps LDAP users may have an idea on that specific point.
But I'm currently refactoring tests and I can say that's not obvious when we look at the different combinations with these variables.

@tomav tomav changed the title Fix #443 Fix #443 - RIMAP support Jan 2, 2017
…map auth

- remove sasl-imap-smtp-auth.txt again

Signed-off-by: Wolfgang Ocker <weo@reccoware.de>
@tomav tomav merged commit 9095ba3 into docker-mailserver:master Jan 3, 2017
@tomav
Copy link
Contributor

tomav commented Jan 3, 2017

Thanks @weo!

RichardFevrier pushed a commit to RichardFevrier/docker-mailserver that referenced this pull request Aug 26, 2019
* Add unit tests for docker-mailserver#443 (rimap auth)
* Fix docker-mailserver#443 - configure rimap for saslauth
* Fix docker-mailserver#443 - reuse smtp-auth-login.txt when testing rimap auth
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

Successfully merging this pull request may close these issues.

None yet

2 participants