Edit: /opt/dedrads/__pycache__/mail_sources.cpython-313.pyc (9969B)
}j S r SSKrSSKrSSKrSSKrSSKrSSKrSSKJr SSK J
r
SrSrSS jr
SS jrSS jrS
rS rS r\S
:X a \" 5 gg)z4List sources of email sent by address and directory. N)defaultdict)ArgumentParserzDaniel Kzdanielk@inmotionhosting.comc # # / nU ( a [ R " S5 nU Hv n[ R R U5 ( d$ [ SU 35 [
R " S5 [ R " US5 n U Sh vN SSS5 Mx Sn[ R R U5 ( d$ [ SU 35 [
R " S5 [ US S
9 n U Sh vN SSS5 g Ny! [ a1 n[ SU SU 35 [
R " S5 SnANSnAff = f! , ( d f GM3 = f N`! [ a' [ SU 35 [
R " S5 N[ a0 n[ SU S
35 [ U 5 [ S5 SnANSnAff = f! , ( d f g= f7f)z$Return iterable over email log linesz/var/log/exim_mainlog?*zCould not find log file: rNError reading file '': z/var/log/exim_mainlogutf-8encodingzError reading file zReceived decoding error for :z
continuing...)globospathexistsprintsysexitgzipopenOSErrorUnicodeDecodeError)all_logslog_listlog_filemail_logerrores /opt/dedrads/mail_sources.pyemail_linesr sz H9967 H77>>(++1(<=8S)X ''' *)
! 'H
77>>(##
)(45
h )X #
* ) ( 0
#eWEFHHQKK *)
'z23HHQK! #0
!<=QCM/"" #
* )s BGED
DD A G2G4E9E:E> GD
E'D?:E?EE
E GE.G
G G&G