Copy Whitelist Addresses
Summary: Copies the addresses of enabled “From (address)” whitelist rules to the clipboard.
Requires: SpamSieve
Description
This script copies the addresses of enabled “From (address)” whitelist rules to the clipboard. This is useful, e.g. if you want to add the addresses to a server-side whitelist.
Download in Compiled Format | Download in Text Format
Script
tell application "SpamSieve"
tell whitelist
set theAddresses to text to match of every rule whose match field is from field and isEnabled is true
set AppleScript's text item delimiters to return
set theString to theAddresses as string
set the clipboard to theString
end tell
end tell