améliorations log2mail
This commit is contained in:
parent
8e71067cff
commit
bd074a7121
|
@ -464,33 +464,22 @@ Pour être alerté en cas d'erreurs graves, voici une config pour log2mail :
|
|||
~~~
|
||||
file = /var/log/mail.log
|
||||
pattern = "fatal:"
|
||||
mailto = postmaster@example.com
|
||||
template = /etc/log2mail/template.mail
|
||||
mailto = alert@example.com
|
||||
|
||||
file = /var/log/mail.log
|
||||
pattern = "panic:"
|
||||
mailto = postmaster@example.com
|
||||
template = /etc/log2mail/template.mail
|
||||
mailto = alert@example.com
|
||||
|
||||
file = /var/log/mail.log
|
||||
pattern = "No such file or directory"
|
||||
mailto = postmaster@example.com
|
||||
template = /etc/log2mail/template.mail
|
||||
mailto = alert@example.com
|
||||
|
||||
file = /var/log/mail.log
|
||||
pattern = "table lookup problem"
|
||||
mailto = postmaster@example.com
|
||||
template = /etc/log2mail/template.mail
|
||||
mailto = alert@example.com
|
||||
|
||||
file = /var/log/mail.log
|
||||
pattern = "warning: connect to Milter service"
|
||||
mailto = postmaster@example.com
|
||||
template = /etc/log2mail/template.mail
|
||||
mailto = alert@example.com
|
||||
|
||||
file = /var/log/mail.log
|
||||
pattern = "451 4.7.1 Service unavailable - try again later"
|
||||
mailto = postmaster@example.com
|
||||
template = /etc/log2mail/template.mail
|
||||
mailto = alert@example.com
|
||||
~~~
|
||||
|
||||
## Délivrabilité
|
||||
|
|
Loading…
Reference in a new issue