Cisco Cisco Email Security Appliance C160 Références techniques

Page de 325
 
3-42
CLI Reference Guide for AsyncOS 9.7 for Cisco Email Security Appliances
 
Chapter 3      The Commands: Reference Examples
  Domain Keys
--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.
- IMPORT - Import signing keys from a file.
[]> new
Enter a name for this signing key:
[]> testkey
1. Generate a private key
2. Enter an existing key
[1]>
Enter the size (in bits) of this signing key:
1. 512
2. 768
3. 1024
4. 1536
5. 2048
[3]>
New key "testkey" created.
There are currently 1 signing keys defined.
Choose the operation you want to perform:
- NEW - Create a new signing key.
- EDIT - Modify a signing key.
- PUBLICKEY - Create a publickey from a signing key.
- DELETE - Delete a signing key.
- PRINT - Display signing keys.
- LIST - List signing keys.