Skip to content

No more crond #45

@Metabaron1

Description

@Metabaron1

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions