PARALLAX

cp_mgmt_smtp_server

Manages smtp-server 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_smtp_server

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

Synopsis

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

Parameters

NameTypeRequiredDefaultDescription
authenticationboolDoes the mail server requires authentication.
auto_publish_sessionboolfalsePublish this owned session explicitly after the operation; default false.
colorstrColor of the object. Should be one of existing colors.
commentsstrComments string.
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.
domains_to_processlistIndicates which domains to process the commands on. It cannot be used with the details-level full, must be run from the System Domain only and with ignore-warnings true. Valid values are, CURRENT_DOMAIN, ALL_DOMAINS_ON_THIS_SERVER.
encryptionstrEncryption type.
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.
namestryesObject name.
passwordstrA password for the SMTP server.
portintThe SMTP port to use.
serverstrThe SMTP server address.
statestrpresentDesired object presence.
tagslistCollection of tag identifiers.
usernamestrA username for the SMTP server.
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-smtp-server
  check_point.mgmt.cp_mgmt_smtp_server:
    encryption: none
    name: SMTP1
    port: '25'
    server: smtp.example.com
    state: present

- name: set-smtp-server
  check_point.mgmt.cp_mgmt_smtp_server:
    name: SMTP
    port: '25'
    server: smtp.example.com
    state: present

- name: delete-smtp-server
  check_point.mgmt.cp_mgmt_smtp_server:
    name: SMTP
    state: absent
Search
    ↑ ↓ move↵ openesc close