Fixes for exim and divecot work
This commit is contained in:
@@ -39,14 +39,10 @@ echo -en "\n---------------------------------------------"
|
||||
echo -en "---------------------------------------------\n\n"
|
||||
|
||||
# Displaying exim stats
|
||||
if [ -e "/var/log/exim4/mainlog" ]; then
|
||||
eximstats /var/log/exim4/mainlog 2> /dev/null
|
||||
else
|
||||
eximstats /var/log/exim/main.log 2> /dev/null
|
||||
fi
|
||||
eximstats /var/log/exim/main.log 2> /dev/null
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "[Exim4] No valid log lines read"
|
||||
echo "[Exim] No valid log lines read"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user