Replies: 7 comments 4 replies
-
How did you manage that? If you followed our documentation you should be using config files provided to DMS via volume mounts. Upgrading the container rarely has any impact on that data, but just in case make a backup copy before you do. On the Github Releases page of the project you will find release notes, while on the main repo page, there is a
What settings are you concerned about being affected? Are they not managed by volumes? |
Beta Was this translation helpful? Give feedback.
-
Thanks for the reply. Below is my compose file. Yes I am using volumes as suggested but still
|
Beta Was this translation helpful? Give feedback.
-
OK thanks. I understand.
The way I amend configuration files is that I log I to the container (via
portainer) and then simply nano config.file. I know from experience that
upgrades overwrite my changes. That's why I raised the question here.
…On Sat, 16 Dec 2023, 21:04 Brennan Kinney, ***@***.***> wrote:
but still /etc/postfix/main.cf will be updated by the container upgrade.
right? And I had to make changes in there because a lot of valid email got
rejected.
/etc/postfix/main.cf is an internal file. You should only modify this via
user-patches.sh or our override file postfix-main.cf (see our docs), both
files are provided via the volume to /tmp/docker-mailserver.
------------------------------
You've not said how you're modifying /etc/postfix/main.cf, if it's not
via either of those two and you don't have a direct volume mount, know that
changes to files within the container aren't persisted across new container
instances.
This is important to be aware of, since some users rely on
stopping/starting and restart of a container. However DMS startup scripts
are not always prepared for this and expect to work with fresh internal
state as provided by our image, so that can lead to bugs. Instead we
encourage always starting/restarting DMS with a fresh container instance (docker
compose up --force-recreate).
If you have been relying on the same container instance, your changes to
such files will be lost, not just from an upgrade but anything that would
remove that container instance and start a new one (*I believe an ENV or
volume change can do that for example*). So best to back that up.
—
Reply to this email directly, view it on GitHub
<#3701 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMNNHGXJO7MPJRSFNH33QNTYJYEHRAVCNFSM6AAAAABAWYOQDOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TQNZTGM3DA>
.
You are receiving this because you authored the thread.Message ID:
<docker-mailserver/docker-mailserver/repo-discussions/3701/comments/7873360
@github.com>
|
Beta Was this translation helpful? Give feedback.
-
Awesome, thank you so much!
…On Sat, 16 Dec 2023, 21:45 Brennan Kinney, ***@***.***> wrote:
The way I amend configuration files is that I log I to the container (via
portainer) and then simply nano config.file. I know from experience that
upgrades overwrite my changes.
No worries, use the features we provide instead and that won't be an issue
👍
—
Reply to this email directly, view it on GitHub
<#3701 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMNNHGS3X5PF4ADUNW65HR3YJYJA3AVCNFSM6AAAAABAWYOQDOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TQNZTGU3DS>
.
You are receiving this because you authored the thread.Message ID:
<docker-mailserver/docker-mailserver/repo-discussions/3701/comments/7873569
@github.com>
|
Beta Was this translation helpful? Give feedback.
-
By the way, will you think about adding a simple mail client to the
container (like roundcube or so)? That would be an awesome package....
…On Sat, 16 Dec 2023, 21:45 Brennan Kinney, ***@***.***> wrote:
The way I amend configuration files is that I log I to the container (via
portainer) and then simply nano config.file. I know from experience that
upgrades overwrite my changes.
No worries, use the features we provide instead and that won't be an issue
👍
—
Reply to this email directly, view it on GitHub
<#3701 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMNNHGS3X5PF4ADUNW65HR3YJYJA3AVCNFSM6AAAAABAWYOQDOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TQNZTGU3DS>
.
You are receiving this because you authored the thread.Message ID:
<docker-mailserver/docker-mailserver/repo-discussions/3701/comments/7873569
@github.com>
|
Beta Was this translation helpful? Give feedback.
-
Wow. I will try that. Thank you very much Casper!
…On Sun, Dec 17, 2023 at 11:35 AM Casper ***@***.***> wrote:
It's really easy to do so, just add these lines
<https://github.com/roundcube/roundcubemail-docker/blob/28069c0316b8130d16445b8d05fe9a4efe2bb749/examples/docker-compose-simple.yaml#L4-L17>
to your existing DMS compose.yaml.
—
Reply to this email directly, view it on GitHub
<#3701 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMNNHGRUOPQBW7HI4MFPASTYJ3KGNAVCNFSM6AAAAABAWYOQDOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TQNZWGI4DA>
.
You are receiving this because you authored the thread.Message ID:
<docker-mailserver/docker-mailserver/repo-discussions/3701/comments/7876280
@github.com>
|
Beta Was this translation helpful? Give feedback.
-
Hello again. I just tried the Roundcube container and it worked like a
charm. I needed to tweak the ports a bit but after that it all runs
smoothly...And the speed is impressive. Lets see how it goes after a few
months.
One step closer to terminating Gmail surveilance :)))
thank you guys!
…On Sun, Dec 17, 2023 at 11:35 AM Casper ***@***.***> wrote:
It's really easy to do so, just add these lines
<https://github.com/roundcube/roundcubemail-docker/blob/28069c0316b8130d16445b8d05fe9a4efe2bb749/examples/docker-compose-simple.yaml#L4-L17>
to your existing DMS compose.yaml.
—
Reply to this email directly, view it on GitHub
<#3701 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMNNHGRUOPQBW7HI4MFPASTYJ3KGNAVCNFSM6AAAAABAWYOQDOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TQNZWGI4DA>
.
You are receiving this because you authored the thread.Message ID:
<docker-mailserver/docker-mailserver/repo-discussions/3701/comments/7876280
@github.com>
|
Beta Was this translation helpful? Give feedback.
-
I have been running version 12.1.0 for a while now and am unsure how upgrading to V 13 would impact my settings. I spent alot of time manually amending configs and settings around:
Is there a way to preserve the settings?
Beta Was this translation helpful? Give feedback.
All reactions