PARALLAX

cp_mgmt_resource_smtp

Manages resource-smtp objects on Checkpoint over Web Services API through native controller HTTPAPI with owned sessions

Collection: check_point.mgmt

Full Name: check_point.mgmt.cp_mgmt_resource_smtp

Controller module — runs on the local controller, not on remote hosts.

Synopsis

Manages resource-smtp objects on Checkpoint over Web Services API through native controller HTTPAPI with owned sessions

Parameters

NameTypeRequiredDefaultDescription
action_1dictUse the Rewriting Rules to rewrite Sender and Recipient headers in emails, you can also rewrite other email headers by using the custom header field.
action_2dictUse this window to configure mail inspection for the SMTP Resource.
auto_publish_sessionboolfalsePublish this owned session explicitly after the operation; default false.
check_rulebase_with_new_destinationboolThe Rule Base will be rechecked with the new resolved IP address for mail delivery.
colorstrColor of the object. Should be one of existing colors.
commentsstrComments string.
cvpdictConfigure CVP inspection on mail messages.
deliver_messages_using_dns_mx_recordsboolMX record resolving is used to set the destination IP address of the connection.
details_levelstrThe level of detail for some of the fields in the response can vary from showing only the UID value of the object to a fully detailed representation of the object.
error_check_rulebase_with_new_destinationboolThe Rule Base will be rechecked with the new resolved IP address for error mail delivery.
error_deliver_messages_using_dns_mx_recordsboolMX record resolving will be used to set the source IP address of the connection used to send the error message.
error_mail_delivery_serverstrError mail delivery happens if the SMTP security server is unable to deliver the message within the abandon time, and Notify Sender on Error is checked.
exception_trackstrDetermines if an action specified in the Action 2 and CVP categories taken as a result of a resource definition is logged.
ignore_errorsboolApply changes ignoring errors. You won’t be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
ignore_warningsboolApply changes ignoring warnings.
mail_delivery_serverstrSpecify the server to which mail is forwarded.
matchdictSet the Match properties for the SMTP resource.
namestryesObject name.
notify_sender_on_errorboolEnable error mail delivery.
statestrpresentDesired object presence.
tagslistCollection of tag identifiers.
versionstrManagement API version path; omitted uses the default API version.
wait_for_taskbooltrueWait for returned asynchronous task identifiers; default true.
wait_for_task_timeoutint30Polling deadline in minutes; default 30, negative values use 30, maximum 1440.

Example

yaml
- name: add-resource-smtp
  check_point.mgmt.cp_mgmt_resource_smtp:
    deliver_messages_using_dns_mx_records: 'true'
    exception_track: exception log
    mail_delivery_server: deliverServer
    match:
      recipient: recipientName
      sender: senderName
    name: newSmtpResource
    state: present

- name: set-resource-smtp
  check_point.mgmt.cp_mgmt_resource_smtp:
    mail_delivery_server: newServer
    name: newSmtpResource
    state: present

- name: delete-resource-smtp
  check_point.mgmt.cp_mgmt_resource_smtp:
    name: newSmtpResource
    state: absent
Search
    ↑ ↓ move↵ openesc close