-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 doc #2436
Fix doc #2436
Conversation
I'm not quite sure on this, as I did not manage consistency for volume mounts, but the current value seems to be correct to me. It is the location on the host file system within our volume example directories. @polarathene can you confirm? |
Current docs are correct, the host volume path is a placeholder but reflects what we use in our example docker-mailserver/docker-compose.yml Line 23 in 2de3340
@jmcci probably has upgraded an existing install perhaps, before we normalized the volume paths across the docs?
@jmccl you say where the file is when running through the tutorial you're updating in the PR? But this volume path is correctly matching the example
I think the actual correction would be to update this line:
We removed the need for
Likewise step 8 has some examples with many At least it seems that the support for both caused some confusion for this tutorial. Lines 109 to 118 in 2de3340
|
I see. I think it is a good idea to remove the calls to Upgrading to DMS |
Another thing I run into myself some time ago. When you are not using the snipped below in an empty directory DMS_GITHUB_URL='https://raw.githubusercontent.com/docker-mailserver/docker-mailserver/master'
wget "${DMS_GITHUB_URL}/docker-compose.yml"
wget "${DMS_GITHUB_URL}/mailserver.env"
wget "${DMS_GITHUB_URL}/setup.sh"
chmod a+x ./setup.sh but clone the repo instead, you'll have an |
This was not an upgrade; it was (an attempt at) a clean install. This is my first time trying to use this project. I started from this page as I generally prefer to start from source rather than rely on build processes I don't understand. I got the source from head yesterday with this command, found on that page. git clone --recurse-submodules https://github.com/docker-mailserver/docker-mailserver I then used this page to twiddle the config as the page is about what I'm trying to do. After changing those settings, I went to this page and followed the instructions. ========================= Things that surprised me:
|
There really is a discrepancy between how one would now do it vs. the way it was done with |
I agree, I misunderstood. I was just trying to explain what I did and what I was thinking when I did it. |
Documentation preview for this PR is ready! 🎉 Built with commit: 6219a5d |
Building from source would be our Dockerfile, just as the example doc you referenced detailed.
The external script just provides some extras like pulling the image if it's not locally available. By default it's set to out Line 15 in 2de3340
Lines 52 to 61 in 2de3340
You can use For you it was a little jarring, since you strayed from our "happy" path by choosing to begin with your own local build (which is fine, but mostly documented for contributors). You're welcome to improve our docs for that experience if you'd like :)
Totally fine 👍
Just a little warning (although I think we've made it more clear recently), LDAP support is fully community contributed, we don't have any maintainers that use it or know much to maintain it well, and users of LDAP have raised some issues that are yet to be resolved if you run into those.
You'd probably want to start off with the basic installation first, then repeat for extras like LDAP I'd have thought? 😅
|
@casperklein Oops I missed this comment! That explains it then 😅 Perhaps we could fix that? Either by dropping the legacy support from |
I vote for dropping support of the legacy configuration in |
Ideally we should do both. We chose for reasons to rename |
PS: I find the new directory structure still weird. However, no matter what we do, we should do it consequently. And at the moment, this means to rename |
I agree with @casperklein that the directory structure proposed in our docs is, at least IMHO, not likely to be found out there in the wild (i.e. a bit weird). We could consistently rename it though. |
I've created a PR. Let's continue to discuss in #2438. |
FWIW, I had to move the 'opendkim' directory from 'config' where it was placed to 'docker-data/dms/config' in order for the mailserver to recognize the dkim configuration, So I agree that the pr is the right thing, while leaving the doc as is. As such, I'll close this pr. |
BTW, thanks to all of you for looking at this so quickly. |
Based on where the file is actually put when running through the tutorial.