The chainmailctl utility is part of the chainmail package and allows one to send certain commands to the running chainmail program. Its invocation syntax is as follows:
chainmailctl [options] command
The supported commands are:
reload - this command causes chainmail to re-read its configuration file. Useful when you have modified the configuration file and want the changes to take effect without restarting chainmail.
reopenlog - this command causes chainmail to re-open its log file (when logging to a file rather then syslog). This is useful after log has been rotated by a tool such as logrotate.
The supported options are:
--socket=filename or -s filename - specifies the name of the chainmail control socket. You need to specify this option if you've given a non-default value to the ControlSocketPath option in the chainmail configuration file (see the section called “Options”).
--help or -h - display a brief help message.