ansible-role-postfix/templates/logrotate.conf.j2

20 lines
581 B
Text
Raw Normal View History

{{ ansible_managed | comment }}
2023-03-20 20:01:04 +01:00
/var/log/mail.log
/var/log/mail.info
/var/log/mail.warn
/var/log/mail.err
{
rotate 1
daily
missingok
notifempty
compress
delaycompress
sharedscripts
postrotate
/usr/lib/rsyslog/rsyslog-rotate
python3 /opt/mail-tls-helper/mail-tls-helper.py -s /opt/mail-tls-helper/domains.sqlite -p /var/lib/postfix/tls-helper/tls_domains -t cdb --allowlist /opt/mail-tls-helper/allowlist.txt -d {{ postfix_tls_helper_domain }} -r {{ postfix_tls_helper_recipient }} -f {{ postfix_tls_helper_sender }}
endscript
}