Skip to content
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

support reloading content of domains-file #160

Open
syrkuit opened this issue Sep 27, 2023 · 3 comments
Open

support reloading content of domains-file #160

syrkuit opened this issue Sep 27, 2023 · 3 comments

Comments

@syrkuit
Copy link

syrkuit commented Sep 27, 2023

PostSRSd should support automatically (i.e. no funny SIGHUP type business please) reloading the content of the domains-file when it has been updated, rather than needing a restart. Obviously, the behaviour will need to be properly documented when running in a chroot jail.

@svenseeberg
Copy link

svenseeberg commented Dec 29, 2023

At least this issue answers my question if reloading the service is necessary ;-) Adding this to the documentation would be helpful meanwhile. On larger mail servers the domains can be quite dynamic, therefore watching the file and automatically fetching the updated content would really be nice.

@tk7936
Copy link

tk7936 commented Apr 17, 2024

Your domain-file works ?
Can you share how they look , i posted an issue here
I did systemctl restart postsrsd after changes and also restarted postfix

#177

Apreciate any help

@roehling
Copy link
Owner

At least this issue answers my question if reloading the service is necessary ;-) Adding this to the documentation would be helpful meanwhile. On larger mail servers the domains can be quite dynamic, therefore watching the file and automatically fetching the updated content would really be nice.

I am working on this, however it is not trivial to make it work seamlessly with chroot jails.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants