On Wed, Jan 4, 2012 at 5:26 AM, Randy Bush <randy@psg.com> wrote:
hold your nose
zgrep '<=.*\[....:' /var/spool/exim/log/main* | wc zgrep '<=' /var/spool/exim/log/main* | wc
and the ever failthful bc :)
err... one of 4 MX's for home email... (I'll catch the others later on) v6 inbound: $ egrep '\[2...:' /tmp/today.from |wc -l 244 v4 inbound: $ egrep -v '\[2...:' /tmp/today.from |wc -l 135591 percent v4: 135591/(244+135591) * 100 99.82 v6 outbound: $ egrep '\[2...:' /tmp/today.to |wc -l 198 v4 outbound: $ egrep -v '\[2...:' /tmp/today.to |wc -l 196 a note about the OUT numbers... I was apparently bouncing/connection-refusing to a relay over v6 :( so.... 2 REAL connections out, 196 failures, w00t! (this mailserver does little 'out' email apparently)