|
|
|
set | mailserver access |
mailserver access
Use this command to configure, delete, and reorder mailserver access rules.
Access rules are processed in numerical order. Use the ‘move’ keyword to change the order of rules to achieve your desired processing order. If there are two rules that apply, the rule with the lowest number will be processed first.
Syntax
set mailserver access rule <number> set sender_pattern <pattern_str> {yes no} recipient_pattern <pattern_str> {yes no} ip_mask <ipv4_addr>/<netmask> reverse_dns_pattern <pattern_str> {yes no} authenticated {yes no} tlsprofile <profile_str> action
{relay bypass reject discard}
set mailserver access rule <number> move <to>
set mailserver access rule <number> delete
Keywords and Variables Description | Default |
rule <number> | Enter the number for this rule. |
| Numbers are used for processing order of the rules, lowest numbers |
| first. |
|
|
{set move | Select one of set, move, or delete to change mailserver access. |
delete} | • set - Select to configure an access rule. |
| • move - Select to change when this rule is processed. |
| • delete - Select to remove a rule from the list |
|
|
sender_pattern | A complete or partial sender address to match for this rule. |
<pattern_str> |
|
{yes no} | Select yes to use regular expression syntax as part of the pattern. |
recipient_pattern | A complete or partial sender address to match for this rule. |
<pattern_str> |
|
ip_mask | Enter the IP address and netmask of the sender. |
<ipv4_addr>/ |
|
<netmask> |
|
reverse_dns_pattern | A complete or partial DNS entry match for this rule. |
<pattern_str> |
|
authenticated | Enter yet to have the rule match only authenticated sessions. Enter yes |
{yes no} | to have the rule apply to both authenticated and unauthenticated |
| sessions. |
FortiMail™ Secure Messaging Platform Version 3.0 MR4 CLI Reference |
|
225 |