on 05/18/2004 12:43 AM, Paul Berkowitz at [EMAIL PROTECTED] wrote: >> I need a condition in it... >> If to: starts with postmaster@ then > > If "to:" starts with postmaster@ ??? Hello? Are you sure you don't mean > "From:"? These are messages sent to you? Could they be TO a postmaster with > you as CC? Sure you don't actually mean "FROM"?
No, I really mean to: Here is the idea, you can spam filter all you want, hwoever, one can not spam filter on postmaster@ or abuse@ since I need to get all those messages, customers will report spam to me, if I were to filter on that, I would be thinking customer email was spam, so I need to get them. I don't want to forward off any messages that ever come to any poastmaster@ account to any honeypot, spamtrop, or otherwise automated system. >> just move the message to "!!!SPAM!!!" > > I thought you wanted it to go to Junk E-mail folder. (We generally don't > have modifiers like "just" in scripting languages, BTW. ;-) Any they always told me applescript is english list :-) > tell application "Microsoft Entourage" > set msgList to current messages > repeat with oneMsg in msgList > if address of address of (first recipient of oneMsg) starts with > "postmaster@" then > move oneMsg to folder id 6 -- this is Junk E-mail folder, named > whatever you like, or else: folder "Junk E--mail" > end if > set theFwd to forward oneMsg to "[EMAIL PROTECTED]" without opening > window > send theFwd with sending later > end repeat > end tell Id 6 implies that I can actually rename this folder, is this possible, I am not seeing how? -- ------------------------------------------------------------- Scott Haneda Tel: 415.898.2602 http://www.newgeo.com Fax: 313.557.5052 [EMAIL PROTECTED] Novato, CA U.S.A. -- To unsubscribe: <mailto:[EMAIL PROTECTED]> archives: <http://www.mail-archive.com/entourage-talk%40lists.letterrip.com/> old-archive: <http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>
