summaryrefslogtreecommitdiffstats
path: root/etc/periodic
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2005-01-11 10:54:38 +0000
committerbrian <brian@FreeBSD.org>2005-01-11 10:54:38 +0000
commit0df4d3761b5a96a5031d7c395b350b31a12283c8 (patch)
treec9fc8994db9ce292c8e3c3038439a95aedec8b4c /etc/periodic
parentf89ee1e6c1a8a5fd56fcf4ccaa9cef8574d57da2 (diff)
downloadFreeBSD-src-0df4d3761b5a96a5031d7c395b350b31a12283c8.zip
FreeBSD-src-0df4d3761b5a96a5031d7c395b350b31a12283c8.tar.gz
Oops, the < in arg1=< is optional - treat it as such!
Diffstat (limited to 'etc/periodic')
-rwxr-xr-xetc/periodic/daily/460.status-mail-rejects2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/periodic/daily/460.status-mail-rejects b/etc/periodic/daily/460.status-mail-rejects
index f8122b9..1eaca4e 100755
--- a/etc/periodic/daily/460.status-mail-rejects
+++ b/etc/periodic/daily/460.status-mail-rejects
@@ -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;;
OpenPOWER on IntegriCloud