fortimail

FortiMail is a comprehensive email security solution by Fortinet, offering advanced threat protection, data loss prevention, encryption, and email authentication to safeguard organizations against email-based cyber threats and protect sensitive information.

Network Security · Fortimail

Configuration parameters

  • url — Server URL (required)
  • credentials — Account username (required)
  • proxy — Use system proxy settings
  • insecure — Trust any certificate (not secure)

Commands (48)

  • fortimail-access-control-create

    Create an Access control rule. Access control rules take effect after the FortiMail unit has initiated or received an IP and TCP-level connection at the application layer of the network.

  • fortimail-access-control-delete

    Delete an access control rule.

  • fortimail-access-control-list

    List access control rules. If an ID is given, the command will return the information about the specific access control rule.

  • fortimail-access-control-move

    Move an access control rule location in the rules list. FortiMail units match the policies in sequence, from the top of the list downwards. Therefore, you must put the more specific policies on top of the more generic ones.

  • fortimail-access-control-update

    Update an access control.

  • fortimail-antispam-profile-list

    List AntiSpam profiles. Antispam profiles are sets of anti-spam scans that you can apply by selecting one in a policy. If a name is given, the command will return the information about the specified AntiSpam profile. Mainly used in the configuration of IP policy..

  • fortimail-antivirus-profile-list

    List AntiVirus profiles. If the FortiMail unit detects a virus, it will take actions defined in the antivirus action profiles. If a name is given, the command will return the information about the specified AntiVirus profile. Mainly used in the configuration of IP policy.

  • fortimail-content-profile-list

    List content profiles. Content profiles enable matching emails based upon its subject line, message body, and attachments. If a name is given, the command will return the information about the specified content profile. Mainly used in the configuration of IP policy.

  • fortimail-email-group-create

    Create an email group. An email group is a container for a list of email addresses, allowing you to use it in configuring access control rules (for defining the sender and recipient matching) and recipient-based policies (for defining MAIL FROM addresses matching specific policies).

  • fortimail-email-group-delete

    Delete an email group.

  • fortimail-email-group-list

    List email groups. If a name is given, the command will return the information about the specified email group.

  • fortimail-email-group-member-add

    Add an email group member (email address) to an email group.

  • fortimail-email-group-member-delete

    Delete an email group member from an email group.

  • fortimail-email-group-member-list

    List email group members. If an email is given, the command will return the information about the specified email group member.

  • fortimail-email-group-member-replace

    Replace email group members with new members. This command overwrites all the email group members that were defined in the email group.

  • fortimail-email-group-update

    Update the comment of an email group.

  • fortimail-geoip-group-list

    List GeoIP groups. FortiMail utilizes the GeoIP database to map the geo locations of client IP addresses. You can use GeoIP groups in access control rules and IP-based policies to geo-targeting spam and virus devices. If a name is given, the command will return the information about the specified GeoIP profile. Mainly used in the configuration of access control rule and the IP policy.

  • fortimail-imap-auth-profile-list

    List IMAP authentication profiles. If a name is given, the command will return the information about the specified IMAP authentication profile. Mainly used in the configuration of IP policy.

  • fortimail-ip-group-create

    Create an IP group. IP group is a container that contains members of IP addresses that can be used when configuring access control rules (define the source IP group of the SMTP client attempting to send the email message) and IP-based policies (define the IP group of the SMTP source/destination to which the policy applies).

  • fortimail-ip-group-delete

    Delete an IP group.

  • fortimail-ip-group-list

    List IP groups. If a name is given, the command will return the information about the specified IP group.

  • fortimail-ip-group-member-add

    Add an IP group member (IP/Netmask or IP range) to an IP group. An IP group member is an IP address that can be used when configuring access control rules (define the source IP group of the SMTP client attempting to send the email message) and IP-based policies (define the IP group of the SMTP source/destination to which the policy applies).

  • fortimail-ip-group-member-delete

    Delete an IP group member from IP group.

  • fortimail-ip-group-member-list

    List IP group members. If an IP is given, the command will return the information about the specified IP group member.

  • fortimail-ip-group-member-replace

    Replace IP group members with new members. This command overwrites all the IP group members that were defined in the IP group.

  • fortimail-ip-group-update

    Update the comment of an IP group.

  • fortimail-ip-policy-create

    Create an IP policy. IP-based policies lets you control emails based on IP/Netmask / IP Group/ GeoIP Group/ ISDB.

  • fortimail-ip-policy-delete

    Delete an IP policy.

  • fortimail-ip-policy-list

    List an IP policy. If an ID is given, the command will return the information about the specified IP policy.

  • fortimail-ip-policy-move

    Move an IP policy location in the policy list. FortiMail units match the policies in sequence, from the top of the list downwards. Therefore, you must put the more specific policies on top of the more generic ones.

  • fortimail-ip-policy-update

    Update an IP policy.

  • fortimail-ip-pool-list

    List IP pool profiles. IP pools define a range of IP addresses, and can be used in multiple ways: To define source IP addresses used by the FortiMail unit if you want outgoing email to originate from a range of IP addresses. To define destination addresses used by the FortiMail unit if you want incoming email to destine to the virtual host on a range of IP addresses. If a name is given, the command will return the information about the specified IP pool. Mainly used in the configuration of IP policy.

  • fortimail-ldap-group-list

    List LDAP profiles. LDAP groups enables matching email addresses as senders or recipients with the LDAP profile authentication in the access control rule configuration and is the authentication profile in case the authentication type in IP policy is LDAP. If a name is given, the command will return the information about the specified LDAP profile. Mainly used in the configuration of access control rule and the IP policy.

  • fortimail-pki-user-list

    List PKI users. PKI users can authenticate by presenting a valid client certificate, rather than by entering a username and password. If a name is given, the command will return the information about the specified PKI user. Mainly used in the configuration of recipient policy.

  • fortimail-pop3-auth-profile-list

    List POP3 authentication profiles. If a name is given, the command will return the information about the specified POP3 authentication profile. Mainly used in the configuration of IP policy.

  • fortimail-radius-auth-profile-list

    List RADIUS authentication profiles. If a name is given, the command will return the information about the specified RADIUS authentication profile. Mainly used in the configuration of IP policy.

  • fortimail-recipient-policy-create

    Create an Inbound/ Outbound Recipient policy. Recipient policies control email based on sender and recipient addresses. Recipient-based policies have precedence if an IP-based policy is also applicable but conflicts.

  • fortimail-recipient-policy-delete

    Delete a recipient policy.

  • fortimail-recipient-policy-list

    List recipient policies. If an ID is given, the command will return the information about the specified recipient policy.

  • fortimail-recipient-policy-move

    Move a recipient policy location in the policy list. FortiMail units match the policies in sequence, from the top of the list downwards. Therefore, you must put the more specific policies on top of the more generic ones.

  • fortimail-recipient-policy-update

    Update a recipient policy.

  • fortimail-resource-profile-list

    List resource profiles. Resource profile configure miscellaneous aspects of the email user accounts, such as disk space quota. If a name is given, the command will return the information about the specified resource profile. Mainly used in the configuration of IP policy.

  • fortimail-session-profile-list

    List IP session profiles. Session profiles focus on the connection and envelope portion of the SMTP session. If a name is given, the command will return the information about the specified session profile. Mainly used in the configuration of IP policy.

  • fortimail-smtp-auth-profile-list

    List SMTP authentication profiles. If a name is given, the command will return the information about the specified SMTP authentication profile. Mainly used in the configuration of IP policy.

  • fortimail-system-safe-block-add

    Add an email address/ domain name/ IP address to the system safe/block list. Block/safe list lets you reject, discard, or allow email messages based on email addresses, domain names, and IP addresses. As one of the first steps to detect spam, FortiMail units evaluate whether an email message matches a block list or safe list entry. Choose the required list by the type argument.

  • fortimail-system-safe-block-delete

    Delete an email address/ domain name/ IP address from the system safe/block list. Choose the required list by the type argument.

  • fortimail-system-safe-block-list

    List the system Block/Safe list. Choose the required list by the type argument.

  • fortimail-tls-profile-list

    List TLS profiles. TLS profiles allow you to selectively disable or enable TLS for specific email recipient patterns, IP subnets, and so on. A common use of TLS profiles is to enforce TLS transport to a specific domain and verify the certificate of the receiving servers. If a name is given, the command will return the information about the specified TLS profile. Mainly used in the configuration of access control rule.