beautypg.com

Mailserver access, Syntax, Set mailserver access – Fortinet FortiMail 3.0 MR4 User Manual

Page 225

background image

set

mailserver access

FortiMail™ Secure Messaging Platform Version 3.0 MR4 CLI Reference
06-30004-0420-20080814

225

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 set sender_pattern

{yes | no} recipient_pattern {yes | no} ip_mask

/ reverse_dns_pattern {yes | no}

authenticated {yes | no} tlsprofile action

{relay | bypass | reject | discard}

set mailserver access rule move

set mailserver access rule delete

Keywords and Variables Description

Default

rule

Enter the number for this rule.

Numbers are used for processing order of the rules, lowest numbers
first.

{set | move |

delete}

Select one of set, move, or delete to change mailserver access.
• 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.

{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.

ip_mask

/

Enter the IP address and netmask of the sender.

reverse_dns_pattern

A complete or partial DNS entry match for this rule.

authenticated

{yes | no}

Enter yet to have the rule match only authenticated sessions. Enter yes
to have the rule apply to both authenticated and unauthenticated
sessions.