Re: MS Windows users secretly dominating debian-user!

2001-09-21 Thread Colin Watson
On Thu, Sep 20, 2001 at 01:12:33PM +0200, oivvio polite wrote:
 client = msg.getheader(X-Mailer) or  msg.getheader(User-Agent) or 
 unknown

You're missing X-Newsreader - some people use newsreaders, which might
be sending that.

-- 
Colin Watson  [EMAIL PROTECTED]



Re: MS Windows users secretly dominating debian-user!

2001-09-20 Thread Johnny Ernst Nielsen
Tim Moss writes:
 Well then, don't forget to count how many of the Outlook messages were

 sent by viruses and not actual people.

Are you saying viruses can't use Debian?  Wouldn't that violate the DFSG?


Tim said _Outlook_ messages. Since Outlook does not run on Debian, viruses
that need Outlook can not use Debian to spread.
(As long as Outlook is not run under Wine or something like that. I don't
think many people run Outlook on Linux using an emulator/win-API yet.)

Cheers
Johnny :o)



Re: MS Windows users secretly dominating debian-user!

2001-09-20 Thread Tony Crawford
oivvio polite wrote (on 19 Sep 2001 at 11:27):

 Well not exactly dominating. Maybe not secretly either. But it 
sounded
 good. This oneliner from the department of utterly useless info 
tells
 it all: 
 
 agrep ^User-Agent: ,^X-Mailer:  user|perl -ne 'chomp;/.+?: 
(.?.?.?[^\d,\(,\[,\/]{1,14}).*/; $o=$1; $o=~s/ //g;print 
$o\n;'|sort|uniq -dc|sort -rn 

Funny, I'm not in the list, but I can't see where that pipeline 
leaves out those of us with Debian in the first Received 
stamp.

T.
-- 
-- Tony Crawford
-- [EMAIL PROTECTED]
-- +49-3341-30 99 99
-- 



Re: MS Windows users secretly dominating debian-user!

2001-09-20 Thread oivvio polite


Also sprach Nathan E Norman:
 Also, a more fair count would associate senders with user-agents ...
 if I send 100 emails with mutt, and 10 other users send 10 emails each
 with Outlook, which is more popular?  (From a number of users
 standpoint, Outlook should be the answer).  Your script doesn't account
 for this.


How silly of me. Obviously I have been duped by MS agents.

 Yeah, I know it was all for fun :)

For fun? Have you lost mind? Don't you see what THEY are trying to do. 
Obviously you're an MS agent.



New script, counting each sender once. (Couldn't do this in a oneliner. Maybe 
I'm an MS agent.) :

#!/usr/bin/env python2
import mailbox, sys, re, string
 
box = mailbox.UnixMailbox(open(sys.argv[1]))
 
senders = {}
clientscount = {}
clientregexp = re.compile((.+?)[\d,\/,\[,\.,\(].*)
 
 
while 1:
msg = box.next()
if not msg:
break
 
sender = msg.getheader(From)
 
if not senders.has_key(sender):
senders[sender] = 1
client = msg.getheader(X-Mailer) or  msg.getheader(User-Agent) or 
unknown
 
match = clientregexp.match(client)
if match:
client = match.groups()[0]
 
client = string.strip(client)
 
if clientscount.has_key(client):
clientscount[client] =  clientscount[client] + 1
else:
clientscount[client] =  1
 
 
results = [(key, value) for value, key in clientscount.items()]
results.sort()
results.reverse()
 
for result in results:
print result[1], result[0]


Result. Pretty much the same. :
Mutt 667
unknown 518
Mozilla 293
Microsoft Outlook Express 263
KMail 169
Gnus 105
Internet Mail Service 71
Microsoft Outlook IMO 61
Evolution 45
QUALCOMM Windows Eudora Version 38
Sylpheed version 32
Balsa 32
AOL 17
Pegasus Mail for Win 16
Microsoft Outlook 16
WWW-Mail 15
Microsoft Outlook CWS 15
VM 14
exmh version 11
IMP 11
The Bat! 10
ELM 9
SquirrelMail 8
Becky! ver 8
MIME-tools 7
XFMail 6
QUALCOMM Windows Eudora Pro Version 6
Microsoft-Outlook-Express-Macintosh-Edition 6
Forte Agent 6
Web Mail 5
Spruce 5
Mew version 5
Lotus Notes Release 5
Pronto v 4
Novell GroupWise Internet Agent 4
Mulberry 4
Gnus v 4
Windows Eudora Pro Version 3
WebMail 3
TWIG 3
Novell GroupWise 3
Mutt http: 3
EMUmail 3
tin 2
mutt-nntp 2
mailgate 2
emacs 2
Visto Server 2
Turnpike Integrated Version 2
QUALCOMM Windows Eudora Light Version 2
PocoMail 2
Opera 2
Netscape Webmail 2
NeoMail 2
NIMS ModWeb Module 2
Microsoft Outlook Express Macintosh Edition - 2
MailCity Service 2
MSN Explorer 2
InterChange 2
EMIKO 2
CommuniGate Pro Web Mailer v 2
Atlas Mailer 2
Apple Mail 2
ATT Message Center Version 2
slrn 1
nail 1
mutt 1
mPOP Web-Mail 1
internet mail service 1
dMail 1
Windows Eudora Version 1
Windows Eudora Light Version 1
Webmin 1
Wanadoo Webmail 1
WM Professional Edition v 1
Virtual Access by Atlantic Coast PLC 1
Version 1
Unknown 1
Ultrafunk Popcorn release 1
Turnpike 1
TkMail 1
SoftForum-WebMail 1
Sequoia 1
Semi-gnus 1
RMM 1
Postaci 1
Pluto 1
Pan 1
PMMail 1
PHP 1
NMH 1
MyMAIL 1
Mutt- 1
Microsoft-Entourage 1
Microsoft Outlook Express for Macintosh - 1
Microsoft Internet Mail 1
Microsoft Internet E-mail 1
Mailsmith 1
Mailer? 1
MacSOUP 1
Lynx 1
Kaufman Mail Warrior 1
KNode 1
Juno 1
JMail 1
J 1
Interfejs WWW poczty Wirtualnej Polski 1
InMail by Insite - www 1
IMHO 1
Gmail 1
GNU Emacs 1
Forte Agent i 1
Excite Inbox 1
Endymion MailMan Standard Edition v 1
Elm 1
Edsamail 1
Daum Web Mailer 1
DMailWeb Web to Mail Gateway 1
Cronos II 1
CoreCommMail 1
CompuServe 1
Caramail - www 1
Calypso Version 1
CWMail Web to Mail Gateway 1
BeOS Mail 1
AspMail 1
AeroMail 1
IMail v 1
2 1
Alex Hart's Very Own Web Based Email 1
-- 
oivvio polite

cell +46 (0)709 30 40 30 / phone +46 (0)8 669 64 18 / fax +46 (0)8 84 00 18
varvsgatan 10A / s-117 29 stockholm / sweden



Re: MS Windows users secretly dominating debian-user!

2001-09-20 Thread oivvio polite

Also sprach Tony Crawford:
 Funny, I'm not in the list, but I can't see where that pipeline
 leaves out those of us with Debian in the first Received
 stamp.

 T.

Could you elaborate on that? Is there a way of discriminating subscribed 
posters from unsubscribed posters by watching the headers? 

BTW 
  X-mailer: Pegasus Mail for Win32 (v4.0, beta 40)
you're obviusly an MS agent.


-- 
oivvio polite

cell +46 (0)709 30 40 30 / phone +46 (0)8 669 64 18 / fax +46 (0)8 84 00 18
varvsgatan 10A / s-117 29 stockholm / sweden



Re: MS Windows users secretly dominating debian-user!

2001-09-20 Thread John Hasler
I wrote:
 Are you saying viruses can't use Debian?  Wouldn't that violate the DFSG?

Johnny writes:
 Tim said _Outlook_ messages. Since Outlook does not run on Debian, viruses
 that need Outlook can not use Debian to spread.

Well, sure.  Everyone knows that viruses only work on Windows, so of course
they have to use Outlook at work.  They can still use Debian at home,
though :)
-- 
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI



Re: MS Windows users secretly dominating debian-user!

2001-09-20 Thread Petr \[Dingo\] Dvorak
On 20 Sep 2001, John Hasler wrote:

JH I wrote:
JH  Are you saying viruses can't use Debian?  Wouldn't that violate the DFSG?
JH 
JH Johnny writes:
JH  Tim said _Outlook_ messages. Since Outlook does not run on Debian, viruses
JH  that need Outlook can not use Debian to spread.
JH 
JH Well, sure.  Everyone knows that viruses only work on Windows, so of course
JH they have to use Outlook at work.  They can still use Debian at home,
JH though :)

there is whooping number of 5 trojans/viruses [that i know of] that were
written specifically for linux, though none of them worked very well or not at
all :)

Dingo.


  ).|.(
'.'___'.'
   ' '(~)' '
   -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-ooO-=(_)=-Ooo-=-=-=-=-=-=-=-=-=-=-=-=-=-
Petr [Dingo] Dvorak [EMAIL PROTECTED]
Coder - Purple Dragon MUD   pdragon.org port 
   -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-[ 369D93 ]=-=-




MS Windows users secretly dominating debian-user!

2001-09-19 Thread oivvio polite
Well not exactly dominating. Maybe not secretly either. But it sounded good.
This oneliner from the department of utterly useless info tells it all:

agrep ^User-Agent: ,^X-Mailer:  user|perl -ne 'chomp;/.+?: 
(.?.?.?[^\d,\(,\[,\/]{1,14}).*/; $o=$1; $o=~s/ //g;print $o\n;'|sort|uniq 
-dc|sort -rn 

   8032 Mutt
   1531 Mozilla
   1405 MicrosoftOutlook
944 KMail
930 Gnus
524 Evolution
261 QUALCOMMWindows
220 exmhversion
213 Balsa
211 Sylpheedversion
209 InternetMailSer
133 AOL
107 VM
 67 IMP
 52 TheBat!
 51 Prontov
 50 XFMail
 50 WWW-Mail
 31 Spruce
 30 SquirrelMail
 26 ELM
 25 WebMail
 25 Becky!ver.
 22 NovellGroupWise
 22 Mutthttp:
 21 VirtualAccessby
 20 Elm
 17 ForteAgent
 17 Edsamail
 15 Microsoft-Outlook
 14 tin
 14 Mutt-
 14 LotusNotesRelea
 14 DMailWebWebtoM
 14 CronosII
 12 SEMI
 12 GNUEmacs
 11 Mewversion
 10 mutt
 10 mailgate
 10 Unknown
  9 VistoServer
  9 Visto
  9 PMMail
  9 Mailsmith
  9 KNode
  9 JAWmail
  8 MIME-tools
  8 Gnusv
  7 WindowsEudoraLi
  7 Mulberry
  7 MH
  6 mutt-nntp
  6 mPOPWeb-Mail
  6 dMail
  6 CalypsoVersion
  5 nail
  5 WindowsEudoraPr
  5 TurnpikeIntegrat
  5 TkMail
  5 RMM
  5 AtlasMailer
  5 21.
  5 AlexHart'sVery
  5
  4 emacs
  4 TWIG
  4 Opera
  4 MailCityService
  4 EMIKO
  4 AppleMail
  3 Pluto
  3 PHP
  3 NeoMail
  3 NIMSModWebModul
  3 MicrosoftInterne
  3 MacSOUP
  3 EMUmail
  3 CommuniGateProW
  3 Becky!ver
  2 slrn
  2 dtmail
  2 Webmin
  2 UltrafunkPopcorn
  2 Turnpike
  2 SoftForum-WebMail
  2 Postaci
  2 PocoMail
  2 Pan
  2 NetscapeWebmail
  2 Mailer?
  2 MSNExplorer
  2 Lynx
  2 JMail
  2 InterChange
  2 InMailbyInsite
  2 Gmail
  2 ATTMessageCent
  2 IMailv
-- 
oivvio polite

cell +46 (0)709 30 40 30 / phone +46 (0)8 669 64 18 / fax +46 (0)8 84 00 18
varvsgatan 10A / s-117 29 stockholm / sweden



Re: MS Windows users secretly dominating debian-user!

2001-09-19 Thread Romain Lerallut
Thus spake oivvio polite on Wed, Sep 19, 2001 at 11:27:27AM +0200:
 Well not exactly dominating. Maybe not secretly either. But it sounded good.
 This oneliner from the department of utterly useless info tells it all:
lol !
Somebody's overdosing on SlashDot :-)


Romain


-- 
If you're going to define a shortcut, then make it the base [sic] darn
shortcut you can.
 -- Larry Wall in [EMAIL PROTECTED]



Re: MS Windows users secretly dominating debian-user!

2001-09-19 Thread DvB
oivvio polite [EMAIL PROTECTED] writes:

 Well not exactly dominating. Maybe not secretly either. But it sounded good.
 This oneliner from the department of utterly useless info tells it all:
 
 agrep ^User-Agent: ,^X-Mailer:  user|perl -ne 'chomp;/.+?: 
 (.?.?.?[^\d,\(,\[,\/]{1,14}).*/; $o=$1; $o=~s/ //g;print $o\n;'|sort|uniq 
 -dc|sort -rn 
 

I believe you can find Pine users by looking at the MessageID (Pine
doesn't appear to set X-Mailer or User-Agent).



Re: MS Windows users secretly dominating debian-user!

2001-09-19 Thread Nathan E Norman
On Wed, Sep 19, 2001 at 09:01:45AM -0500, DvB wrote:
 oivvio polite [EMAIL PROTECTED] writes:
 
  Well not exactly dominating. Maybe not secretly either. But it sounded good.
  This oneliner from the department of utterly useless info tells it all:
  
  agrep ^User-Agent: ,^X-Mailer:  user|perl -ne 'chomp;/.+?: 
  (.?.?.?[^\d,\(,\[,\/]{1,14}).*/; $o=$1; $o=~s/ //g;print $o\n;'|sort|uniq 
  -dc|sort -rn 
  
 
 I believe you can find Pine users by looking at the MessageID (Pine
 doesn't appear to set X-Mailer or User-Agent).

Also, a more fair count would associate senders with user-agents ...
if I send 100 emails with mutt, and 10 other users send 10 emails each
with Outlook, which is more popular?  (From a number of users
standpoint, Outlook should be the answer).  Your script doesn't account
for this.

Yeah, I know it was all for fun :)

-- 
Nathan Norman - Staff Engineer | A good plan today is better
Micromuse Ltd. | than a perfect plan tomorrow.
mailto:[EMAIL PROTECTED]   |   -- Patton


pgpbCimzlkLTH.pgp
Description: PGP signature


Re: MS Windows users secretly dominating debian-user!

2001-09-19 Thread Tim Moss

Also, a more fair count would associate senders with user-agents ...
if I send 100 emails with mutt, and 10 other users send 10 emails each
with Outlook, which is more popular?  (From a number of users
standpoint, Outlook should be the answer).  Your script doesn't account
for this.



Well then, don't forget to count how many of the Outlook messages were 
sent by viruses and not actual people.




Re: MS Windows users secretly dominating debian-user!

2001-09-19 Thread Mike Pfleger
* Tim Moss ([EMAIL PROTECTED]) wrote:
SNIP
 Well then, don't forget to count how many of the Outlook messages were 
 sent by viruses and not actual people.

That'd be what, about 90%?  ;)
(couldn't resist...)

Mike Pfleger

There's seventy brilliant people on earth.
Where are they hiding?
Yashar -Cabaret Voltaire (off of 2x45)



Re: MS Windows users secretly dominating debian-user!

2001-09-19 Thread John Hasler
Tim Moss writes:
 Well then, don't forget to count how many of the Outlook messages were
 sent by viruses and not actual people.

Are you saying viruses can't use Debian?  Wouldn't that violate the DFSG?
-- 
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin