Oops, the < in arg1=< is optional - treat it as such!
This commit is contained in:
parent
9046f8cd17
commit
b389bf7570
@ -51,7 +51,7 @@ case "$daily_status_mail_rejects_enable" in
|
||||
done
|
||||
cat /var/log/maillog
|
||||
} |
|
||||
sed -n -E "s/^$start"'.*ruleset=check_[^ \t]+,[ \t]+arg1=<([^@]+@)?([^>,]+).*reject=([^ \t]*)[ \t].*[ \t]([a-zA-Z0-9_.]+)$/\2 (\3... \4)/p' |
|
||||
sed -n -E "s/^$start"'.*ruleset=check_[^ \t]+,[ \t]+arg1=<?([^@]+@)?([^>,]+).*reject=([^ \t]*)[ \t].*[ \t]([a-zA-Z0-9_.]+)$/\2 (\3... \4)/p' |
|
||||
sort -f | uniq -ic | sort -fnr | tee /dev/stderr | wc -l)
|
||||
[ $rc -gt 0 ] && rc=1
|
||||
fi;;
|
||||
|
Loading…
Reference in New Issue
Block a user