Re: Dreadfully plonking Wifi question
- From: Tim Auton <tim.auton@xxxxxxxxxxxxxxxxx>
- Date: Fri, 4 May 2007 15:39:09 +0100
Tim Auton <tim.auton@xxxxxxxxxxxxxxxxx> wrote:
PeterD <pd.news@xxxxxxxxxxxxxxxxx> wrote:
Tim Auton <tim.auton@xxxxxxxxxxxxxxxxx> wrote:
I'm working on a script to extract all the addresses I've used from
Mail; I can let you have a copy if you'd find it useful.
I spoke too soon. I want to do what you're doing with Mail, to Eudora
mailboxes. I think this is a 'simple' text file process to extract all
chunks of text that start with < or space, followed by anylengthstring
ending in @mydomain.com and append said chunk to a text file. I can make
a unique list, but I'm sure there's a nixy command to uniquefy the list
too.
The uk2 servers add a "Received:" header which includes the
foo@xxxxxxxxxxxxxxxxxx bit that we're after, even for messages where
that may not be obvious after redirection (mailing lists, for example),
so I look at that as well as some other headers.
This one-liner was as far as I got in bash:
[monstrosity removed]
Or just, erm, use grep. Obviously.
Tim
.
- Follow-Ups:
- Re: Dreadfully plonking Wifi question
- From: PeterD
- Re: Dreadfully plonking Wifi question
- References:
- Re: Dreadfully plonking Wifi question
- From: PeterD
- Re: Dreadfully plonking Wifi question
- From: Tim Auton
- Re: Dreadfully plonking Wifi question
- From: PeterD
- Re: Dreadfully plonking Wifi question
- From: Tim Auton
- Re: Dreadfully plonking Wifi question
- Prev by Date: Re: Port forwarding to two machines?
- Next by Date: Re: White MacBook Case Discolouration
- Previous by thread: Re: Dreadfully plonking Wifi question
- Next by thread: Re: Dreadfully plonking Wifi question
- Index(es):
Relevant Pages
|