af523c0 emailprovider: make it so receivers is an array
~jae pushed to ~jae/cert-monitor git
A SSL certificate monitor solution
Provide the following environment variable to monitor those domains:
GET_DOMAIN_LIST='["jae.fi:443", "mail.jae.fi:465"]'
SMTP_USER="noreply@email.host"
SMTP_PASS="iamverysecure"
SMTP_HOST="mail.email.host"
RECEIVERS=["ping@email.host"]
MATRIX_HOST="matrix.something.test"
MATRIX_TOKEN="verysecret"
MATRIX_ROOMS='["!myroom:matrix.something.test"]'
MATRIX_ENABLED=True
EMAIL_ENABLED=True
GET_DOMAIN_LIST
will check for a certificate on port 443.
GET_MAIL_DOMAINS
will check for a certificate on port 465.
Optional are:
SMTP_PORT # SET THE SMTP PORT (HAS TO BE SSL)
CRON_TASK_SECONDS # SECONDS BETWEEN CRONS