Fortinet white logo
Fortinet white logo

Administration Guide

Configuring email, IP and GeoIP groups

Configuring email, IP and GeoIP groups

The Profile > Group tab displays the list of email and IP group and override profiles.

This sections includes:

Configuring email groups

Email groups include groups of email addresses that can be used when configuring access control rules and recipient-based policies. For information about access control rules and polices, see Configuring access control receiving policies and Controlling email based on sender and recipient addresses.

To configure email groups
  1. Go to .
  2. Either click New to add a profile or double-click a profile to modify it. The profile name is editable.
  3. For a new group, enter a name for this email group.
  4. The name must contain only alphanumeric characters. Spaces are not allowed.

  5. In New member, enter the email address of a group member and click -> to move the address to the Current members field.
  6. You can also use wildcards to enter partial patterns that can match multiple email addresses. The asterisk represents one or more characters and the question mark (?) represents any single character.

    For example, the pattern ??@*.com will match any email user with a two letter email user name from any “.com” domain name.

    Note

    To remove a member’s email address, select the address in the Current members field and click <-.

  7. Click Create or OK.

Configuring IP groups

IP groups include groups of IP addresses that can be used when configuring access control rules, IP-based policies, and reports. See also Configuring access control receiving policies, Controlling email based on IP addresses, and Configuring report profiles and generating reports.

To configure an IP group
  1. Go to Profile > Group > IP Group.
  2. Either click New to add a profile or double-click a profile to modify it.
  3. For a new group, enter a name in Group name.
  4. The name must contain only alphanumeric characters. Spaces are not allowed.

  5. Under IP Groups, click New.
  6. A field appears under IP/Netmask or IP Range.

  7. Enter the IP address and netmask of the group, or the IP range. Use the netmask, the portion after the slash (/), to specify the matching subnet.
  8. For example, enter 10.10.10.10/24 to match a 24-bit subnet, or all addresses starting with 10.10.10. This will appear as 10.10.10.0/24 in the access control rule table, with the 0 indicating that any value is matched in that position of the address.

    Similarly, 10.10.10.10/32 will appear as 10.10.10.10/32 and match only the 10.10.10.10 address.

  9. Click Create.

Configuring GeoIP groups

Starting from 6.2 release, FortiMail utilizes the GeoIP database to map the geolocations of client IP addresses. You can use GeoIP groups in access control rules and IP-based policies to geo-targeting spam and virus devices. For information about access control rules and polices, see Configuring access control receiving policies and Controlling email based on IP addresses.

You can also override geolocation mappings that may not be correct in the GeoIP database. For details, see Configuring GeoIP override.

To configure a GeoIP group
  1. Go to Profile > Group > GeoIP Group.
  2. Either click New to add a profile or double-click a profile to modify it.
  3. For a new group, enter a name in Group name.
  4. The name must contain only alphanumeric characters. Spaces are not allowed.

  5. Optionally enter a comment.
  6. If you want to create a group to include all countries and regions, enable this option and click Create. Otherwise, disable this option and move the available countries, regions, or override groups to the member list, and click Create. You can have a maximum of 30 countries and regions in one group.

Configuring GeoIP override

GeoIP service looks up the IP address geographic locations in the GeoIP database. However, in some cases, the lookup might not be accurate, for example, when clients use proxies.

With FortiMail, you can override the GeoIP lookup by manually specifying the geographic locations of some IP addresses and ranges. When you create GeoIP groups (see Configuring GeoIP groups), you can use the override geographic locations in the groups.

Note

When entering IP addresses for GeoIP overrides, only IPv4 addresses are supported.

To configure a GeoIP override
  1. Go to Profile > Group > GeoIP Override.
  2. Click New.
  3. Specify a geographic location name for the client IP addresses.
  4. Optionally enter a description.
  5. Click New to specify the IPv4 addresses that you want to include in the geographic location.
  6. Click Create.

    To test a lookup, click IP Geography Query.

Configuring email, IP and GeoIP groups

Configuring email, IP and GeoIP groups

The Profile > Group tab displays the list of email and IP group and override profiles.

This sections includes:

Configuring email groups

Email groups include groups of email addresses that can be used when configuring access control rules and recipient-based policies. For information about access control rules and polices, see Configuring access control receiving policies and Controlling email based on sender and recipient addresses.

To configure email groups
  1. Go to .
  2. Either click New to add a profile or double-click a profile to modify it. The profile name is editable.
  3. For a new group, enter a name for this email group.
  4. The name must contain only alphanumeric characters. Spaces are not allowed.

  5. In New member, enter the email address of a group member and click -> to move the address to the Current members field.
  6. You can also use wildcards to enter partial patterns that can match multiple email addresses. The asterisk represents one or more characters and the question mark (?) represents any single character.

    For example, the pattern ??@*.com will match any email user with a two letter email user name from any “.com” domain name.

    Note

    To remove a member’s email address, select the address in the Current members field and click <-.

  7. Click Create or OK.

Configuring IP groups

IP groups include groups of IP addresses that can be used when configuring access control rules, IP-based policies, and reports. See also Configuring access control receiving policies, Controlling email based on IP addresses, and Configuring report profiles and generating reports.

To configure an IP group
  1. Go to Profile > Group > IP Group.
  2. Either click New to add a profile or double-click a profile to modify it.
  3. For a new group, enter a name in Group name.
  4. The name must contain only alphanumeric characters. Spaces are not allowed.

  5. Under IP Groups, click New.
  6. A field appears under IP/Netmask or IP Range.

  7. Enter the IP address and netmask of the group, or the IP range. Use the netmask, the portion after the slash (/), to specify the matching subnet.
  8. For example, enter 10.10.10.10/24 to match a 24-bit subnet, or all addresses starting with 10.10.10. This will appear as 10.10.10.0/24 in the access control rule table, with the 0 indicating that any value is matched in that position of the address.

    Similarly, 10.10.10.10/32 will appear as 10.10.10.10/32 and match only the 10.10.10.10 address.

  9. Click Create.

Configuring GeoIP groups

Starting from 6.2 release, FortiMail utilizes the GeoIP database to map the geolocations of client IP addresses. You can use GeoIP groups in access control rules and IP-based policies to geo-targeting spam and virus devices. For information about access control rules and polices, see Configuring access control receiving policies and Controlling email based on IP addresses.

You can also override geolocation mappings that may not be correct in the GeoIP database. For details, see Configuring GeoIP override.

To configure a GeoIP group
  1. Go to Profile > Group > GeoIP Group.
  2. Either click New to add a profile or double-click a profile to modify it.
  3. For a new group, enter a name in Group name.
  4. The name must contain only alphanumeric characters. Spaces are not allowed.

  5. Optionally enter a comment.
  6. If you want to create a group to include all countries and regions, enable this option and click Create. Otherwise, disable this option and move the available countries, regions, or override groups to the member list, and click Create. You can have a maximum of 30 countries and regions in one group.

Configuring GeoIP override

GeoIP service looks up the IP address geographic locations in the GeoIP database. However, in some cases, the lookup might not be accurate, for example, when clients use proxies.

With FortiMail, you can override the GeoIP lookup by manually specifying the geographic locations of some IP addresses and ranges. When you create GeoIP groups (see Configuring GeoIP groups), you can use the override geographic locations in the groups.

Note

When entering IP addresses for GeoIP overrides, only IPv4 addresses are supported.

To configure a GeoIP override
  1. Go to Profile > Group > GeoIP Override.
  2. Click New.
  3. Specify a geographic location name for the client IP addresses.
  4. Optionally enter a description.
  5. Click New to specify the IPv4 addresses that you want to include in the geographic location.
  6. Click Create.

    To test a lookup, click IP Geography Query.