zabbix-helpers/check_email_delivery_go/cronjobs

5 lines
1.2 KiB
Plaintext

*/10 * * * * /go/bin/email-check -mail-to "${EXT_RECEIVER_EMAIL}" -mail-from "${SENDER_EMAIL}" -imap-user="${EXT_RECEIVER_EMAIL}" -imap-server="${EXT_IMAP_SERVER}" -smtp-user="${SENDER_EMAIL}" -smtp-server="${MAIL_SERVER}" -send -receive -delay 10 -direction outgoing -use-zabbix-sender -zabbix-host="${MAIL_SERVER}" -vault-email-secret-path="/v1/secret-inf/data/email" >> /var/log/email-check-out.log 2>&1
*/10 * * * * /go/bin/email-check -mail-to "${RECEIVER_EMAIL}" -mail-from "${EXT_SENDER_EMAIL}" -imap-user="${RECEIVER_EMAIL}" -imap-server="${MAIL_SERVER}" -smtp-user="${EXT_SENDER_EMAIL}" -smtp-server="${EXT_SMTP_SERVER}" -send -receive -delay 10 -direction incoming -use-zabbix-sender -zabbix-host="${MAIL_SERVER}" -vault-email-secret-path="/v1/secret-inf/data/email" >> /var/log/email-check-in.log 2>&1
*/10 * * * * /go/bin/email-check -mail-to "${RECEIVER_EMAIL}" -mail-from "${SENDER_EMAIL}" -imap-user="${RECEIVER_EMAIL}" -imap-server="${MAIL_SERVER}" -smtp-user="${SENDER_EMAIL}" -smtp-server="${MAIL_SERVER}" -send -receive -direction local -use-zabbix-sender -zabbix-host="${MAIL_SERVER}" -vault-email-secret-path="/v1/secret-inf/data/email" >> /var/log/email-check-local.log 2>&1