RE: Mail: routing and re-routing - difference?
RE: Mail: routing and re-routing - difference?
- Subject: RE: Mail: routing and re-routing - difference?
- From: fortepianissimo <email@hidden>
- Date: Tue, 18 Nov 2003 22:11:57 -0800 (PST)
[LONG message]
Ok so it turns out there're some other bugs in my script - being a
first-time AppleScript user, I used 'result' to name one of the
variable! I've since corrected the error, but still having some other
problems.
Firstly here is my script to use with Mail.app (regexp junk matching,
IP-based matching, etc.):
http://www.cs.cmu.edu/~benhdj/Mac/junkMatcher.html
I'd like to invite anyone interested to take a look at the code and see
why there is this problem I'll describe below:
After adding the rule for the script in Mail.app, I found some incoming
junk mails, which should've been moved to the junk mailbox, is still in
inbox - but they all have exactly same copies in the junk mailbox! If I
manually select them and "apply rules" they'll be moved right away into
Junk mailbox.
There're 2 possibilities:
1. somehow when "move msg to junk mailbox", the original copy is left
in the inbox
2. there're really two SAME copies of incoming messages (sharing the
same message IDs - I use them as part of the name of the temporary
files, serving as communication channel between shell script and
AppleScript), and some file race condition is involved here.
I kind of doubt it's the second case - the chance is just too low for
that to happen like what I observed.
Can anyone help? Thanks.
__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
_______________________________________________
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.