Replies: 2 comments 1 reply
-
Normally you could modify config files directly in the container and when supported by a service tell it to reload the config files (eg When it comes to support with our DMS config volume to sync configs and apply any other post-hooks after that, we handle that via our Change Detector service (aka With Fetchmail that's a bit more complicated, as we have some extra work only applied during container startup: docker-mailserver/target/scripts/startup/daemons-stack.sh Lines 57 to 66 in 41dd072 That has the "parallel" config support by managing multiple fetchmail services, one for each config. In addition to that, here is our the startup methods for fetchmail that may need to be adapted to helper scripts for the change detector to support. So getting that service supported in the way that you want may be a bit of a hassle. You should be ok though to modify the files within the container directly if you're just wanting to experiment/iterate. Shell into the container and use In the future it may be easier if I ever get around to refactoring the change detection feature to use something like |
Beta Was this translation helpful? Give feedback.
-
EDIT: Actually... unless the feature below can start a new container instance, I think it'll still have the problem for fetchmail since @casperklein or @georglauterbach could weigh in here, but I think there's not much we can do about this. You may also want to consider Getmail instead of Fetchmail, as it is a little bit simpler (only a single service so you can use One other possibility is to use Docker Compose The feature AFAIK will monitor some files outside the container for changes, and when those files are updated it can trigger a restart of the service. With DMS v14 that might not quite work, but with DMS v15 our restart support should be in better shape. v15 will be released later this month AFAIK, but for the time being you can use |
Beta Was this translation helpful? Give feedback.
-
Hi,
I´m using DMS in a more or less simple setup fetchmail => rspamd => mailboxes (IMAP), including fetchmail parallel (working very fine).
Is there a simple way to trigger the _setup_fetchmail once again after modifying fetchmail.cf while the container is running?
The only way (I found) was to redeploy the container, and I feel this is like shooting with big cannons to very small birds.
Any ideas?
Robert
Beta Was this translation helpful? Give feedback.
All reactions