- or download this
set 1
-->20030123 041132266-0500 mta2 mta 25955 264 244 Note;MsgTrace(65/26)
+ delivered:user=rolad@localdomain.net:mbox=103999368866444:mss=mxmss0
+5:from=<blahblah@hotmail.com>:msgid=<F137MtkQhhzFSeXOfFd000201dc@hotm
+ail.com>:size=3211:port=5007:fromhost=192.168.4.15.137:localAddr=[192
+.168.50.100]
-->20030123 041132267-0500 mta2 mta 25955 556 261 Note;MsgTrace(65/26)
+ received from internet:from=<blahblah@hotmail.com>:msgid=<F137MtkQhh
+zFSeXOfFd000201dc@hotmail.com>:fromhost=[192.168.15.137]:localAddr=19
+2.168.50.100:msgfile=/usr/imail/spool/control/158/20030123091131.TKZC
+25955.mta2.localdomain.net@hotmail.com-Control:msgsize=3167:time=1:se
+nder=<elizabethhugh80@hotmail.com>:rcpts=<rolad@localdomain.net>
- or download this
-->20030123 043157259-0500 mta2 mta 25955 107 368 Note;MsgTrace(65/26)
+ dropped:user=teacat@localdomain.net:mss=mxmss02:from=<fun@somespamdo
+main.com>:msgid=<20030123093156.UDXV25955.mta2.localdomain.net@outbou
+nd4.la.jackpot.com>:size=4252:port=6003:fromhost=192.168.22.102:local
+Addr=[192.168.50.100]
-->20030123 043157261-0500 mta2 mta 25955 107 616 Note;MsgTrace(65/26)
+ received from internet:from=<fun@somespamdomain.com>:msgid=<20030123
+093156.UDXV25955.mta2.localdomain.net@outbound4.la.jackpot.com>:fromh
+ost=[192.168.22.102]:localAddr=192.168.50.100:msgfile=/usr/imail/spoo
+l/control/352/20030123093156.UDXV25955.mta2.localdomain.net@outbound4
+.la.jackpot.com-Control:msgsize=4252:time=1:sender=<fun@somespamdomai
+n.com>:rcpts=<teacat@localdomain.net>
- or download this
-->20030123 010337538-0500 mta2 mta 25955 80 419 Note;MsgTrace(65/26)
+handled by Error-Handler:from=<aul@localdomain.net>:msgid=<2003012306
+0334.NPQE25955.mta2.localdomain.net@mail>:size=42589:desthost=mailin-
+01.mx.someremotedomain.com (192.168.138.57):fromhost=192.168.162.207:
+localAddr=[192.168.50.100]:msgfile=/usr/imail/spool/control/482/20030
+123060334.NPQE25955.mta2.localdomain.net@mail-Control:msgid=<20030123
+060334.NPQE25955.mta2.localdomain.net@mail>
-->20030123 010338291-0500 mta2 mta 25955 117 267 Note;MsgTrace(65/26)
+ received from internet:from=<aul@localdomain.net>:msgid=<20030123060
+334.NPQE25955.mta2.localdomain.net@mail>:fromhost=[192.168.162.207]:l
+ocalAddr=192.168.50.100:msgfile=/usr/imail/spool/control/482/20030123
+060334.NPQE25955.mta2.localdomain.net@mail-Control:msgsize=42589:time
+=4:sender=<Saul@localdomain.net>:rcpts=<blackd57@someremotedomain.com
+>
- or download this
-->20030123 002524982-0500 mta2 mta 25955 363 762 Note;MsgTrace(65/26)
+ delivered:user=rische@localdomain.net:mbox=103999336928419:mss=mxmss
+05:from=<ari@someotherdomain.org>:msgid=<NEBBLMPMBNMFIKKABMDGOEEPDLAA
+.ari@someotherdomain.org>:size=2454:port=5007:fromhost=192.168.10.180
+:localAddr=[192.168.50.100]
-->20030123 002524984-0500 mta2 mta 25955 205 473 Note;MsgTrace(65/26)
+ received from internet:from=<ari@someotherdomain.org>:msgid=<NEBBLMP
+MBNMFIKKABMDGOEEPDLAA.ari@someotherdomain.org>:fromhost=[192.168.10.1
+80]:localAddr=192.168.50.100:msgfile=/usr/imail/spool/control/151/200
+30123052523.MHMQ25955.mta2.localdomain.net@anguilla.alumniconnections
+.com-Control:msgsize=2419:time=1:sender=<ari@someotherdomain.org>:rcp
+ts=<rische@localdomain.net>
- or download this
-->20030123 014536535-0500 mta2 mta 25955 63 717 Note;MsgTrace(65/26)
+bounced:user=baner3@localdomain.net:mbox=103999314773141:mss=mxmss01:
+from=<specials@anotherspamdom.com>:msgid=<20030123064532.OZKU25955.mt
+a2.localdomain.net@mailer72.anotherspamdom.com>:size=10791:port=5007:
+fromhost=192.168.165.72:localAddr=[192.168.50.100]
-->20030123 014536603-0500 mta2 mta 25955 217 408 Note;MsgTrace(65/26)
+ handled by Error-Handler:mss=mxmss01:from=<specials@anotherspamdom.c
+om>:msgid=<20030123064532.OZKU25955.mta2.localdomain.net@mailer72.ano
+therspamdom.com>:size=10750:port=5007:fromhost=192.168.165.72:localAd
+dr=[192.168.50.100]:msgfile=/usr/imail/spool/control/448/200301230645
+32.OZKU25955.mta2.localdomain.net@mailer72.anotherspamdom.com-Control
+:msgid=<20030123064532.OZKU25955.mta2.localdomain.net@mailer72.anothe
+rspamdom.com>
-->20030123 014545048-0500 mta2 mta 25955 423 314 Note;MsgTrace(65/26)
+ received from internet:from=<specials@anotherspamdom.com>:msgid=<200
+30123064532.OZKU25955.mta2.localdomain.net@mailer72.anotherspamdom.co
+m>:fromhost=[192.168.165.72]:localAddr=192.168.50.100:msgfile=/usr/im
+ail/spool/control/448/20030123064532.OZKU25955.mta2.localdomain.net@m
+ailer72.anotherspamdom.com-Control:msgsize=10750:time=13:sender=<spec
+ials@anotherspamdom.com>:rcpts=<bainter3@localdomain.net>
- or download this
#!/usr/bin/perl
...
$by_ips{$from} += $total_c;
}