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

No more crond #45

Open
Metabaron1 opened this issue Jan 1, 2025 · 0 comments
Open

No more crond #45

Metabaron1 opened this issue Jan 1, 2025 · 0 comments

Comments

@Metabaron1
Copy link

Metabaron1 commented Jan 1, 2025

Hi all
I updated this postfix container a few days ago as there some new interesting updates, but I was very disapointed when I noticed that the cron was not working anymore.

Of course I understand that custom certificate should not be updated, but you should not just completely remove a feature that has been there from the beginning and could be used by other users.
Especially when you just have to delete (or move from /etc/periodic) the cron config to properly disable it so that the certificate is not updated anymore.
So could you please put the cron back in entrypoint.sh and instead remove the certificate cron config, something like:

  if [[ -f ${TLS_KEY_FILE} && -f ${TLS_CERT_FILE}  ]]; then
    rm -f /etc/periodic/hourly/renew-postfix-tls
    crond && python3 generate_config.py --postfix && setup_dnsbl_reply_map && postfix start-fg
  else

Thanks and happy new year

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

1 participant