erreurs mailq
This commit is contained in:
parent
45b825fe32
commit
1c38e51744
|
@ -433,3 +433,11 @@ Détecter les tabulations
|
||||||
~~~
|
~~~
|
||||||
$ grep -P '\t'
|
$ grep -P '\t'
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
|
# Serveur mail
|
||||||
|
|
||||||
|
## Avoir vision des différentes erreurs mailq (MAILER-DAEMON)
|
||||||
|
|
||||||
|
~~~{.bash}
|
||||||
|
(for id in $(mailq | grep MAILER\-DAEMON | cut -d' ' -f1); do postcat -q $id| grep Diagnostic\-Code\:; done) | sort | uniq -c | sort -n
|
||||||
|
~~~
|
Loading…
Reference in a new issue