1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. ObjectEmailfilterProfile
fortimanager 1.14.0 published on Tuesday, Apr 15, 2025 by fortinetdev

fortimanager.ObjectEmailfilterProfile

Explore with Pulumi AI

Configure Email Filter profiles.

The following variables have sub resource. Avoid using them together, otherwise conflicts and overwrites may occur.

  • file_filter: fortimanager_object_emailfilter_profile_filefilter
  • gmail: fortimanager.ObjectEmailfilterProfileGmail
  • imap: fortimanager.ObjectEmailfilterProfileImap
  • mapi: fortimanager.ObjectEmailfilterProfileMapi
  • msn_hotmail: fortimanager.ObjectEmailfilterProfileMsnhotmail
  • other_webmails: fortimanager_object_emailfilter_profile_otherwebmails
  • pop3: fortimanager.ObjectEmailfilterProfilePop3
  • smtp: fortimanager.ObjectEmailfilterProfileSmtp

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as fortimanager from "@pulumi/fortimanager";

const trname = new fortimanager.ObjectEmailfilterProfile("trname", {
    comment: "This is a Terraform example",
    external: "disable",
    featureSet: "flow",
    options: [
        "bannedword",
        "spambwl",
    ],
    spamBwordThreshold: 10,
    spamFiltering: "disable",
    spamLog: "enable",
    spamLogFortiguardResponse: "disable",
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname = fortimanager.ObjectEmailfilterProfile("trname",
    comment="This is a Terraform example",
    external="disable",
    feature_set="flow",
    options=[
        "bannedword",
        "spambwl",
    ],
    spam_bword_threshold=10,
    spam_filtering="disable",
    spam_log="enable",
    spam_log_fortiguard_response="disable")
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/fortimanager/fortimanager"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := fortimanager.NewObjectEmailfilterProfile(ctx, "trname", &fortimanager.ObjectEmailfilterProfileArgs{
			Comment:    pulumi.String("This is a Terraform example"),
			External:   pulumi.String("disable"),
			FeatureSet: pulumi.String("flow"),
			Options: pulumi.StringArray{
				pulumi.String("bannedword"),
				pulumi.String("spambwl"),
			},
			SpamBwordThreshold:        pulumi.Float64(10),
			SpamFiltering:             pulumi.String("disable"),
			SpamLog:                   pulumi.String("enable"),
			SpamLogFortiguardResponse: pulumi.String("disable"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortimanager = Pulumi.Fortimanager;

return await Deployment.RunAsync(() => 
{
    var trname = new Fortimanager.ObjectEmailfilterProfile("trname", new()
    {
        Comment = "This is a Terraform example",
        External = "disable",
        FeatureSet = "flow",
        Options = new[]
        {
            "bannedword",
            "spambwl",
        },
        SpamBwordThreshold = 10,
        SpamFiltering = "disable",
        SpamLog = "enable",
        SpamLogFortiguardResponse = "disable",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.ObjectEmailfilterProfile;
import com.pulumi.fortimanager.ObjectEmailfilterProfileArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var trname = new ObjectEmailfilterProfile("trname", ObjectEmailfilterProfileArgs.builder()
            .comment("This is a Terraform example")
            .external("disable")
            .featureSet("flow")
            .options(            
                "bannedword",
                "spambwl")
            .spamBwordThreshold(10)
            .spamFiltering("disable")
            .spamLog("enable")
            .spamLogFortiguardResponse("disable")
            .build());

    }
}
Copy
resources:
  trname:
    type: fortimanager:ObjectEmailfilterProfile
    properties:
      comment: This is a Terraform example
      external: disable
      featureSet: flow
      options:
        - bannedword
        - spambwl
      spamBwordThreshold: 10
      spamFiltering: disable
      spamLog: enable
      spamLogFortiguardResponse: disable
Copy

Create ObjectEmailfilterProfile Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ObjectEmailfilterProfile(name: string, args?: ObjectEmailfilterProfileArgs, opts?: CustomResourceOptions);
@overload
def ObjectEmailfilterProfile(resource_name: str,
                             args: Optional[ObjectEmailfilterProfileArgs] = None,
                             opts: Optional[ResourceOptions] = None)

@overload
def ObjectEmailfilterProfile(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             adom: Optional[str] = None,
                             comment: Optional[str] = None,
                             external: Optional[str] = None,
                             feature_set: Optional[str] = None,
                             file_filter: Optional[ObjectEmailfilterProfileFileFilterArgs] = None,
                             gmail: Optional[ObjectEmailfilterProfileGmailArgs] = None,
                             imap: Optional[ObjectEmailfilterProfileImapArgs] = None,
                             mapi: Optional[ObjectEmailfilterProfileMapiArgs] = None,
                             msn_hotmail: Optional[ObjectEmailfilterProfileMsnHotmailArgs] = None,
                             name: Optional[str] = None,
                             object_emailfilter_profile_id: Optional[str] = None,
                             options: Optional[Sequence[str]] = None,
                             other_webmails: Optional[ObjectEmailfilterProfileOtherWebmailsArgs] = None,
                             pop3: Optional[ObjectEmailfilterProfilePop3Args] = None,
                             replacemsg_group: Optional[str] = None,
                             scopetype: Optional[str] = None,
                             smtp: Optional[ObjectEmailfilterProfileSmtpArgs] = None,
                             spam_bal_table: Optional[str] = None,
                             spam_bwl_table: Optional[str] = None,
                             spam_bword_table: Optional[str] = None,
                             spam_bword_threshold: Optional[float] = None,
                             spam_filtering: Optional[str] = None,
                             spam_iptrust_table: Optional[str] = None,
                             spam_log: Optional[str] = None,
                             spam_log_fortiguard_response: Optional[str] = None,
                             spam_mheader_table: Optional[str] = None,
                             spam_rbl_table: Optional[str] = None)
func NewObjectEmailfilterProfile(ctx *Context, name string, args *ObjectEmailfilterProfileArgs, opts ...ResourceOption) (*ObjectEmailfilterProfile, error)
public ObjectEmailfilterProfile(string name, ObjectEmailfilterProfileArgs? args = null, CustomResourceOptions? opts = null)
public ObjectEmailfilterProfile(String name, ObjectEmailfilterProfileArgs args)
public ObjectEmailfilterProfile(String name, ObjectEmailfilterProfileArgs args, CustomResourceOptions options)
type: fortimanager:ObjectEmailfilterProfile
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args ObjectEmailfilterProfileArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args ObjectEmailfilterProfileArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args ObjectEmailfilterProfileArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args ObjectEmailfilterProfileArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ObjectEmailfilterProfileArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var objectEmailfilterProfileResource = new Fortimanager.ObjectEmailfilterProfile("objectEmailfilterProfileResource", new()
{
    Adom = "string",
    Comment = "string",
    External = "string",
    FeatureSet = "string",
    FileFilter = new Fortimanager.Inputs.ObjectEmailfilterProfileFileFilterArgs
    {
        Entries = new[]
        {
            new Fortimanager.Inputs.ObjectEmailfilterProfileFileFilterEntryArgs
            {
                Action = "string",
                Comment = "string",
                Encryption = "string",
                FileTypes = new[]
                {
                    "string",
                },
                Filter = "string",
                PasswordProtected = "string",
                Protocols = new[]
                {
                    "string",
                },
            },
        },
        Log = "string",
        ScanArchiveContents = "string",
        Status = "string",
    },
    Gmail = new Fortimanager.Inputs.ObjectEmailfilterProfileGmailArgs
    {
        Log = "string",
        LogAll = "string",
    },
    Imap = new Fortimanager.Inputs.ObjectEmailfilterProfileImapArgs
    {
        Action = "string",
        Log = "string",
        LogAll = "string",
        TagMsg = "string",
        TagTypes = new[]
        {
            "string",
        },
    },
    Mapi = new Fortimanager.Inputs.ObjectEmailfilterProfileMapiArgs
    {
        Action = "string",
        Log = "string",
        LogAll = "string",
    },
    MsnHotmail = new Fortimanager.Inputs.ObjectEmailfilterProfileMsnHotmailArgs
    {
        Log = "string",
        LogAll = "string",
    },
    Name = "string",
    ObjectEmailfilterProfileId = "string",
    Options = new[]
    {
        "string",
    },
    OtherWebmails = new Fortimanager.Inputs.ObjectEmailfilterProfileOtherWebmailsArgs
    {
        LogAll = "string",
    },
    Pop3 = new Fortimanager.Inputs.ObjectEmailfilterProfilePop3Args
    {
        Action = "string",
        Log = "string",
        LogAll = "string",
        TagMsg = "string",
        TagTypes = new[]
        {
            "string",
        },
    },
    ReplacemsgGroup = "string",
    Scopetype = "string",
    Smtp = new Fortimanager.Inputs.ObjectEmailfilterProfileSmtpArgs
    {
        Action = "string",
        Hdrip = "string",
        LocalOverride = "string",
        Log = "string",
        LogAll = "string",
        TagMsg = "string",
        TagTypes = new[]
        {
            "string",
        },
    },
    SpamBalTable = "string",
    SpamBwlTable = "string",
    SpamBwordTable = "string",
    SpamBwordThreshold = 0,
    SpamFiltering = "string",
    SpamIptrustTable = "string",
    SpamLog = "string",
    SpamLogFortiguardResponse = "string",
    SpamMheaderTable = "string",
    SpamRblTable = "string",
});
Copy
example, err := fortimanager.NewObjectEmailfilterProfile(ctx, "objectEmailfilterProfileResource", &fortimanager.ObjectEmailfilterProfileArgs{
Adom: pulumi.String("string"),
Comment: pulumi.String("string"),
External: pulumi.String("string"),
FeatureSet: pulumi.String("string"),
FileFilter: &.ObjectEmailfilterProfileFileFilterArgs{
Entries: .ObjectEmailfilterProfileFileFilterEntryArray{
&.ObjectEmailfilterProfileFileFilterEntryArgs{
Action: pulumi.String("string"),
Comment: pulumi.String("string"),
Encryption: pulumi.String("string"),
FileTypes: pulumi.StringArray{
pulumi.String("string"),
},
Filter: pulumi.String("string"),
PasswordProtected: pulumi.String("string"),
Protocols: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Log: pulumi.String("string"),
ScanArchiveContents: pulumi.String("string"),
Status: pulumi.String("string"),
},
Gmail: &.ObjectEmailfilterProfileGmailTypeArgs{
Log: pulumi.String("string"),
LogAll: pulumi.String("string"),
},
Imap: &.ObjectEmailfilterProfileImapTypeArgs{
Action: pulumi.String("string"),
Log: pulumi.String("string"),
LogAll: pulumi.String("string"),
TagMsg: pulumi.String("string"),
TagTypes: pulumi.StringArray{
pulumi.String("string"),
},
},
Mapi: &.ObjectEmailfilterProfileMapiTypeArgs{
Action: pulumi.String("string"),
Log: pulumi.String("string"),
LogAll: pulumi.String("string"),
},
MsnHotmail: &.ObjectEmailfilterProfileMsnHotmailTypeArgs{
Log: pulumi.String("string"),
LogAll: pulumi.String("string"),
},
Name: pulumi.String("string"),
ObjectEmailfilterProfileId: pulumi.String("string"),
Options: pulumi.StringArray{
pulumi.String("string"),
},
OtherWebmails: &.ObjectEmailfilterProfileOtherWebmailsArgs{
LogAll: pulumi.String("string"),
},
Pop3: &.ObjectEmailfilterProfilePop3TypeArgs{
Action: pulumi.String("string"),
Log: pulumi.String("string"),
LogAll: pulumi.String("string"),
TagMsg: pulumi.String("string"),
TagTypes: pulumi.StringArray{
pulumi.String("string"),
},
},
ReplacemsgGroup: pulumi.String("string"),
Scopetype: pulumi.String("string"),
Smtp: &.ObjectEmailfilterProfileSmtpTypeArgs{
Action: pulumi.String("string"),
Hdrip: pulumi.String("string"),
LocalOverride: pulumi.String("string"),
Log: pulumi.String("string"),
LogAll: pulumi.String("string"),
TagMsg: pulumi.String("string"),
TagTypes: pulumi.StringArray{
pulumi.String("string"),
},
},
SpamBalTable: pulumi.String("string"),
SpamBwlTable: pulumi.String("string"),
SpamBwordTable: pulumi.String("string"),
SpamBwordThreshold: pulumi.Float64(0),
SpamFiltering: pulumi.String("string"),
SpamIptrustTable: pulumi.String("string"),
SpamLog: pulumi.String("string"),
SpamLogFortiguardResponse: pulumi.String("string"),
SpamMheaderTable: pulumi.String("string"),
SpamRblTable: pulumi.String("string"),
})
Copy
var objectEmailfilterProfileResource = new ObjectEmailfilterProfile("objectEmailfilterProfileResource", ObjectEmailfilterProfileArgs.builder()
    .adom("string")
    .comment("string")
    .external("string")
    .featureSet("string")
    .fileFilter(ObjectEmailfilterProfileFileFilterArgs.builder()
        .entries(ObjectEmailfilterProfileFileFilterEntryArgs.builder()
            .action("string")
            .comment("string")
            .encryption("string")
            .fileTypes("string")
            .filter("string")
            .passwordProtected("string")
            .protocols("string")
            .build())
        .log("string")
        .scanArchiveContents("string")
        .status("string")
        .build())
    .gmail(ObjectEmailfilterProfileGmailArgs.builder()
        .log("string")
        .logAll("string")
        .build())
    .imap(ObjectEmailfilterProfileImapArgs.builder()
        .action("string")
        .log("string")
        .logAll("string")
        .tagMsg("string")
        .tagTypes("string")
        .build())
    .mapi(ObjectEmailfilterProfileMapiArgs.builder()
        .action("string")
        .log("string")
        .logAll("string")
        .build())
    .msnHotmail(ObjectEmailfilterProfileMsnHotmailArgs.builder()
        .log("string")
        .logAll("string")
        .build())
    .name("string")
    .objectEmailfilterProfileId("string")
    .options("string")
    .otherWebmails(ObjectEmailfilterProfileOtherWebmailsArgs.builder()
        .logAll("string")
        .build())
    .pop3(ObjectEmailfilterProfilePop3Args.builder()
        .action("string")
        .log("string")
        .logAll("string")
        .tagMsg("string")
        .tagTypes("string")
        .build())
    .replacemsgGroup("string")
    .scopetype("string")
    .smtp(ObjectEmailfilterProfileSmtpArgs.builder()
        .action("string")
        .hdrip("string")
        .localOverride("string")
        .log("string")
        .logAll("string")
        .tagMsg("string")
        .tagTypes("string")
        .build())
    .spamBalTable("string")
    .spamBwlTable("string")
    .spamBwordTable("string")
    .spamBwordThreshold(0)
    .spamFiltering("string")
    .spamIptrustTable("string")
    .spamLog("string")
    .spamLogFortiguardResponse("string")
    .spamMheaderTable("string")
    .spamRblTable("string")
    .build());
Copy
object_emailfilter_profile_resource = fortimanager.ObjectEmailfilterProfile("objectEmailfilterProfileResource",
    adom="string",
    comment="string",
    external="string",
    feature_set="string",
    file_filter={
        "entries": [{
            "action": "string",
            "comment": "string",
            "encryption": "string",
            "file_types": ["string"],
            "filter": "string",
            "password_protected": "string",
            "protocols": ["string"],
        }],
        "log": "string",
        "scan_archive_contents": "string",
        "status": "string",
    },
    gmail={
        "log": "string",
        "log_all": "string",
    },
    imap={
        "action": "string",
        "log": "string",
        "log_all": "string",
        "tag_msg": "string",
        "tag_types": ["string"],
    },
    mapi={
        "action": "string",
        "log": "string",
        "log_all": "string",
    },
    msn_hotmail={
        "log": "string",
        "log_all": "string",
    },
    name="string",
    object_emailfilter_profile_id="string",
    options=["string"],
    other_webmails={
        "log_all": "string",
    },
    pop3={
        "action": "string",
        "log": "string",
        "log_all": "string",
        "tag_msg": "string",
        "tag_types": ["string"],
    },
    replacemsg_group="string",
    scopetype="string",
    smtp={
        "action": "string",
        "hdrip": "string",
        "local_override": "string",
        "log": "string",
        "log_all": "string",
        "tag_msg": "string",
        "tag_types": ["string"],
    },
    spam_bal_table="string",
    spam_bwl_table="string",
    spam_bword_table="string",
    spam_bword_threshold=0,
    spam_filtering="string",
    spam_iptrust_table="string",
    spam_log="string",
    spam_log_fortiguard_response="string",
    spam_mheader_table="string",
    spam_rbl_table="string")
Copy
const objectEmailfilterProfileResource = new fortimanager.ObjectEmailfilterProfile("objectEmailfilterProfileResource", {
    adom: "string",
    comment: "string",
    external: "string",
    featureSet: "string",
    fileFilter: {
        entries: [{
            action: "string",
            comment: "string",
            encryption: "string",
            fileTypes: ["string"],
            filter: "string",
            passwordProtected: "string",
            protocols: ["string"],
        }],
        log: "string",
        scanArchiveContents: "string",
        status: "string",
    },
    gmail: {
        log: "string",
        logAll: "string",
    },
    imap: {
        action: "string",
        log: "string",
        logAll: "string",
        tagMsg: "string",
        tagTypes: ["string"],
    },
    mapi: {
        action: "string",
        log: "string",
        logAll: "string",
    },
    msnHotmail: {
        log: "string",
        logAll: "string",
    },
    name: "string",
    objectEmailfilterProfileId: "string",
    options: ["string"],
    otherWebmails: {
        logAll: "string",
    },
    pop3: {
        action: "string",
        log: "string",
        logAll: "string",
        tagMsg: "string",
        tagTypes: ["string"],
    },
    replacemsgGroup: "string",
    scopetype: "string",
    smtp: {
        action: "string",
        hdrip: "string",
        localOverride: "string",
        log: "string",
        logAll: "string",
        tagMsg: "string",
        tagTypes: ["string"],
    },
    spamBalTable: "string",
    spamBwlTable: "string",
    spamBwordTable: "string",
    spamBwordThreshold: 0,
    spamFiltering: "string",
    spamIptrustTable: "string",
    spamLog: "string",
    spamLogFortiguardResponse: "string",
    spamMheaderTable: "string",
    spamRblTable: "string",
});
Copy
type: fortimanager:ObjectEmailfilterProfile
properties:
    adom: string
    comment: string
    external: string
    featureSet: string
    fileFilter:
        entries:
            - action: string
              comment: string
              encryption: string
              fileTypes:
                - string
              filter: string
              passwordProtected: string
              protocols:
                - string
        log: string
        scanArchiveContents: string
        status: string
    gmail:
        log: string
        logAll: string
    imap:
        action: string
        log: string
        logAll: string
        tagMsg: string
        tagTypes:
            - string
    mapi:
        action: string
        log: string
        logAll: string
    msnHotmail:
        log: string
        logAll: string
    name: string
    objectEmailfilterProfileId: string
    options:
        - string
    otherWebmails:
        logAll: string
    pop3:
        action: string
        log: string
        logAll: string
        tagMsg: string
        tagTypes:
            - string
    replacemsgGroup: string
    scopetype: string
    smtp:
        action: string
        hdrip: string
        localOverride: string
        log: string
        logAll: string
        tagMsg: string
        tagTypes:
            - string
    spamBalTable: string
    spamBwlTable: string
    spamBwordTable: string
    spamBwordThreshold: 0
    spamFiltering: string
    spamIptrustTable: string
    spamLog: string
    spamLogFortiguardResponse: string
    spamMheaderTable: string
    spamRblTable: string
Copy

ObjectEmailfilterProfile Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The ObjectEmailfilterProfile resource accepts the following input properties:

Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Comment string
Comment.
External string
Enable/disable external Email inspection. Valid values: disable, enable.
FeatureSet string
Flow/proxy feature set. Valid values: proxy, flow.
FileFilter ObjectEmailfilterProfileFileFilter
File-Filter. The structure of file_filter block is documented below.
Gmail ObjectEmailfilterProfileGmail
Gmail. The structure of gmail block is documented below.
Imap ObjectEmailfilterProfileImap
Imap. The structure of imap block is documented below.
Mapi ObjectEmailfilterProfileMapi
Mapi. The structure of mapi block is documented below.
MsnHotmail ObjectEmailfilterProfileMsnHotmail
Msn-Hotmail. The structure of msn_hotmail block is documented below.
Name string
Profile name.
ObjectEmailfilterProfileId string
an identifier for the resource with format {{name}}.
Options List<string>
Options. Valid values: bannedword, spambwl, spamfsip, spamfssubmit, spamfschksum, spamfsurl, spamhelodns, spamraddrdns, spamrbl, spamhdrcheck, spamfsphish.
OtherWebmails ObjectEmailfilterProfileOtherWebmails
Other-Webmails. The structure of other_webmails block is documented below.
Pop3 ObjectEmailfilterProfilePop3
Pop3. The structure of pop3 block is documented below.
ReplacemsgGroup string
Replacement message group.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Smtp ObjectEmailfilterProfileSmtp
Smtp. The structure of smtp block is documented below.
SpamBalTable string
Anti-spam block/allow list table ID.
SpamBwlTable string
Anti-spam black/white list table ID.
SpamBwordTable string
Anti-spam banned word table ID.
SpamBwordThreshold double
Spam banned word threshold.
SpamFiltering string
Enable/disable spam filtering. Valid values: disable, enable.
SpamIptrustTable string
Anti-spam IP trust table ID.
SpamLog string
Enable/disable spam logging for email filtering. Valid values: disable, enable.
SpamLogFortiguardResponse string
Enable/disable logging FortiGuard spam response. Valid values: disable, enable.
SpamMheaderTable string
Anti-spam MIME header table ID.
SpamRblTable string
Anti-spam DNSBL table ID.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Comment string
Comment.
External string
Enable/disable external Email inspection. Valid values: disable, enable.
FeatureSet string
Flow/proxy feature set. Valid values: proxy, flow.
FileFilter ObjectEmailfilterProfileFileFilterArgs
File-Filter. The structure of file_filter block is documented below.
Gmail ObjectEmailfilterProfileGmailTypeArgs
Gmail. The structure of gmail block is documented below.
Imap ObjectEmailfilterProfileImapTypeArgs
Imap. The structure of imap block is documented below.
Mapi ObjectEmailfilterProfileMapiTypeArgs
Mapi. The structure of mapi block is documented below.
MsnHotmail ObjectEmailfilterProfileMsnHotmailTypeArgs
Msn-Hotmail. The structure of msn_hotmail block is documented below.
Name string
Profile name.
ObjectEmailfilterProfileId string
an identifier for the resource with format {{name}}.
Options []string
Options. Valid values: bannedword, spambwl, spamfsip, spamfssubmit, spamfschksum, spamfsurl, spamhelodns, spamraddrdns, spamrbl, spamhdrcheck, spamfsphish.
OtherWebmails ObjectEmailfilterProfileOtherWebmailsArgs
Other-Webmails. The structure of other_webmails block is documented below.
Pop3 ObjectEmailfilterProfilePop3TypeArgs
Pop3. The structure of pop3 block is documented below.
ReplacemsgGroup string
Replacement message group.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Smtp ObjectEmailfilterProfileSmtpTypeArgs
Smtp. The structure of smtp block is documented below.
SpamBalTable string
Anti-spam block/allow list table ID.
SpamBwlTable string
Anti-spam black/white list table ID.
SpamBwordTable string
Anti-spam banned word table ID.
SpamBwordThreshold float64
Spam banned word threshold.
SpamFiltering string
Enable/disable spam filtering. Valid values: disable, enable.
SpamIptrustTable string
Anti-spam IP trust table ID.
SpamLog string
Enable/disable spam logging for email filtering. Valid values: disable, enable.
SpamLogFortiguardResponse string
Enable/disable logging FortiGuard spam response. Valid values: disable, enable.
SpamMheaderTable string
Anti-spam MIME header table ID.
SpamRblTable string
Anti-spam DNSBL table ID.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment String
Comment.
external String
Enable/disable external Email inspection. Valid values: disable, enable.
featureSet String
Flow/proxy feature set. Valid values: proxy, flow.
fileFilter ObjectEmailfilterProfileFileFilter
File-Filter. The structure of file_filter block is documented below.
gmail ObjectEmailfilterProfileGmail
Gmail. The structure of gmail block is documented below.
imap ObjectEmailfilterProfileImap
Imap. The structure of imap block is documented below.
mapi ObjectEmailfilterProfileMapi
Mapi. The structure of mapi block is documented below.
msnHotmail ObjectEmailfilterProfileMsnHotmail
Msn-Hotmail. The structure of msn_hotmail block is documented below.
name String
Profile name.
objectEmailfilterProfileId String
an identifier for the resource with format {{name}}.
options List<String>
Options. Valid values: bannedword, spambwl, spamfsip, spamfssubmit, spamfschksum, spamfsurl, spamhelodns, spamraddrdns, spamrbl, spamhdrcheck, spamfsphish.
otherWebmails ObjectEmailfilterProfileOtherWebmails
Other-Webmails. The structure of other_webmails block is documented below.
pop3 ObjectEmailfilterProfilePop3
Pop3. The structure of pop3 block is documented below.
replacemsgGroup String
Replacement message group.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
smtp ObjectEmailfilterProfileSmtp
Smtp. The structure of smtp block is documented below.
spamBalTable String
Anti-spam block/allow list table ID.
spamBwlTable String
Anti-spam black/white list table ID.
spamBwordTable String
Anti-spam banned word table ID.
spamBwordThreshold Double
Spam banned word threshold.
spamFiltering String
Enable/disable spam filtering. Valid values: disable, enable.
spamIptrustTable String
Anti-spam IP trust table ID.
spamLog String
Enable/disable spam logging for email filtering. Valid values: disable, enable.
spamLogFortiguardResponse String
Enable/disable logging FortiGuard spam response. Valid values: disable, enable.
spamMheaderTable String
Anti-spam MIME header table ID.
spamRblTable String
Anti-spam DNSBL table ID.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment string
Comment.
external string
Enable/disable external Email inspection. Valid values: disable, enable.
featureSet string
Flow/proxy feature set. Valid values: proxy, flow.
fileFilter ObjectEmailfilterProfileFileFilter
File-Filter. The structure of file_filter block is documented below.
gmail ObjectEmailfilterProfileGmail
Gmail. The structure of gmail block is documented below.
imap ObjectEmailfilterProfileImap
Imap. The structure of imap block is documented below.
mapi ObjectEmailfilterProfileMapi
Mapi. The structure of mapi block is documented below.
msnHotmail ObjectEmailfilterProfileMsnHotmail
Msn-Hotmail. The structure of msn_hotmail block is documented below.
name string
Profile name.
objectEmailfilterProfileId string
an identifier for the resource with format {{name}}.
options string[]
Options. Valid values: bannedword, spambwl, spamfsip, spamfssubmit, spamfschksum, spamfsurl, spamhelodns, spamraddrdns, spamrbl, spamhdrcheck, spamfsphish.
otherWebmails ObjectEmailfilterProfileOtherWebmails
Other-Webmails. The structure of other_webmails block is documented below.
pop3 ObjectEmailfilterProfilePop3
Pop3. The structure of pop3 block is documented below.
replacemsgGroup string
Replacement message group.
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
smtp ObjectEmailfilterProfileSmtp
Smtp. The structure of smtp block is documented below.
spamBalTable string
Anti-spam block/allow list table ID.
spamBwlTable string
Anti-spam black/white list table ID.
spamBwordTable string
Anti-spam banned word table ID.
spamBwordThreshold number
Spam banned word threshold.
spamFiltering string
Enable/disable spam filtering. Valid values: disable, enable.
spamIptrustTable string
Anti-spam IP trust table ID.
spamLog string
Enable/disable spam logging for email filtering. Valid values: disable, enable.
spamLogFortiguardResponse string
Enable/disable logging FortiGuard spam response. Valid values: disable, enable.
spamMheaderTable string
Anti-spam MIME header table ID.
spamRblTable string
Anti-spam DNSBL table ID.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment str
Comment.
external str
Enable/disable external Email inspection. Valid values: disable, enable.
feature_set str
Flow/proxy feature set. Valid values: proxy, flow.
file_filter ObjectEmailfilterProfileFileFilterArgs
File-Filter. The structure of file_filter block is documented below.
gmail ObjectEmailfilterProfileGmailArgs
Gmail. The structure of gmail block is documented below.
imap ObjectEmailfilterProfileImapArgs
Imap. The structure of imap block is documented below.
mapi ObjectEmailfilterProfileMapiArgs
Mapi. The structure of mapi block is documented below.
msn_hotmail ObjectEmailfilterProfileMsnHotmailArgs
Msn-Hotmail. The structure of msn_hotmail block is documented below.
name str
Profile name.
object_emailfilter_profile_id str
an identifier for the resource with format {{name}}.
options Sequence[str]
Options. Valid values: bannedword, spambwl, spamfsip, spamfssubmit, spamfschksum, spamfsurl, spamhelodns, spamraddrdns, spamrbl, spamhdrcheck, spamfsphish.
other_webmails ObjectEmailfilterProfileOtherWebmailsArgs
Other-Webmails. The structure of other_webmails block is documented below.
pop3 ObjectEmailfilterProfilePop3Args
Pop3. The structure of pop3 block is documented below.
replacemsg_group str
Replacement message group.
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
smtp ObjectEmailfilterProfileSmtpArgs
Smtp. The structure of smtp block is documented below.
spam_bal_table str
Anti-spam block/allow list table ID.
spam_bwl_table str
Anti-spam black/white list table ID.
spam_bword_table str
Anti-spam banned word table ID.
spam_bword_threshold float
Spam banned word threshold.
spam_filtering str
Enable/disable spam filtering. Valid values: disable, enable.
spam_iptrust_table str
Anti-spam IP trust table ID.
spam_log str
Enable/disable spam logging for email filtering. Valid values: disable, enable.
spam_log_fortiguard_response str
Enable/disable logging FortiGuard spam response. Valid values: disable, enable.
spam_mheader_table str
Anti-spam MIME header table ID.
spam_rbl_table str
Anti-spam DNSBL table ID.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment String
Comment.
external String
Enable/disable external Email inspection. Valid values: disable, enable.
featureSet String
Flow/proxy feature set. Valid values: proxy, flow.
fileFilter Property Map
File-Filter. The structure of file_filter block is documented below.
gmail Property Map
Gmail. The structure of gmail block is documented below.
imap Property Map
Imap. The structure of imap block is documented below.
mapi Property Map
Mapi. The structure of mapi block is documented below.
msnHotmail Property Map
Msn-Hotmail. The structure of msn_hotmail block is documented below.
name String
Profile name.
objectEmailfilterProfileId String
an identifier for the resource with format {{name}}.
options List<String>
Options. Valid values: bannedword, spambwl, spamfsip, spamfssubmit, spamfschksum, spamfsurl, spamhelodns, spamraddrdns, spamrbl, spamhdrcheck, spamfsphish.
otherWebmails Property Map
Other-Webmails. The structure of other_webmails block is documented below.
pop3 Property Map
Pop3. The structure of pop3 block is documented below.
replacemsgGroup String
Replacement message group.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
smtp Property Map
Smtp. The structure of smtp block is documented below.
spamBalTable String
Anti-spam block/allow list table ID.
spamBwlTable String
Anti-spam black/white list table ID.
spamBwordTable String
Anti-spam banned word table ID.
spamBwordThreshold Number
Spam banned word threshold.
spamFiltering String
Enable/disable spam filtering. Valid values: disable, enable.
spamIptrustTable String
Anti-spam IP trust table ID.
spamLog String
Enable/disable spam logging for email filtering. Valid values: disable, enable.
spamLogFortiguardResponse String
Enable/disable logging FortiGuard spam response. Valid values: disable, enable.
spamMheaderTable String
Anti-spam MIME header table ID.
spamRblTable String
Anti-spam DNSBL table ID.

Outputs

All input properties are implicitly available as output properties. Additionally, the ObjectEmailfilterProfile resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing ObjectEmailfilterProfile Resource

Get an existing ObjectEmailfilterProfile resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ObjectEmailfilterProfileState, opts?: CustomResourceOptions): ObjectEmailfilterProfile
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        comment: Optional[str] = None,
        external: Optional[str] = None,
        feature_set: Optional[str] = None,
        file_filter: Optional[ObjectEmailfilterProfileFileFilterArgs] = None,
        gmail: Optional[ObjectEmailfilterProfileGmailArgs] = None,
        imap: Optional[ObjectEmailfilterProfileImapArgs] = None,
        mapi: Optional[ObjectEmailfilterProfileMapiArgs] = None,
        msn_hotmail: Optional[ObjectEmailfilterProfileMsnHotmailArgs] = None,
        name: Optional[str] = None,
        object_emailfilter_profile_id: Optional[str] = None,
        options: Optional[Sequence[str]] = None,
        other_webmails: Optional[ObjectEmailfilterProfileOtherWebmailsArgs] = None,
        pop3: Optional[ObjectEmailfilterProfilePop3Args] = None,
        replacemsg_group: Optional[str] = None,
        scopetype: Optional[str] = None,
        smtp: Optional[ObjectEmailfilterProfileSmtpArgs] = None,
        spam_bal_table: Optional[str] = None,
        spam_bwl_table: Optional[str] = None,
        spam_bword_table: Optional[str] = None,
        spam_bword_threshold: Optional[float] = None,
        spam_filtering: Optional[str] = None,
        spam_iptrust_table: Optional[str] = None,
        spam_log: Optional[str] = None,
        spam_log_fortiguard_response: Optional[str] = None,
        spam_mheader_table: Optional[str] = None,
        spam_rbl_table: Optional[str] = None) -> ObjectEmailfilterProfile
func GetObjectEmailfilterProfile(ctx *Context, name string, id IDInput, state *ObjectEmailfilterProfileState, opts ...ResourceOption) (*ObjectEmailfilterProfile, error)
public static ObjectEmailfilterProfile Get(string name, Input<string> id, ObjectEmailfilterProfileState? state, CustomResourceOptions? opts = null)
public static ObjectEmailfilterProfile get(String name, Output<String> id, ObjectEmailfilterProfileState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectEmailfilterProfile    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Comment string
Comment.
External string
Enable/disable external Email inspection. Valid values: disable, enable.
FeatureSet string
Flow/proxy feature set. Valid values: proxy, flow.
FileFilter ObjectEmailfilterProfileFileFilter
File-Filter. The structure of file_filter block is documented below.
Gmail ObjectEmailfilterProfileGmail
Gmail. The structure of gmail block is documented below.
Imap ObjectEmailfilterProfileImap
Imap. The structure of imap block is documented below.
Mapi ObjectEmailfilterProfileMapi
Mapi. The structure of mapi block is documented below.
MsnHotmail ObjectEmailfilterProfileMsnHotmail
Msn-Hotmail. The structure of msn_hotmail block is documented below.
Name string
Profile name.
ObjectEmailfilterProfileId string
an identifier for the resource with format {{name}}.
Options List<string>
Options. Valid values: bannedword, spambwl, spamfsip, spamfssubmit, spamfschksum, spamfsurl, spamhelodns, spamraddrdns, spamrbl, spamhdrcheck, spamfsphish.
OtherWebmails ObjectEmailfilterProfileOtherWebmails
Other-Webmails. The structure of other_webmails block is documented below.
Pop3 ObjectEmailfilterProfilePop3
Pop3. The structure of pop3 block is documented below.
ReplacemsgGroup string
Replacement message group.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Smtp ObjectEmailfilterProfileSmtp
Smtp. The structure of smtp block is documented below.
SpamBalTable string
Anti-spam block/allow list table ID.
SpamBwlTable string
Anti-spam black/white list table ID.
SpamBwordTable string
Anti-spam banned word table ID.
SpamBwordThreshold double
Spam banned word threshold.
SpamFiltering string
Enable/disable spam filtering. Valid values: disable, enable.
SpamIptrustTable string
Anti-spam IP trust table ID.
SpamLog string
Enable/disable spam logging for email filtering. Valid values: disable, enable.
SpamLogFortiguardResponse string
Enable/disable logging FortiGuard spam response. Valid values: disable, enable.
SpamMheaderTable string
Anti-spam MIME header table ID.
SpamRblTable string
Anti-spam DNSBL table ID.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Comment string
Comment.
External string
Enable/disable external Email inspection. Valid values: disable, enable.
FeatureSet string
Flow/proxy feature set. Valid values: proxy, flow.
FileFilter ObjectEmailfilterProfileFileFilterArgs
File-Filter. The structure of file_filter block is documented below.
Gmail ObjectEmailfilterProfileGmailTypeArgs
Gmail. The structure of gmail block is documented below.
Imap ObjectEmailfilterProfileImapTypeArgs
Imap. The structure of imap block is documented below.
Mapi ObjectEmailfilterProfileMapiTypeArgs
Mapi. The structure of mapi block is documented below.
MsnHotmail ObjectEmailfilterProfileMsnHotmailTypeArgs
Msn-Hotmail. The structure of msn_hotmail block is documented below.
Name string
Profile name.
ObjectEmailfilterProfileId string
an identifier for the resource with format {{name}}.
Options []string
Options. Valid values: bannedword, spambwl, spamfsip, spamfssubmit, spamfschksum, spamfsurl, spamhelodns, spamraddrdns, spamrbl, spamhdrcheck, spamfsphish.
OtherWebmails ObjectEmailfilterProfileOtherWebmailsArgs
Other-Webmails. The structure of other_webmails block is documented below.
Pop3 ObjectEmailfilterProfilePop3TypeArgs
Pop3. The structure of pop3 block is documented below.
ReplacemsgGroup string
Replacement message group.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Smtp ObjectEmailfilterProfileSmtpTypeArgs
Smtp. The structure of smtp block is documented below.
SpamBalTable string
Anti-spam block/allow list table ID.
SpamBwlTable string
Anti-spam black/white list table ID.
SpamBwordTable string
Anti-spam banned word table ID.
SpamBwordThreshold float64
Spam banned word threshold.
SpamFiltering string
Enable/disable spam filtering. Valid values: disable, enable.
SpamIptrustTable string
Anti-spam IP trust table ID.
SpamLog string
Enable/disable spam logging for email filtering. Valid values: disable, enable.
SpamLogFortiguardResponse string
Enable/disable logging FortiGuard spam response. Valid values: disable, enable.
SpamMheaderTable string
Anti-spam MIME header table ID.
SpamRblTable string
Anti-spam DNSBL table ID.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment String
Comment.
external String
Enable/disable external Email inspection. Valid values: disable, enable.
featureSet String
Flow/proxy feature set. Valid values: proxy, flow.
fileFilter ObjectEmailfilterProfileFileFilter
File-Filter. The structure of file_filter block is documented below.
gmail ObjectEmailfilterProfileGmail
Gmail. The structure of gmail block is documented below.
imap ObjectEmailfilterProfileImap
Imap. The structure of imap block is documented below.
mapi ObjectEmailfilterProfileMapi
Mapi. The structure of mapi block is documented below.
msnHotmail ObjectEmailfilterProfileMsnHotmail
Msn-Hotmail. The structure of msn_hotmail block is documented below.
name String
Profile name.
objectEmailfilterProfileId String
an identifier for the resource with format {{name}}.
options List<String>
Options. Valid values: bannedword, spambwl, spamfsip, spamfssubmit, spamfschksum, spamfsurl, spamhelodns, spamraddrdns, spamrbl, spamhdrcheck, spamfsphish.
otherWebmails ObjectEmailfilterProfileOtherWebmails
Other-Webmails. The structure of other_webmails block is documented below.
pop3 ObjectEmailfilterProfilePop3
Pop3. The structure of pop3 block is documented below.
replacemsgGroup String
Replacement message group.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
smtp ObjectEmailfilterProfileSmtp
Smtp. The structure of smtp block is documented below.
spamBalTable String
Anti-spam block/allow list table ID.
spamBwlTable String
Anti-spam black/white list table ID.
spamBwordTable String
Anti-spam banned word table ID.
spamBwordThreshold Double
Spam banned word threshold.
spamFiltering String
Enable/disable spam filtering. Valid values: disable, enable.
spamIptrustTable String
Anti-spam IP trust table ID.
spamLog String
Enable/disable spam logging for email filtering. Valid values: disable, enable.
spamLogFortiguardResponse String
Enable/disable logging FortiGuard spam response. Valid values: disable, enable.
spamMheaderTable String
Anti-spam MIME header table ID.
spamRblTable String
Anti-spam DNSBL table ID.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment string
Comment.
external string
Enable/disable external Email inspection. Valid values: disable, enable.
featureSet string
Flow/proxy feature set. Valid values: proxy, flow.
fileFilter ObjectEmailfilterProfileFileFilter
File-Filter. The structure of file_filter block is documented below.
gmail ObjectEmailfilterProfileGmail
Gmail. The structure of gmail block is documented below.
imap ObjectEmailfilterProfileImap
Imap. The structure of imap block is documented below.
mapi ObjectEmailfilterProfileMapi
Mapi. The structure of mapi block is documented below.
msnHotmail ObjectEmailfilterProfileMsnHotmail
Msn-Hotmail. The structure of msn_hotmail block is documented below.
name string
Profile name.
objectEmailfilterProfileId string
an identifier for the resource with format {{name}}.
options string[]
Options. Valid values: bannedword, spambwl, spamfsip, spamfssubmit, spamfschksum, spamfsurl, spamhelodns, spamraddrdns, spamrbl, spamhdrcheck, spamfsphish.
otherWebmails ObjectEmailfilterProfileOtherWebmails
Other-Webmails. The structure of other_webmails block is documented below.
pop3 ObjectEmailfilterProfilePop3
Pop3. The structure of pop3 block is documented below.
replacemsgGroup string
Replacement message group.
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
smtp ObjectEmailfilterProfileSmtp
Smtp. The structure of smtp block is documented below.
spamBalTable string
Anti-spam block/allow list table ID.
spamBwlTable string
Anti-spam black/white list table ID.
spamBwordTable string
Anti-spam banned word table ID.
spamBwordThreshold number
Spam banned word threshold.
spamFiltering string
Enable/disable spam filtering. Valid values: disable, enable.
spamIptrustTable string
Anti-spam IP trust table ID.
spamLog string
Enable/disable spam logging for email filtering. Valid values: disable, enable.
spamLogFortiguardResponse string
Enable/disable logging FortiGuard spam response. Valid values: disable, enable.
spamMheaderTable string
Anti-spam MIME header table ID.
spamRblTable string
Anti-spam DNSBL table ID.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment str
Comment.
external str
Enable/disable external Email inspection. Valid values: disable, enable.
feature_set str
Flow/proxy feature set. Valid values: proxy, flow.
file_filter ObjectEmailfilterProfileFileFilterArgs
File-Filter. The structure of file_filter block is documented below.
gmail ObjectEmailfilterProfileGmailArgs
Gmail. The structure of gmail block is documented below.
imap ObjectEmailfilterProfileImapArgs
Imap. The structure of imap block is documented below.
mapi ObjectEmailfilterProfileMapiArgs
Mapi. The structure of mapi block is documented below.
msn_hotmail ObjectEmailfilterProfileMsnHotmailArgs
Msn-Hotmail. The structure of msn_hotmail block is documented below.
name str
Profile name.
object_emailfilter_profile_id str
an identifier for the resource with format {{name}}.
options Sequence[str]
Options. Valid values: bannedword, spambwl, spamfsip, spamfssubmit, spamfschksum, spamfsurl, spamhelodns, spamraddrdns, spamrbl, spamhdrcheck, spamfsphish.
other_webmails ObjectEmailfilterProfileOtherWebmailsArgs
Other-Webmails. The structure of other_webmails block is documented below.
pop3 ObjectEmailfilterProfilePop3Args
Pop3. The structure of pop3 block is documented below.
replacemsg_group str
Replacement message group.
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
smtp ObjectEmailfilterProfileSmtpArgs
Smtp. The structure of smtp block is documented below.
spam_bal_table str
Anti-spam block/allow list table ID.
spam_bwl_table str
Anti-spam black/white list table ID.
spam_bword_table str
Anti-spam banned word table ID.
spam_bword_threshold float
Spam banned word threshold.
spam_filtering str
Enable/disable spam filtering. Valid values: disable, enable.
spam_iptrust_table str
Anti-spam IP trust table ID.
spam_log str
Enable/disable spam logging for email filtering. Valid values: disable, enable.
spam_log_fortiguard_response str
Enable/disable logging FortiGuard spam response. Valid values: disable, enable.
spam_mheader_table str
Anti-spam MIME header table ID.
spam_rbl_table str
Anti-spam DNSBL table ID.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment String
Comment.
external String
Enable/disable external Email inspection. Valid values: disable, enable.
featureSet String
Flow/proxy feature set. Valid values: proxy, flow.
fileFilter Property Map
File-Filter. The structure of file_filter block is documented below.
gmail Property Map
Gmail. The structure of gmail block is documented below.
imap Property Map
Imap. The structure of imap block is documented below.
mapi Property Map
Mapi. The structure of mapi block is documented below.
msnHotmail Property Map
Msn-Hotmail. The structure of msn_hotmail block is documented below.
name String
Profile name.
objectEmailfilterProfileId String
an identifier for the resource with format {{name}}.
options List<String>
Options. Valid values: bannedword, spambwl, spamfsip, spamfssubmit, spamfschksum, spamfsurl, spamhelodns, spamraddrdns, spamrbl, spamhdrcheck, spamfsphish.
otherWebmails Property Map
Other-Webmails. The structure of other_webmails block is documented below.
pop3 Property Map
Pop3. The structure of pop3 block is documented below.
replacemsgGroup String
Replacement message group.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
smtp Property Map
Smtp. The structure of smtp block is documented below.
spamBalTable String
Anti-spam block/allow list table ID.
spamBwlTable String
Anti-spam black/white list table ID.
spamBwordTable String
Anti-spam banned word table ID.
spamBwordThreshold Number
Spam banned word threshold.
spamFiltering String
Enable/disable spam filtering. Valid values: disable, enable.
spamIptrustTable String
Anti-spam IP trust table ID.
spamLog String
Enable/disable spam logging for email filtering. Valid values: disable, enable.
spamLogFortiguardResponse String
Enable/disable logging FortiGuard spam response. Valid values: disable, enable.
spamMheaderTable String
Anti-spam MIME header table ID.
spamRblTable String
Anti-spam DNSBL table ID.

Supporting Types

ObjectEmailfilterProfileFileFilter
, ObjectEmailfilterProfileFileFilterArgs

Entries List<ObjectEmailfilterProfileFileFilterEntry>
Entries. The structure of entries block is documented below.
Log string
Enable/disable file filter logging. Valid values: disable, enable.
ScanArchiveContents string
Enable/disable file filter archive contents scan. Valid values: disable, enable.
Status string
Enable/disable file filter. Valid values: disable, enable.
Entries []ObjectEmailfilterProfileFileFilterEntry
Entries. The structure of entries block is documented below.
Log string
Enable/disable file filter logging. Valid values: disable, enable.
ScanArchiveContents string
Enable/disable file filter archive contents scan. Valid values: disable, enable.
Status string
Enable/disable file filter. Valid values: disable, enable.
entries List<ObjectEmailfilterProfileFileFilterEntry>
Entries. The structure of entries block is documented below.
log String
Enable/disable file filter logging. Valid values: disable, enable.
scanArchiveContents String
Enable/disable file filter archive contents scan. Valid values: disable, enable.
status String
Enable/disable file filter. Valid values: disable, enable.
entries ObjectEmailfilterProfileFileFilterEntry[]
Entries. The structure of entries block is documented below.
log string
Enable/disable file filter logging. Valid values: disable, enable.
scanArchiveContents string
Enable/disable file filter archive contents scan. Valid values: disable, enable.
status string
Enable/disable file filter. Valid values: disable, enable.
entries Sequence[ObjectEmailfilterProfileFileFilterEntry]
Entries. The structure of entries block is documented below.
log str
Enable/disable file filter logging. Valid values: disable, enable.
scan_archive_contents str
Enable/disable file filter archive contents scan. Valid values: disable, enable.
status str
Enable/disable file filter. Valid values: disable, enable.
entries List<Property Map>
Entries. The structure of entries block is documented below.
log String
Enable/disable file filter logging. Valid values: disable, enable.
scanArchiveContents String
Enable/disable file filter archive contents scan. Valid values: disable, enable.
status String
Enable/disable file filter. Valid values: disable, enable.

ObjectEmailfilterProfileFileFilterEntry
, ObjectEmailfilterProfileFileFilterEntryArgs

Action string
Action taken for matched file. Valid values: log, block.
Comment string
Comment.
Encryption string
Encryption. Valid values: any, yes.
FileTypes List<string>
Select file type.
Filter string
Add a file filter.
PasswordProtected string
Match password-protected files. Valid values: any, yes.
Protocols List<string>
Protocols to apply with. Valid values: smtp, imap, pop3.
Action string
Action taken for matched file. Valid values: log, block.
Comment string
Comment.
Encryption string
Encryption. Valid values: any, yes.
FileTypes []string
Select file type.
Filter string
Add a file filter.
PasswordProtected string
Match password-protected files. Valid values: any, yes.
Protocols []string
Protocols to apply with. Valid values: smtp, imap, pop3.
action String
Action taken for matched file. Valid values: log, block.
comment String
Comment.
encryption String
Encryption. Valid values: any, yes.
fileTypes List<String>
Select file type.
filter String
Add a file filter.
passwordProtected String
Match password-protected files. Valid values: any, yes.
protocols List<String>
Protocols to apply with. Valid values: smtp, imap, pop3.
action string
Action taken for matched file. Valid values: log, block.
comment string
Comment.
encryption string
Encryption. Valid values: any, yes.
fileTypes string[]
Select file type.
filter string
Add a file filter.
passwordProtected string
Match password-protected files. Valid values: any, yes.
protocols string[]
Protocols to apply with. Valid values: smtp, imap, pop3.
action str
Action taken for matched file. Valid values: log, block.
comment str
Comment.
encryption str
Encryption. Valid values: any, yes.
file_types Sequence[str]
Select file type.
filter str
Add a file filter.
password_protected str
Match password-protected files. Valid values: any, yes.
protocols Sequence[str]
Protocols to apply with. Valid values: smtp, imap, pop3.
action String
Action taken for matched file. Valid values: log, block.
comment String
Comment.
encryption String
Encryption. Valid values: any, yes.
fileTypes List<String>
Select file type.
filter String
Add a file filter.
passwordProtected String
Match password-protected files. Valid values: any, yes.
protocols List<String>
Protocols to apply with. Valid values: smtp, imap, pop3.

ObjectEmailfilterProfileGmail
, ObjectEmailfilterProfileGmailArgs

Log string
Log. Valid values: disable, enable.
LogAll string
Enable/disable logging of all email traffic. Valid values: disable, enable.
Log string
Log. Valid values: disable, enable.
LogAll string
Enable/disable logging of all email traffic. Valid values: disable, enable.
log String
Log. Valid values: disable, enable.
logAll String
Enable/disable logging of all email traffic. Valid values: disable, enable.
log string
Log. Valid values: disable, enable.
logAll string
Enable/disable logging of all email traffic. Valid values: disable, enable.
log str
Log. Valid values: disable, enable.
log_all str
Enable/disable logging of all email traffic. Valid values: disable, enable.
log String
Log. Valid values: disable, enable.
logAll String
Enable/disable logging of all email traffic. Valid values: disable, enable.

ObjectEmailfilterProfileImap
, ObjectEmailfilterProfileImapArgs

Action string
Action for spam email. Valid values: pass, tag.
Log string
Log. Valid values: disable, enable.
LogAll string
Enable/disable logging of all email traffic. Valid values: disable, enable.
TagMsg string
Subject text or header added to spam email.
TagTypes List<string>
Tag subject or header for spam email. Valid values: subject, header, spaminfo.
Action string
Action for spam email. Valid values: pass, tag.
Log string
Log. Valid values: disable, enable.
LogAll string
Enable/disable logging of all email traffic. Valid values: disable, enable.
TagMsg string
Subject text or header added to spam email.
TagTypes []string
Tag subject or header for spam email. Valid values: subject, header, spaminfo.
action String
Action for spam email. Valid values: pass, tag.
log String
Log. Valid values: disable, enable.
logAll String
Enable/disable logging of all email traffic. Valid values: disable, enable.
tagMsg String
Subject text or header added to spam email.
tagTypes List<String>
Tag subject or header for spam email. Valid values: subject, header, spaminfo.
action string
Action for spam email. Valid values: pass, tag.
log string
Log. Valid values: disable, enable.
logAll string
Enable/disable logging of all email traffic. Valid values: disable, enable.
tagMsg string
Subject text or header added to spam email.
tagTypes string[]
Tag subject or header for spam email. Valid values: subject, header, spaminfo.
action str
Action for spam email. Valid values: pass, tag.
log str
Log. Valid values: disable, enable.
log_all str
Enable/disable logging of all email traffic. Valid values: disable, enable.
tag_msg str
Subject text or header added to spam email.
tag_types Sequence[str]
Tag subject or header for spam email. Valid values: subject, header, spaminfo.
action String
Action for spam email. Valid values: pass, tag.
log String
Log. Valid values: disable, enable.
logAll String
Enable/disable logging of all email traffic. Valid values: disable, enable.
tagMsg String
Subject text or header added to spam email.
tagTypes List<String>
Tag subject or header for spam email. Valid values: subject, header, spaminfo.

ObjectEmailfilterProfileMapi
, ObjectEmailfilterProfileMapiArgs

Action string
Action for spam email. Valid values: pass, discard.
Log string
Log. Valid values: disable, enable.
LogAll string
Enable/disable logging of all email traffic. Valid values: disable, enable.
Action string
Action for spam email. Valid values: pass, discard.
Log string
Log. Valid values: disable, enable.
LogAll string
Enable/disable logging of all email traffic. Valid values: disable, enable.
action String
Action for spam email. Valid values: pass, discard.
log String
Log. Valid values: disable, enable.
logAll String
Enable/disable logging of all email traffic. Valid values: disable, enable.
action string
Action for spam email. Valid values: pass, discard.
log string
Log. Valid values: disable, enable.
logAll string
Enable/disable logging of all email traffic. Valid values: disable, enable.
action str
Action for spam email. Valid values: pass, discard.
log str
Log. Valid values: disable, enable.
log_all str
Enable/disable logging of all email traffic. Valid values: disable, enable.
action String
Action for spam email. Valid values: pass, discard.
log String
Log. Valid values: disable, enable.
logAll String
Enable/disable logging of all email traffic. Valid values: disable, enable.

ObjectEmailfilterProfileMsnHotmail
, ObjectEmailfilterProfileMsnHotmailArgs

Log string
Log. Valid values: disable, enable.
LogAll string
Enable/disable logging of all email traffic. Valid values: disable, enable.
Log string
Log. Valid values: disable, enable.
LogAll string
Enable/disable logging of all email traffic. Valid values: disable, enable.
log String
Log. Valid values: disable, enable.
logAll String
Enable/disable logging of all email traffic. Valid values: disable, enable.
log string
Log. Valid values: disable, enable.
logAll string
Enable/disable logging of all email traffic. Valid values: disable, enable.
log str
Log. Valid values: disable, enable.
log_all str
Enable/disable logging of all email traffic. Valid values: disable, enable.
log String
Log. Valid values: disable, enable.
logAll String
Enable/disable logging of all email traffic. Valid values: disable, enable.

ObjectEmailfilterProfileOtherWebmails
, ObjectEmailfilterProfileOtherWebmailsArgs

LogAll string
Enable/disable logging of all email traffic. Valid values: disable, enable.
LogAll string
Enable/disable logging of all email traffic. Valid values: disable, enable.
logAll String
Enable/disable logging of all email traffic. Valid values: disable, enable.
logAll string
Enable/disable logging of all email traffic. Valid values: disable, enable.
log_all str
Enable/disable logging of all email traffic. Valid values: disable, enable.
logAll String
Enable/disable logging of all email traffic. Valid values: disable, enable.

ObjectEmailfilterProfilePop3
, ObjectEmailfilterProfilePop3Args

Action string
Log string
LogAll string
TagMsg string
TagTypes List<string>
Action string
Log string
LogAll string
TagMsg string
TagTypes []string
action String
log String
logAll String
tagMsg String
tagTypes List<String>
action string
log string
logAll string
tagMsg string
tagTypes string[]
action str
log str
log_all str
tag_msg str
tag_types Sequence[str]
action String
log String
logAll String
tagMsg String
tagTypes List<String>

ObjectEmailfilterProfileSmtp
, ObjectEmailfilterProfileSmtpArgs

Action string
Action for spam email. Valid values: pass, tag, discard.
Hdrip string
Enable/disable SMTP email header IP checks for spamfsip, spamrbl and spambwl filters. Valid values: disable, enable.
LocalOverride string
Enable/disable local filter to override SMTP remote check result. Valid values: disable, enable.
Log string
Log. Valid values: disable, enable.
LogAll string
Enable/disable logging of all email traffic. Valid values: disable, enable.
TagMsg string
Subject text or header added to spam email.
TagTypes List<string>
Tag subject or header for spam email. Valid values: subject, header, spaminfo.
Action string
Action for spam email. Valid values: pass, tag, discard.
Hdrip string
Enable/disable SMTP email header IP checks for spamfsip, spamrbl and spambwl filters. Valid values: disable, enable.
LocalOverride string
Enable/disable local filter to override SMTP remote check result. Valid values: disable, enable.
Log string
Log. Valid values: disable, enable.
LogAll string
Enable/disable logging of all email traffic. Valid values: disable, enable.
TagMsg string
Subject text or header added to spam email.
TagTypes []string
Tag subject or header for spam email. Valid values: subject, header, spaminfo.
action String
Action for spam email. Valid values: pass, tag, discard.
hdrip String
Enable/disable SMTP email header IP checks for spamfsip, spamrbl and spambwl filters. Valid values: disable, enable.
localOverride String
Enable/disable local filter to override SMTP remote check result. Valid values: disable, enable.
log String
Log. Valid values: disable, enable.
logAll String
Enable/disable logging of all email traffic. Valid values: disable, enable.
tagMsg String
Subject text or header added to spam email.
tagTypes List<String>
Tag subject or header for spam email. Valid values: subject, header, spaminfo.
action string
Action for spam email. Valid values: pass, tag, discard.
hdrip string
Enable/disable SMTP email header IP checks for spamfsip, spamrbl and spambwl filters. Valid values: disable, enable.
localOverride string
Enable/disable local filter to override SMTP remote check result. Valid values: disable, enable.
log string
Log. Valid values: disable, enable.
logAll string
Enable/disable logging of all email traffic. Valid values: disable, enable.
tagMsg string
Subject text or header added to spam email.
tagTypes string[]
Tag subject or header for spam email. Valid values: subject, header, spaminfo.
action str
Action for spam email. Valid values: pass, tag, discard.
hdrip str
Enable/disable SMTP email header IP checks for spamfsip, spamrbl and spambwl filters. Valid values: disable, enable.
local_override str
Enable/disable local filter to override SMTP remote check result. Valid values: disable, enable.
log str
Log. Valid values: disable, enable.
log_all str
Enable/disable logging of all email traffic. Valid values: disable, enable.
tag_msg str
Subject text or header added to spam email.
tag_types Sequence[str]
Tag subject or header for spam email. Valid values: subject, header, spaminfo.
action String
Action for spam email. Valid values: pass, tag, discard.
hdrip String
Enable/disable SMTP email header IP checks for spamfsip, spamrbl and spambwl filters. Valid values: disable, enable.
localOverride String
Enable/disable local filter to override SMTP remote check result. Valid values: disable, enable.
log String
Log. Valid values: disable, enable.
logAll String
Enable/disable logging of all email traffic. Valid values: disable, enable.
tagMsg String
Subject text or header added to spam email.
tagTypes List<String>
Tag subject or header for spam email. Valid values: subject, header, spaminfo.

Import

ObjectEmailfilter Profile can be imported using any of these accepted formats:

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectEmailfilterProfile:ObjectEmailfilterProfile labelname {{name}}
Copy

$ unset “FORTIMANAGER_IMPORT_TABLE”

-> Hint: The scopetype and adom for import will directly inherit the scopetype and adom configuration of the provider.

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
fortimanager fortinetdev/terraform-provider-fortimanager
License
Notes
This Pulumi package is based on the fortimanager Terraform Provider.