mail: don't apply logrotate settings

This commit is contained in:
Markus 2020-05-20 08:36:25 +02:00
parent d96e3f20ec
commit 3f920c731d
2 changed files with 0 additions and 15 deletions

View File

@ -1,12 +0,0 @@
/var/log/dovecot/*.log {
weekly
rotate 4
missingok
notifempty
compress
delaycompress
sharedscripts
postrotate
doveadm log reopen
endscript
}

View File

@ -91,9 +91,6 @@
- learn-spam.sh
- learn-ham.sh
- name: Configure logrotate for dovecot
copy: src=logrotate.d/dovecot dest=/etc/logrotate.d/dovecot
- name: Ensure dovecot certificates are available
command: openssl req -x509 -nodes -newkey rsa:2048 -keyout /etc/dovecot/ssl/{{ mail_server }}.key -out /etc/dovecot/ssl/{{ mail_server }}.crt -days 730 -subj "/CN={{ mail_server }}" creates=/etc/dovecot/ssl/{{ mail_server }}.crt
notify: Restart dovecot