|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: Re: Postfix & Logcheck
From: Vivek Khera (khera
kciLink.com)Date: Tue Sep 19 2000 - 09:27:06 CDT
- Next message: Lutz Jaenicke: "Re: ssmtp"
- Previous message: MURASE, Masaki: "patch for NEXTSTEP user (was Re: Postfix 19991231 Patch 09 available)"
- In reply to: Brad Knowles: "Re: Postfix & Logcheck"
- Next in thread: Lars Hecking: "Re: Postfix & Logcheck"
- Next in thread: Jim Seymour: "Re: Postfix & Logcheck"
- Reply: Vivek Khera: "Re: Postfix & Logcheck"
- Reply: Lars Hecking: "Re: Postfix & Logcheck"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I use the following in my daily script:
echo ""; echo "Scanning maillog for rejections:"
zgrep ': reject:' /var/log/maillog.0.gz | cut -d : -f 5- | sort | uniq -c
echo ""
echo ""; echo "Scanning maillog for errors:"
env GREP=egrep zgrep ': (warning|error|fatal|panic):' /var/log/maillog.0.gz | cut -d : -f 4- | sort | uniq -c
This has worked quite well for me for over a year now, and I've been
able to notice customers/clients with open relays that are blocked or
other such things without having to wade through too much stuff
manually.
-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Vivek Khera, Ph.D. Khera Communications, Inc. Internet: kherakciLink.com Rockville, MD +1-301-545-6996 GPG & MIME spoken here http://www.khera.org/~vivek/
- Next message: Lutz Jaenicke: "Re: ssmtp"
- Previous message: MURASE, Masaki: "patch for NEXTSTEP user (was Re: Postfix 19991231 Patch 09 available)"
- In reply to: Brad Knowles: "Re: Postfix & Logcheck"
- Next in thread: Lars Hecking: "Re: Postfix & Logcheck"
- Next in thread: Jim Seymour: "Re: Postfix & Logcheck"
- Reply: Vivek Khera: "Re: Postfix & Logcheck"
- Reply: Lars Hecking: "Re: Postfix & Logcheck"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]