ec_dkim_ctl

March 26, 2020 Contributors

Name

ec_dkim_ctl — manipulate the DK/DKIM database

Synopsis

/opt/msys/ecelerity/bin/ec_dkim_ctl [ –add-dk domain,selector,keyfile ]

/opt/msys/ecelerity/bin/ec_dkim_ctl [ –add-dkim domain,selector,keyfile ]

/opt/msys/ecelerity/bin/ec_dkim_ctl [ –delete-dk domain ]

/opt/msys/ecelerity/bin/ec_dkim_ctl [ –delete-dkim domain ]

/opt/msys/ecelerity/bin/ec_dkim_ctl [ -h ]

/opt/msys/ecelerity/bin/ec_dkim_ctl [ –list ]

Note

When adding a domain, use commas to separate values.

Description

ec_dkim_ctl is used to manipulate a small SQLite database that can be used in conjunction with the DK and DKIM actions for signing e-mail messages. If the database does not already exist, adding a domain creates the dkim_db database in the /var/log/ecelerity directory. Its schema is as follows:

CREATE TABLE ec_dkim_conf (
  domain varchar(255) PRIMARY KEY,
  selector varchar(255) NOT NULL,
  keyfile varchar(255))

CREATE TABLE ec_dk_conf (
  domain varchar(255) PRIMARY KEY,
  selector varchar(255) NOT NULL,
  keyfile varchar(255))

This command has the following options:

–add-dk domain,selector,keyfile

Add a domain to the DomainKeys table with the defined selector and keyfile. The keyfile option may be empty.

–delete-dk domain

Delete a domain from the DomainKeys table.

–add-dkim domain,selector,keyfile

Add a domain to the DKIM table with the defined selector and keyfile. The keyfile option may be empty.

–delete-dkim domain

Delete a domain from the DKIM table

-h

Show a help message.

–list

List the domains in the DK and DKIM tables.

–version or -V

Show version information.

See Also

Using Yahoo! DomainKeys , Chapter 23, Using DomainKeys Identified Mail (DKIM) Signatures