Re: Eudora Help, Please
Re: Eudora Help, Please
- Subject: Re: Eudora Help, Please
- From: Bill Briggs <email@hidden>
- Date: Sat, 12 Jul 2003 18:09:42 -0300
Before spending a lot of time on an AppleScript to do what you are
asking (which may be solving a meta problem, not the REAL problem),
what, exactly, are you trying to achieve? Are you trying to get the
offending IPs to be able to do something by way of taking action
against the offenders? Or are you just trying to set up filter
criteria to eliminate spam?
If you're trying to trap and filter spam with Eudora, there's a more
effective way that is easier to implement and catches absolutely
everything that is spam. You will have to scan the spam folder for
legit messages as it still catches the odd one every now and then,
but it's absolutely relentless about getting spam. If spam trapping
is what you want then contact me off list and I'll provide details.
We don't need to bore the list with Eudora filter stuff.
- web
At 11:16 AM -0700 12/07/03, Marconi wrote:
I'm trying to identify the biggest sources of spam I receive and I'm
thinking that the "Received: from" headers can help. In my spam
mailbox, I'd like to be able to select a group of emails and then
invoke a script to do the following:
open a blank, text document ('New Text Document' from the File menu)
for each selected email...
push the blah-blah button "set show all headers to true" (if
necessary to be able to copy header info);
open the email, if necessary;
look for all lines beginning with "Received: from" and copy those
entire lines;
paste the Received: from lines into the text document (followed by
a newline)
close the spam email
I can then save the text document and use BBEdit to clean it up,
leaving only the IP addresses of the Received: from servers. The
most frequently appearing IPs will get some special attention.
The following is not a real script. The syntax is wrong and I don't
even know if a script can open a new text document. I can't even
figure out how to get a count of messages in the selection so the
script knows how many times to do the repeat loop.
tell application "Eudora"
open a text document
set spamlist to selection
set HowMany to count of messages in spamlist
repeat with thismessage from 1 to HowMany
set show all headers to true
set ReceivedLine to text of (get field "Received: from")
Paste ReceivedLine into text document -- followed by a newline
end repeat -- move on to next message
end tell
I hope it's clear what I'm trying to do... Can anyone guide me to
the correct syntax?
Eudora 5.2.1 on OSX 10.2.6.
--
"A man who believes in nothing will fall for anything." -- Malcolm X
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.