gli script di questo repo riguardano i server pubblici che gestiscono posta sia che si trovino in cloud che presso altri fornitori.
consentono di cancellare, fermare, ripristinare la posta in caso di problemi.
nota: su mail-mx vengono usati anche per fare il check continuo delle code, quindi occhio a cron:
*/15 * * * * /root/script/header_checks.py > /etc/postfix/header_checks */15 * * * * /root/script/body_checks.py > /etc/postfix/body_checks */5 * * * * mailq | logger -p mail.info -t MAILQ */30 * * * * /root/script/checkq.sh > /dev/null 00 06 * * 1 /root/script/mailbox_clean.sh 00 23 * * * /root/script/restart.mqtt.sh @weekly /root/script/openvpn_sync_mx.sh | mail -s "openvpn_sync_from_mx" root @weekly /root/script/check_expire_openvpn.sh | mail -s "scadenza openvpn Mx Server" root 00 */2 * * * cd /home/net205/sync && bash backup.sh