Cisco Cisco Email Security Appliance C370 Technical References

Page of 326
 
3-40
CLI Reference Guide for AsyncOS 9.8 for Cisco Email Security Appliances
 
Chapter 3      The Commands: Reference Examples
  Domain Keys
Export signing keys from the appliance:
Delete all signing keys on the appliance:
Batch Format - Search for a Key or Profile
Search for a profile signing key:
Batch Format - Global Settings
Modify global settings for Domain Keys/DKIM on your appliance:
The option available is:
--sign_generated_msgs
 - Specify whether to sign system-generated messages. Possible values 
are 
yes
 or 
no
.
Example: Configuring Domain Keys via the CLI
Use the 
domainkeysconfig
 command in the CLI to configure Domain Keys on your appliance. 
The 
domainkeysconfig
 command has all of the features of the Mail Policies -> Domain Keys page. It 
also provides the ability to generate a sample Domain Keys DNS TXT record. For more information 
about generating sample Domain Keys DNS TXT records, see 
In this example, a key is generated, and a domain profile is created:
mail3.example.com> domainkeysconfig
Number of DK/DKIM Signing Profiles: 0
Number of Signing Keys: 0
Number of DKIM Verification Profiles: 1
Sign System-Generated Messages: Yes
Choose the operation you want to perform:
- PROFILES - Manage domain profiles.
- KEYS - Manage signing keys.
- SETUP - Change global settings.
- SEARCH - Search for domain profile or key.
[]> keys
No signing keys are defined.
Choose the operation you want to perform:
- NEW - Create a new signing key.
domainkeysconfig keys export <filename>
domainkeysconfig keys clear
domainkeysconfig search <search_text>
domainkeysconfig setup <setup_options>