...
Code Block | ||
---|---|---|
| ||
{ "getUserWhiteListResponse": [ "*@*.whitelisted.com", "*@marvel.com", "tomas.tornevall@second.domain.com" ] } |
Available syntax
VERB | PARAMETERS | DESCRIPTION | RETURNS | |||||
---|---|---|---|---|---|---|---|---|
getUserWhiteList | Returns user chosen whitelist | |||||||
getGlobalWhiteList | - | Returns globally whitelisted domains and mail addresses (that is whitelisted regardless of receiving email address) | The behaviour in this response is based on that some senders is using something like contract@invoice.company.com and employee@company.com depending on what's being sent. To not miss one of them, they always are set up in pairs. If eff.org is whitelisted, the response will contain one *@*.eff.org and one *@eff.org
| |||||
getGlobalBlackListSender | - | Global blacklist | Example
| |||||
setGlobalWhitelistHost | host | Set hostname/domain name as whitelisted in the global region | true/false/exception | |||||
delGlobalWhitelistHost | host | Removes hostname/domainname in the global whitelist | true/false/exception | |||||
verifyAccount | email password | Verify an email account that it actually has access (used by TorneAUTH to verify that users owns the account before configuring it). To protect user login information we prefer to test the email address rather than the username. | true/false/exception | |||||
setAddressWhiteList | email - |
Receiver emailmask - |
Sender | Set up hostnames and senders to be whitelisted for a specific mail address (with or without wildcards). Emailmask can be *@*.domain.com, full.email@address.com, etc | true/false/exception |
removeAddressWhiteList | email - |
Receiver emailmask - |
Sender | Remove hostname or sender that was before whitelisted for a specific mail address | true/false/exception | ||||||||||||||||||||
getSpamAssassinOptions | Get current configuration for a specific email address | Current settings, current defaults, info about which of the preferences that is strict (meaning preferences that is only globally configurable).
Example
| ||||||||||||||||||||
updateSpamAssassinOption | email preference value | Updates spamassassin options for a specific email address | true/false/exception |