Replies: 1 comment 1 reply
-
Since DMS v14 we only run the bulk of our container setup scripts when the container is first created. This change was done because those scripts were fragile across container restarts as they often made assumptions of no existing modifications, as if they always ran for the first time (no existing configs copied into the container service files, etc) which was prone to various bugs. In DMS v15 we completed that transition for how container startup is handled and this reduced the rate of bug reports related to that buggy behaviour of previous releases of DMS. Thus to ensure configuration is properly applied, we typically advise you to destroy any existing DMS container and create a fresh one with Normally you don't have to worry about this sort of concern with containers, but because DMS bundles multiple services into one container and is effectively integration glue of third-party software, we are more susceptible to the problem.
You should only need the configuration files like our docs cover (I rewrote our docs for sub-addressing in the past year IIRC, they were not very good prior), and then to ensure you start a fresh DMS container with The intent is that once up and running, you shouldn't need to update config very often going forward. DMS does have support for some config files and TLS certs to be monitored and when changes are detected we handle those. That doesn't cover sieve scripts at present, but might in future. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am migrating my DMS setup to a new server. Sending and receiving mails works, but somehow the use of subaddresses fails, and I don't understand why. Basically, when I send a mail to user-folder@mail.com, or to user+folder@mail.com, I would like the
folderfolder to be created and the incoming mail to be moved there. This worked in my previous setup.What I have done is set up these config files:
This seems not to be sufficient, and the subaddress part is not recognized and split off. In the logs I get:
Basically, no user with name
user-folderis found, which of course is not the idea...What is missing here?
(my real email address of course is not mail.com, I have edited files and logs to protect my privacy)
UPDATE 1
I now also placed a
.dovecot.sievefile with the same content as above into/maildata/mail.com/userand compiled it withsievec, and now subaddressing works with the+separator. However, it does not work with the-separator. Runningdoveconfandpostconfinside the running contained seems to indicate that the config files listed above are not "mixed" into the configuration of these programs. Why is this not the case?UPDATE 2
I see, I basically needed to --force-recreate the container, otherwise the config changes were not considered. Now everything works.
I wonder which of the above steps were unnecessary, though, since I do not remember doing these all in my previous setup.
Beta Was this translation helpful? Give feedback.
All reactions