anti-spam (Security Content Security Policy)
Syntax
anti-spam { smtp-profile profile-name; }
Hierarchy Level
[edit security utm default-configuration] [edit security utm utm-policy policy-name] [edit logical-systems logical-system-name security utm utm-policy policy-name] [edit tenants tenant-name security utm utm-policy policy-name]
Description
Configures a Content Security policy for the antispam SMTP protocol and attach this policy to a security profile to implement it. The device can block and drop detected spam at either the connection level or the e-mail level. When the SMTP sender is identified as a spam sender based on its IP address, the SMTP connection is rejected and dropped. When a particular e-mail sender is identified as spam sender based on its sender address, the e-mail is rejected and dropped.
Options
The statements are explained separately. See CLI Explorer.
Required Privilege Level
security—To view this statement in the configuration.
security-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 9.5.
The [edit security utm default-configuration]
hierarchy
level is introduced in Junos OS Release 18.2R1.
Support for configuration in logical systems introduced in Junos OS Release 18.3R1.
Support for configuration in tenant systems introduced in Junos OS Release 19.2R1.