version 1.87, 2016/04/01 08:20:27 |
version 1.88, 2016/04/29 13:05:33 |
|
|
dump w | grep -vB1 ^Dump |
dump w | grep -vB1 ^Dump |
fi |
fi |
|
|
# The first two regular expressions handle sendmail, the third postfix. |
|
# When the queue is empty, smtpd(8) and exim -bp keep silent. |
|
next_part "mail:" |
|
mailq | grep -v -e "^/var/spool/mqueue is empty$" \ |
|
-e "^[[:blank:]]*Total requests: 0$" \ |
|
-e "^Mail queue is empty$" |
|
|
|
next_part "network:" |
next_part "network:" |
if [ "X$VERBOSESTATUS" != X0 ]; then |
if [ "X$VERBOSESTATUS" != X0 ]; then |
netstat -ivn |
netstat -ivn |