Allow manual domains for dkim generator#1753
Allow manual domains for dkim generator#1753wernerfred merged 13 commits intodocker-mailserver:masterfrom williamdes:ldap-dkim-generator
Conversation
|
Like in the previous PR there are some tests failing: Failing testsDo you need help solving the issues? |
Yes, please I am low on time now to fix this |
|
I fixed the problem by removing the quotes from the argument as they are already set in function call (in this line) Next i wanted to add tests for this kind of functionality but then i discovered a test that is checking dkim only by using domain name which was introduced 4 years ago by 9845375 To be fair, this functionality isn't documented anywhere (got removed from README.md during refactoring by 115ad55 and is not in Wiki currently). I propose that you take a closer look if Either way would be a bit of work to invest. What is your opinion on that? |
|
I would like to decide this before 8.0.0 as removing a old way of generating the dkim keys might break existing setups @aendeavor |
|
Actually LGTM to me. @wernerfred is right, we should merge this before This was labelled with |
|
I have added another commit that changes the behavior of the default value. I made this "mistake" earlier - using |
Maybe I find some time today for writing the test (at least in the same "dirty" style the other dkim tests are) But that means that you prefer to delete the |
|
Hi Let me know if you absolutely need something :) I will be glad to review anyway And dropping the old script looks like a good idea to me |
|
@wernerfred please by all accounts merge this yourself if you think this is ready to be merged. Reach back to me in @docker-mailserver/maintainers in the discussion for releasing |
|
@williamdes pls test this asap! All further commits from my side will now be documentation and typo fixing etc. |
|
@williamdes just pinging you here:) See @wernerfred's last Comment. |
williamdes
left a comment
There was a problem hiding this comment.
The diff looks good to me
I already tested the change and it worked
Not testing the tests because the tests test 😄
Thanks a lot!
One note: I would have used 4096 in tests rather than an old 2048 value
|
@wernerfred if you'd like to bump to 4096 that's fine with me - just remember to adjust the test which checks the default value too as well as |
|
Good point as this is a breaking change, too. |
|
LGTM ready for merging? if yes, go ahead :D |
|
30secs, nice :D |
Fix #1735 - The dkim key generator does not work for ldap setups
Replaces: #1736