list
sw email list sw email listdomain sw email listdomains
List domains registered in the email system and their associated system user.
listuser
sw email listuser sw email listusers
List all email accounts.
add
sw email add sw email create sw email add user@example.com
Create a new email address. The commands ‘add’ and ‘create’ can be used interchangeably.
setpass
sw email setpass sw email setpassword sw email setpass user@example.com
Change an email password. You will be prompted for the email address and new password; do not enter passwords in the command. Changes will take effect immediately.
checkpass
sw email checkpass sw email checkpassword sw email checkpass user@example.com
Test an email password to see if it is correct. You will be prompted for the email address if not already given and then the password. Do not enter the password in the command.
setdomain
sw email setdomain sw email setdomain user@example.com sw email setdomain user@example.com unix_user
Associate a domain with a system user in the email system.
unsetdomain
sw email unsetdomain sw email unsetdomain example.com
Remove a domain from the email system.
delete
sw email delete sw email remove sw email delete user@example.com sw email delete user@example.com dropfiles
Remove an email account from the email system. If the dropfiles argument is passed, all files for the email account including all messages and filters will be permanently deleted.
dkim
sw email dkim sw email dkim example.com
Create a new DKIM key pair and install them. It updates the DNS for the domain and pushes the key to EXIM for use in email cryptographic signatures. If you host DNS elsewhere, the public key but be copied from SiteWranger’s zone file file to your public DNS server.
sastatus
sw email sastatus sw email sastatus example.com sw email sastatus user@example.com
Check if SpamAssassin is enabled for a domain or email address.
enablesa
sw email enablesa sw email enablesa example.com sw email enablesa user@example.com
Enable SpamAssassin for a domain or email address.
disablesa
sw email disablesa sw email disablesa example.com sw email disablesa user@example.com
Disable SpamAssassin for a domain or email address.
status
sw email status
Get the status of all mail-related system services.