Deleting rules from a blocked list using the CLI

Prev Next

Use the CLI commands in this topic to delete rules from a blocked list using the CLI.

To delete rules from a blocked list:
  1. Go to CLI configuration mode.

    hostname > enable
    hostname # configure terminal
  2. Specify the type of rule to delete from a blocked list.

    • To delete the block policy rule based on the email address of the sender:

      hostname (config) # no email-analysis blocked-list sender-email-address <email_address>
    • To delete the block policy rule based on the domain of the sender:

      hostname (config) # no email-analysis blocked-list sender-domain <domain_name>
    • To delete the block policy rule based on the IP address of the sender:

      hostname (config) # no email-analysis blocked-list sender-ip <IP_address>
    • To delete the block policy rule based on the URL:

      hostname (config) # no email-analysis blocked-list url <URL>
    • To delete the block policy rule based on the MD5 checksum attachment:

      hostname (config) # no email-analysis blocked-list md5sum <MD5_checksum_attachment>
  3. Save your changes.

    hostname (config) # write memory

Examples

  • This example deletes the email address of the sender from a blocked list:

    hostname (config) # no email-analysis blocked-list sender-email-address admin1920@yahoo\.com
  • This example deletes the domain of the sender from a blocked list:

    hostname (config) # no email-analysis blocked-list sender-domain nodomain\.net
  • This example deletes the IP address of the sender from a blocked list:

    hostname (config) # no email-analysis blocked-list sender-ip 44\.33\.22\.11
  • This example deletes the URL from a blocked list:

    hostname (config) # no email-analysis blocked-list url http://www.mai-tumai.com
  • This example deletes the MD5 checksum attachment from a blocked list:

    hostname (config) # no email-analysis blocked-list md5sum 227bc609651f929e367c3b2b79e09d5b