Re: Echelon

2000-01-06 Thread Antti-Juhani Kaijanaho
On Wed, Jan 05, 2000 at 11:43:49AM -0700, Jason Gunthorpe wrote: > It does not decode quoted addresses like: > > Lista Debian =?iso-8859-1?Q?Espa=F1ol?= > The standard library includes MIME decoding code (don't remember now what it's called, but it's listed in the docs). -- Antti-Juhani Ka

Decoding MIME From headers (was Re: Echelon)

2000-01-06 Thread Chris Lawrence
On Jan 05, Jason Gunthorpe wrote: > It does not decode quoted addresses like: > > Lista Debian =?iso-8859-1?Q?Espa=F1ol?= > Here's a somewhat ugly solution to this problem; you'll need GNU recode installed: #!/usr/bin/python import popen2, re, string commentpart = 'Lista Debian =?iso-8859-1

Re: Echelon

2000-01-05 Thread Jason Gunthorpe
On Wed, 5 Jan 2000, Antti-Juhani Kaijanaho wrote: > I'm not sure what you mean by "the various alternate locals" but > the standard rfc822 module (AddressList class) seems to do what you need. > > See: http://www.python.org/doc/current/lib/module-rfc822.html > > Or is it somehow deficient? It

Re: Echelon

2000-01-05 Thread Antti-Juhani Kaijanaho
> As an aside, does anyone here have a python routine for properly > splitting up a From: header, accounting for all the styles of seperating > the name from address and the various alternate locals? I'm not sure what you mean by "the various alternate locals" but the standard rfc822 module (Addr

Re: Echelon

2000-01-04 Thread Joey Hess
Jason Gunthorpe wrote: > As an aside, does anyone here have a python routine for properly splitting > up a From: header, accounting for all the styles of seperating the name > from address and the various alternate locals? Hm, I have a PCRE regexp that can match any rfc-822 address, and you could

Re: Echelon

2000-01-03 Thread Hamish Moffatt
On Mon, Jan 03, 2000 at 01:44:35AM -0700, Jason Gunthorpe wrote: > Some of you may recall I mentioned some time ago that I hoped to have a > means of finding developers that may have left us, and today I put it > online! The system is called Echelon (NSA calls theirs that, so can we!

Echelon

2000-01-03 Thread Jason Gunthorpe
Hi all, Some of you may recall I mentioned some time ago that I hoped to have a means of finding developers that may have left us, and today I put it online! The system is called Echelon (NSA calls theirs that, so can we!) and how it works is by passively monitoring all mailing list traffic and