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
|
file = /var/log/mail.log
|
||||||
pattern = "fatal:"
|
pattern = "fatal:"
|
||||||
mailto = postmaster@example.com
|
mailto = alert@example.com
|
||||||
template = /etc/log2mail/template.mail
|
|
||||||
|
|
||||||
file = /var/log/mail.log
|
|
||||||
pattern = "panic:"
|
pattern = "panic:"
|
||||||
mailto = postmaster@example.com
|
mailto = alert@example.com
|
||||||
template = /etc/log2mail/template.mail
|
|
||||||
|
|
||||||
file = /var/log/mail.log
|
|
||||||
pattern = "No such file or directory"
|
pattern = "No such file or directory"
|
||||||
mailto = postmaster@example.com
|
mailto = alert@example.com
|
||||||
template = /etc/log2mail/template.mail
|
|
||||||
|
|
||||||
file = /var/log/mail.log
|
|
||||||
pattern = "table lookup problem"
|
pattern = "table lookup problem"
|
||||||
mailto = postmaster@example.com
|
mailto = alert@example.com
|
||||||
template = /etc/log2mail/template.mail
|
|
||||||
|
|
||||||
file = /var/log/mail.log
|
|
||||||
pattern = "warning: connect to Milter service"
|
pattern = "warning: connect to Milter service"
|
||||||
mailto = postmaster@example.com
|
mailto = alert@example.com
|
||||||
template = /etc/log2mail/template.mail
|
|
||||||
|
|
||||||
file = /var/log/mail.log
|
|
||||||
pattern = "451 4.7.1 Service unavailable - try again later"
|
pattern = "451 4.7.1 Service unavailable - try again later"
|
||||||
mailto = postmaster@example.com
|
mailto = alert@example.com
|
||||||
template = /etc/log2mail/template.mail
|
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
## Délivrabilité
|
## Délivrabilité
|
||||||
|
|
Loading…
Reference in a new issue