Skip to content

Added features: saslauthd-ldap support, postfix-ldap support, postfix…#335

Closed
alinmear wants to merge 5 commits intodocker-mailserver:masterfrom
alinmear:master
Closed

Added features: saslauthd-ldap support, postfix-ldap support, postfix…#335
alinmear wants to merge 5 commits intodocker-mailserver:masterfrom
alinmear:master

Conversation

@alinmear
Copy link
Copy Markdown
Contributor

I am worked on a kopano docker integration and needed

  • ldap support, for authentication and also for user validation.
  • to make use of kopano-dagent instead of dovecot

I also updated the README.

I am currently working on a kopano docker integration and needed ldap
support, for authentication and also for user validation.

I also updated the README.
@alinmear
Copy link
Copy Markdown
Contributor Author

Integration Test failed because of failure retrieving gpg key. I tested it and it worked: https://travis-ci.org/alinmear/docker-mailserver

@Josef-Friedrich
Copy link
Copy Markdown
Contributor

Maybe restarting the test could help ... I try

@Josef-Friedrich
Copy link
Copy Markdown
Contributor

Would fix #187

Comment thread README.md
##### LDAP
- **empty** => LDAP support disabled
- 1 => set virtual_mailbox_maps = ldap:/etc/postfix/ldap-users.cf and virtual_alias_maps = ldap:/etc//postfix/ldap-aliases.cf
- $SMTP_ONLY must be set to 1
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why SMTP_ONLYmust be set? Dovecot also supports LDAP authentication.

Copy link
Copy Markdown
Contributor Author

@alinmear alinmear Sep 30, 2016

Choose a reason for hiding this comment

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

i implemented this because i needed those features for a kopano (former zarafa) integration. i didn't implement ldap for dovecot, but postfix-ldap and saslauthd-ldap. Maybe we could write this to the LDAP Section of the README

edit:
and take this as starting point of the dovecot ldap implementation.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

yup let's make it so.

@tomav
Copy link
Copy Markdown
Contributor

tomav commented Oct 20, 2016

@alinmear any way to have integration tests as highlighted by @dennis95stumm ?

@kopax
Copy link
Copy Markdown

kopax commented Oct 25, 2016

Does this mean you removed dovecot globably from the project?

Why should we use kopano?

@tomav
Copy link
Copy Markdown
Contributor

tomav commented Oct 25, 2016

Does not seem to be the case when looking at the changes, hopefully.

@kopax
Copy link
Copy Markdown

kopax commented Oct 25, 2016

@tomav seems to be the case looking at the contributor @alinmear needs :

  • ldap support, for authentication and also for user validation.
  • to make use of kopano-dagent instead of dovecot

@alinmear
Copy link
Copy Markdown
Contributor Author

alinmear commented Oct 25, 2016

I am not sure, what you mean in particular @kopax. I am using this docker image in different use cases. So i implemented the kopano, sslauthd, ldap as options, so one can chose between them, depending on the particular needs.

Do i miss something here because i can't see, where i touched the dovecot implementation.

I contributed this here, because @tomav said in his Project Description, that he wanna provide a full featured mailserver based on postfix. This would indicate that we should flexibel and not bind to dovecot as mda.

@kopax
Copy link
Copy Markdown

kopax commented Oct 25, 2016

@understood. I will probably have a try with your official ldap implementation then. Thanks!

@tomav
Copy link
Copy Markdown
Contributor

tomav commented Oct 26, 2016

@alinmear let us know for the integration test.

@alinmear
Copy link
Copy Markdown
Contributor Author

alinmear commented Oct 30, 2016

@tomav just commented on #352. So you could close this PR. Integration tests are implemented by dennis with #352, where he picked up the commits from this PR and extended them. After merging i will rebase and will make a new PR for having the option to choose between kopano_dagent and dovecot on the virtual_transport parameter and between cyrus sasl and dovecot sasl.

With the PR i will cover the integration tests for cyrus sasl and changing virtual_transport.

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.

5 participants