first commit

This commit is contained in:
yo
2020-08-06 23:06:53 +02:00
commit fc2afd9cf7
7 changed files with 157 additions and 0 deletions

15
pkg-message Normal file
View File

@ -0,0 +1,15 @@
[
{ type: install
message: <<EOM
For postfix_exporter to read maillog, you need to chown it to maildrop group:
chown :maildrop /var/log/maillog
Also configure newsyslog to apply these rights when rotating log:
/var/log/maillog root:maildrop 640 7 * @T00 JC
Create postfix_exporter logfile with:
touch /var/log/postfix_exporter.log && chown postfix_exporter /var/log/postfix_exporter.log
EOM
}
]