spasmwl(1)

NAME
spasmwl - spasm whitelist editor

SYNOPSIS
spasmwl [-h] [-a|-d|-l] [-e entry] [-u [username@]domain.com]

DESCRIPTION
spasmwl adds and deletes whitelist entries as used by spasmd. When run from the command line by non-privileged users, it uses their account name as listed in the passwd file, appending the server's domain name, as the whitelist database to/from which the entry should be added/deleted. If an entry is not specified on the command line, it prompts for the whitelist entry to be added/deleted.

Entries to be added may be envelope sender addresses, server IP addresses, or server hostnames, as follows:

myfriend@mail.domain.com
    Envelope sender, exact matches only

10.9.8.7
    IP address of server, exact match

10.9.8
    IP address of server, matches 10.9.8.*

10.9
    IP address of server, matches 10.9.*.*

10  IP address of server, matches 10.*.*.*

server.domain.com
    Server hostname, matches any hostname ending in server.domain.com

domain.com
    Server hostname, matches any hostname ending in domain.com

When run from the command line by the superuser, it prompts for the whitelist database to use if not specified with -u. The database may be specified as an individual database with "username@domain.com" or as a default domain whitelist with "domain.com".

OPTIONS

-h  Show help summary.

-a  Add a whitelist entry.

-d  Delete a whitelist entry.

-l  List whitelist entries.

-e entry
    Whitelist entry to add/delete.

-u [username@]domain.com
    Username and/or domain to use for adding/deleting entries (SUPERUSER ONLY).

SEE ALSO
spasmbl(1), spasmdb(1), spasmtrap(1), spasmd(1).

BUGS
Not that I know of. ;)