-- Downloaded From: http://c-command.com/scripts/spamsieve/entourage-whitelist-domains -- Last Modified: 2007-08-17 tell application "Microsoft Entourage" set msgs to current messages repeat with m in msgs set a to address of m's sender set d to text (offset of "@" in a) through -1 of a tell application "SpamSieve" tell whitelist make rule with properties {text to match:d, match style:ends with style, match field:from field} end tell end tell end repeat end tell