script per la manutenzione delle code di posta dei server pubblici

Mauro Morichi 9306875f72 Aggiorna 'README.md' 3 달 전
README.md 9306875f72 Aggiorna 'README.md' 3 달 전
c.sh 122af8c6c3 first commit mail script 3 달 전
check_expire_openvpn.sh 122af8c6c3 first commit mail script 3 달 전
checkq.sh 122af8c6c3 first commit mail script 3 달 전
count.sh 122af8c6c3 first commit mail script 3 달 전
delete.sh 122af8c6c3 first commit mail script 3 달 전
deleteHold.sh 122af8c6c3 first commit mail script 3 달 전
hold.sh 122af8c6c3 first commit mail script 3 달 전
mailbox_clean.sh 122af8c6c3 first commit mail script 3 달 전
openvpn_sync_mx.sh 122af8c6c3 first commit mail script 3 달 전
release.sh 122af8c6c3 first commit mail script 3 달 전
requeue.sh 122af8c6c3 first commit mail script 3 달 전
resend.sh 122af8c6c3 first commit mail script 3 달 전
restart.mqtt.sh 122af8c6c3 first commit mail script 3 달 전
view.sh 122af8c6c3 first commit mail script 3 달 전

README.md

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