Using grey_listing
utility, you can manage the Mail Greylisting
service which provides smart spam protecting mechanism.
This utility performs the following tasks:
- enabling/disabling greylisting service on the server and particular
domains - setting up/retrieving server-wide greylisting configuration:
- allowed/prohibited custom user configurations of greylisting
- enabled/disabled penalties
- grey, expiration and/or penalty intervals
- black/white list of mail addresses (defined by patterns) and
domains
- setting up/retrieving status of greylisting service on domain
- setting up/retrieving mail user’s black/white lists of mail addresses
(defined by patterns)
Usage
grey_listing <command> [mail-address|domain-name] [
<option_1> [<param>]
[<option_2> [<param>]]
... [<option_N> [<param>]]
Example
The following command enables greylisting service on the server, and
sets it up so that custom mailname-level configurations are applied;
penalties are enabled; grey interval is 8 minutes, expire interval is
40 days, and penalty interval is 5 minutes; domains example.com
and sample.net are in the server white list, and all e-mail addresses
containing “instant” are in black list:
plesk bin grey_listing --update-server -status on -personal-conf true -penalty-status true -grey-interval 8 -expire-interval 57600 -penalty-interval 5 -domains-whitelist add:example.com,sample.net -blacklist add:*instant*@*
Commands
Command | Parameter | Description | Example |
---|---|---|---|
--update-mailname or -um |
<mail@domain> |
Updates the greylisting configuration for a specified mail user. |
To add all mail addresses registered on the domain ietf.org plesk bin grey_listing -um [email protected] -whitelist add:*@ietf.org |
…