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

fortimanager.SystempSystemEmailserver

Explore with Pulumi AI

Configure the email server used by the FortiGate various things. For example, for sending email messages to users to support user authentication features.

Example Usage

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

const trname = new fortimanager.SystempSystemEmailserver("trname", {
    authenticate: "disable",
    devprof: "default",
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname = fortimanager.SystempSystemEmailserver("trname",
    authenticate="disable",
    devprof="default")
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.NewSystempSystemEmailserver(ctx, "trname", &fortimanager.SystempSystemEmailserverArgs{
			Authenticate: pulumi.String("disable"),
			Devprof:      pulumi.String("default"),
		})
		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.SystempSystemEmailserver("trname", new()
    {
        Authenticate = "disable",
        Devprof = "default",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.SystempSystemEmailserver;
import com.pulumi.fortimanager.SystempSystemEmailserverArgs;
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 SystempSystemEmailserver("trname", SystempSystemEmailserverArgs.builder()
            .authenticate("disable")
            .devprof("default")
            .build());

    }
}
Copy
resources:
  trname:
    type: fortimanager:SystempSystemEmailserver
    properties:
      authenticate: disable
      devprof: default
Copy

Create SystempSystemEmailserver Resource

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

Constructor syntax

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

@overload
def SystempSystemEmailserver(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             devprof: Optional[str] = None,
                             scopetype: Optional[str] = None,
                             source_ip: Optional[str] = None,
                             interface: Optional[str] = None,
                             interface_select_method: Optional[str] = None,
                             passwords: Optional[Sequence[str]] = None,
                             port: Optional[float] = None,
                             reply_to: Optional[str] = None,
                             adom: Optional[str] = None,
                             authenticate: Optional[str] = None,
                             security: Optional[str] = None,
                             server: Optional[str] = None,
                             source_ip6: Optional[str] = None,
                             ssl_min_proto_version: Optional[str] = None,
                             systemp_system_emailserver_id: Optional[str] = None,
                             type: Optional[str] = None,
                             username: Optional[str] = None,
                             validate_server: Optional[str] = None,
                             vrf_select: Optional[float] = None)
func NewSystempSystemEmailserver(ctx *Context, name string, args SystempSystemEmailserverArgs, opts ...ResourceOption) (*SystempSystemEmailserver, error)
public SystempSystemEmailserver(string name, SystempSystemEmailserverArgs args, CustomResourceOptions? opts = null)
public SystempSystemEmailserver(String name, SystempSystemEmailserverArgs args)
public SystempSystemEmailserver(String name, SystempSystemEmailserverArgs args, CustomResourceOptions options)
type: fortimanager:SystempSystemEmailserver
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 This property is required. SystempSystemEmailserverArgs
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 This property is required. SystempSystemEmailserverArgs
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 This property is required. SystempSystemEmailserverArgs
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 This property is required. SystempSystemEmailserverArgs
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. SystempSystemEmailserverArgs
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 systempSystemEmailserverResource = new Fortimanager.SystempSystemEmailserver("systempSystemEmailserverResource", new()
{
    Devprof = "string",
    Scopetype = "string",
    SourceIp = "string",
    Interface = "string",
    InterfaceSelectMethod = "string",
    Passwords = new[]
    {
        "string",
    },
    Port = 0,
    ReplyTo = "string",
    Adom = "string",
    Authenticate = "string",
    Security = "string",
    Server = "string",
    SourceIp6 = "string",
    SslMinProtoVersion = "string",
    SystempSystemEmailserverId = "string",
    Type = "string",
    Username = "string",
    ValidateServer = "string",
    VrfSelect = 0,
});
Copy
example, err := fortimanager.NewSystempSystemEmailserver(ctx, "systempSystemEmailserverResource", &fortimanager.SystempSystemEmailserverArgs{
Devprof: pulumi.String("string"),
Scopetype: pulumi.String("string"),
SourceIp: pulumi.String("string"),
Interface: pulumi.String("string"),
InterfaceSelectMethod: pulumi.String("string"),
Passwords: pulumi.StringArray{
pulumi.String("string"),
},
Port: pulumi.Float64(0),
ReplyTo: pulumi.String("string"),
Adom: pulumi.String("string"),
Authenticate: pulumi.String("string"),
Security: pulumi.String("string"),
Server: pulumi.String("string"),
SourceIp6: pulumi.String("string"),
SslMinProtoVersion: pulumi.String("string"),
SystempSystemEmailserverId: pulumi.String("string"),
Type: pulumi.String("string"),
Username: pulumi.String("string"),
ValidateServer: pulumi.String("string"),
VrfSelect: pulumi.Float64(0),
})
Copy
var systempSystemEmailserverResource = new SystempSystemEmailserver("systempSystemEmailserverResource", SystempSystemEmailserverArgs.builder()
    .devprof("string")
    .scopetype("string")
    .sourceIp("string")
    .interface_("string")
    .interfaceSelectMethod("string")
    .passwords("string")
    .port(0)
    .replyTo("string")
    .adom("string")
    .authenticate("string")
    .security("string")
    .server("string")
    .sourceIp6("string")
    .sslMinProtoVersion("string")
    .systempSystemEmailserverId("string")
    .type("string")
    .username("string")
    .validateServer("string")
    .vrfSelect(0)
    .build());
Copy
systemp_system_emailserver_resource = fortimanager.SystempSystemEmailserver("systempSystemEmailserverResource",
    devprof="string",
    scopetype="string",
    source_ip="string",
    interface="string",
    interface_select_method="string",
    passwords=["string"],
    port=0,
    reply_to="string",
    adom="string",
    authenticate="string",
    security="string",
    server="string",
    source_ip6="string",
    ssl_min_proto_version="string",
    systemp_system_emailserver_id="string",
    type="string",
    username="string",
    validate_server="string",
    vrf_select=0)
Copy
const systempSystemEmailserverResource = new fortimanager.SystempSystemEmailserver("systempSystemEmailserverResource", {
    devprof: "string",
    scopetype: "string",
    sourceIp: "string",
    "interface": "string",
    interfaceSelectMethod: "string",
    passwords: ["string"],
    port: 0,
    replyTo: "string",
    adom: "string",
    authenticate: "string",
    security: "string",
    server: "string",
    sourceIp6: "string",
    sslMinProtoVersion: "string",
    systempSystemEmailserverId: "string",
    type: "string",
    username: "string",
    validateServer: "string",
    vrfSelect: 0,
});
Copy
type: fortimanager:SystempSystemEmailserver
properties:
    adom: string
    authenticate: string
    devprof: string
    interface: string
    interfaceSelectMethod: string
    passwords:
        - string
    port: 0
    replyTo: string
    scopetype: string
    security: string
    server: string
    sourceIp: string
    sourceIp6: string
    sslMinProtoVersion: string
    systempSystemEmailserverId: string
    type: string
    username: string
    validateServer: string
    vrfSelect: 0
Copy

SystempSystemEmailserver 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 SystempSystemEmailserver resource accepts the following input properties:

Devprof This property is required. string
Devprof.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Authenticate string
Enable/disable authentication. Valid values: disable, enable.
Interface string
Specify outgoing interface to reach server.
InterfaceSelectMethod string
Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
Passwords List<string>
SMTP server user password for authentication.
Port double
SMTP server port.
ReplyTo string
Reply-To email address.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Security string
Connection security used by the email server. Valid values: none, starttls, smtps.
Server string
SMTP server IP address or hostname.
SourceIp string
SMTP server IPv4 source IP.
SourceIp6 string
SMTP server IPv6 source IP.
SslMinProtoVersion string
Minimum supported protocol version for SSL/TLS connections (default is to follow system global setting). Valid values: default, TLSv1, TLSv1-1, TLSv1-2, SSLv3.
SystempSystemEmailserverId string
an identifier for the resource.
Type string
Use FortiGuard Message service or custom email server. Valid values: custom.
Username string
SMTP server user name for authentication.
ValidateServer string
Enable/disable validation of server certificate. Valid values: disable, enable.
VrfSelect double
VRF ID used for connection to server.
Devprof This property is required. string
Devprof.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Authenticate string
Enable/disable authentication. Valid values: disable, enable.
Interface string
Specify outgoing interface to reach server.
InterfaceSelectMethod string
Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
Passwords []string
SMTP server user password for authentication.
Port float64
SMTP server port.
ReplyTo string
Reply-To email address.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Security string
Connection security used by the email server. Valid values: none, starttls, smtps.
Server string
SMTP server IP address or hostname.
SourceIp string
SMTP server IPv4 source IP.
SourceIp6 string
SMTP server IPv6 source IP.
SslMinProtoVersion string
Minimum supported protocol version for SSL/TLS connections (default is to follow system global setting). Valid values: default, TLSv1, TLSv1-1, TLSv1-2, SSLv3.
SystempSystemEmailserverId string
an identifier for the resource.
Type string
Use FortiGuard Message service or custom email server. Valid values: custom.
Username string
SMTP server user name for authentication.
ValidateServer string
Enable/disable validation of server certificate. Valid values: disable, enable.
VrfSelect float64
VRF ID used for connection to server.
devprof This property is required. String
Devprof.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
authenticate String
Enable/disable authentication. Valid values: disable, enable.
interfaceSelectMethod String
Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
interface_ String
Specify outgoing interface to reach server.
passwords List<String>
SMTP server user password for authentication.
port Double
SMTP server port.
replyTo String
Reply-To email address.
scopetype String
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
security String
Connection security used by the email server. Valid values: none, starttls, smtps.
server String
SMTP server IP address or hostname.
sourceIp String
SMTP server IPv4 source IP.
sourceIp6 String
SMTP server IPv6 source IP.
sslMinProtoVersion String
Minimum supported protocol version for SSL/TLS connections (default is to follow system global setting). Valid values: default, TLSv1, TLSv1-1, TLSv1-2, SSLv3.
systempSystemEmailserverId String
an identifier for the resource.
type String
Use FortiGuard Message service or custom email server. Valid values: custom.
username String
SMTP server user name for authentication.
validateServer String
Enable/disable validation of server certificate. Valid values: disable, enable.
vrfSelect Double
VRF ID used for connection to server.
devprof This property is required. string
Devprof.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
authenticate string
Enable/disable authentication. Valid values: disable, enable.
interface string
Specify outgoing interface to reach server.
interfaceSelectMethod string
Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
passwords string[]
SMTP server user password for authentication.
port number
SMTP server port.
replyTo string
Reply-To email address.
scopetype string
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
security string
Connection security used by the email server. Valid values: none, starttls, smtps.
server string
SMTP server IP address or hostname.
sourceIp string
SMTP server IPv4 source IP.
sourceIp6 string
SMTP server IPv6 source IP.
sslMinProtoVersion string
Minimum supported protocol version for SSL/TLS connections (default is to follow system global setting). Valid values: default, TLSv1, TLSv1-1, TLSv1-2, SSLv3.
systempSystemEmailserverId string
an identifier for the resource.
type string
Use FortiGuard Message service or custom email server. Valid values: custom.
username string
SMTP server user name for authentication.
validateServer string
Enable/disable validation of server certificate. Valid values: disable, enable.
vrfSelect number
VRF ID used for connection to server.
devprof This property is required. str
Devprof.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
authenticate str
Enable/disable authentication. Valid values: disable, enable.
interface str
Specify outgoing interface to reach server.
interface_select_method str
Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
passwords Sequence[str]
SMTP server user password for authentication.
port float
SMTP server port.
reply_to str
Reply-To email address.
scopetype str
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
security str
Connection security used by the email server. Valid values: none, starttls, smtps.
server str
SMTP server IP address or hostname.
source_ip str
SMTP server IPv4 source IP.
source_ip6 str
SMTP server IPv6 source IP.
ssl_min_proto_version str
Minimum supported protocol version for SSL/TLS connections (default is to follow system global setting). Valid values: default, TLSv1, TLSv1-1, TLSv1-2, SSLv3.
systemp_system_emailserver_id str
an identifier for the resource.
type str
Use FortiGuard Message service or custom email server. Valid values: custom.
username str
SMTP server user name for authentication.
validate_server str
Enable/disable validation of server certificate. Valid values: disable, enable.
vrf_select float
VRF ID used for connection to server.
devprof This property is required. String
Devprof.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
authenticate String
Enable/disable authentication. Valid values: disable, enable.
interface String
Specify outgoing interface to reach server.
interfaceSelectMethod String
Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
passwords List<String>
SMTP server user password for authentication.
port Number
SMTP server port.
replyTo String
Reply-To email address.
scopetype String
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
security String
Connection security used by the email server. Valid values: none, starttls, smtps.
server String
SMTP server IP address or hostname.
sourceIp String
SMTP server IPv4 source IP.
sourceIp6 String
SMTP server IPv6 source IP.
sslMinProtoVersion String
Minimum supported protocol version for SSL/TLS connections (default is to follow system global setting). Valid values: default, TLSv1, TLSv1-1, TLSv1-2, SSLv3.
systempSystemEmailserverId String
an identifier for the resource.
type String
Use FortiGuard Message service or custom email server. Valid values: custom.
username String
SMTP server user name for authentication.
validateServer String
Enable/disable validation of server certificate. Valid values: disable, enable.
vrfSelect Number
VRF ID used for connection to server.

Outputs

All input properties are implicitly available as output properties. Additionally, the SystempSystemEmailserver 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 SystempSystemEmailserver Resource

Get an existing SystempSystemEmailserver 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?: SystempSystemEmailserverState, opts?: CustomResourceOptions): SystempSystemEmailserver
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        authenticate: Optional[str] = None,
        devprof: Optional[str] = None,
        interface: Optional[str] = None,
        interface_select_method: Optional[str] = None,
        passwords: Optional[Sequence[str]] = None,
        port: Optional[float] = None,
        reply_to: Optional[str] = None,
        scopetype: Optional[str] = None,
        security: Optional[str] = None,
        server: Optional[str] = None,
        source_ip: Optional[str] = None,
        source_ip6: Optional[str] = None,
        ssl_min_proto_version: Optional[str] = None,
        systemp_system_emailserver_id: Optional[str] = None,
        type: Optional[str] = None,
        username: Optional[str] = None,
        validate_server: Optional[str] = None,
        vrf_select: Optional[float] = None) -> SystempSystemEmailserver
func GetSystempSystemEmailserver(ctx *Context, name string, id IDInput, state *SystempSystemEmailserverState, opts ...ResourceOption) (*SystempSystemEmailserver, error)
public static SystempSystemEmailserver Get(string name, Input<string> id, SystempSystemEmailserverState? state, CustomResourceOptions? opts = null)
public static SystempSystemEmailserver get(String name, Output<String> id, SystempSystemEmailserverState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:SystempSystemEmailserver    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.
Authenticate string
Enable/disable authentication. Valid values: disable, enable.
Devprof string
Devprof.
Interface string
Specify outgoing interface to reach server.
InterfaceSelectMethod string
Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
Passwords List<string>
SMTP server user password for authentication.
Port double
SMTP server port.
ReplyTo string
Reply-To email address.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Security string
Connection security used by the email server. Valid values: none, starttls, smtps.
Server string
SMTP server IP address or hostname.
SourceIp string
SMTP server IPv4 source IP.
SourceIp6 string
SMTP server IPv6 source IP.
SslMinProtoVersion string
Minimum supported protocol version for SSL/TLS connections (default is to follow system global setting). Valid values: default, TLSv1, TLSv1-1, TLSv1-2, SSLv3.
SystempSystemEmailserverId string
an identifier for the resource.
Type string
Use FortiGuard Message service or custom email server. Valid values: custom.
Username string
SMTP server user name for authentication.
ValidateServer string
Enable/disable validation of server certificate. Valid values: disable, enable.
VrfSelect double
VRF ID used for connection to server.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Authenticate string
Enable/disable authentication. Valid values: disable, enable.
Devprof string
Devprof.
Interface string
Specify outgoing interface to reach server.
InterfaceSelectMethod string
Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
Passwords []string
SMTP server user password for authentication.
Port float64
SMTP server port.
ReplyTo string
Reply-To email address.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Security string
Connection security used by the email server. Valid values: none, starttls, smtps.
Server string
SMTP server IP address or hostname.
SourceIp string
SMTP server IPv4 source IP.
SourceIp6 string
SMTP server IPv6 source IP.
SslMinProtoVersion string
Minimum supported protocol version for SSL/TLS connections (default is to follow system global setting). Valid values: default, TLSv1, TLSv1-1, TLSv1-2, SSLv3.
SystempSystemEmailserverId string
an identifier for the resource.
Type string
Use FortiGuard Message service or custom email server. Valid values: custom.
Username string
SMTP server user name for authentication.
ValidateServer string
Enable/disable validation of server certificate. Valid values: disable, enable.
VrfSelect float64
VRF ID used for connection to server.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
authenticate String
Enable/disable authentication. Valid values: disable, enable.
devprof String
Devprof.
interfaceSelectMethod String
Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
interface_ String
Specify outgoing interface to reach server.
passwords List<String>
SMTP server user password for authentication.
port Double
SMTP server port.
replyTo String
Reply-To email address.
scopetype String
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
security String
Connection security used by the email server. Valid values: none, starttls, smtps.
server String
SMTP server IP address or hostname.
sourceIp String
SMTP server IPv4 source IP.
sourceIp6 String
SMTP server IPv6 source IP.
sslMinProtoVersion String
Minimum supported protocol version for SSL/TLS connections (default is to follow system global setting). Valid values: default, TLSv1, TLSv1-1, TLSv1-2, SSLv3.
systempSystemEmailserverId String
an identifier for the resource.
type String
Use FortiGuard Message service or custom email server. Valid values: custom.
username String
SMTP server user name for authentication.
validateServer String
Enable/disable validation of server certificate. Valid values: disable, enable.
vrfSelect Double
VRF ID used for connection to server.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
authenticate string
Enable/disable authentication. Valid values: disable, enable.
devprof string
Devprof.
interface string
Specify outgoing interface to reach server.
interfaceSelectMethod string
Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
passwords string[]
SMTP server user password for authentication.
port number
SMTP server port.
replyTo string
Reply-To email address.
scopetype string
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
security string
Connection security used by the email server. Valid values: none, starttls, smtps.
server string
SMTP server IP address or hostname.
sourceIp string
SMTP server IPv4 source IP.
sourceIp6 string
SMTP server IPv6 source IP.
sslMinProtoVersion string
Minimum supported protocol version for SSL/TLS connections (default is to follow system global setting). Valid values: default, TLSv1, TLSv1-1, TLSv1-2, SSLv3.
systempSystemEmailserverId string
an identifier for the resource.
type string
Use FortiGuard Message service or custom email server. Valid values: custom.
username string
SMTP server user name for authentication.
validateServer string
Enable/disable validation of server certificate. Valid values: disable, enable.
vrfSelect number
VRF ID used for connection to server.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
authenticate str
Enable/disable authentication. Valid values: disable, enable.
devprof str
Devprof.
interface str
Specify outgoing interface to reach server.
interface_select_method str
Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
passwords Sequence[str]
SMTP server user password for authentication.
port float
SMTP server port.
reply_to str
Reply-To email address.
scopetype str
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
security str
Connection security used by the email server. Valid values: none, starttls, smtps.
server str
SMTP server IP address or hostname.
source_ip str
SMTP server IPv4 source IP.
source_ip6 str
SMTP server IPv6 source IP.
ssl_min_proto_version str
Minimum supported protocol version for SSL/TLS connections (default is to follow system global setting). Valid values: default, TLSv1, TLSv1-1, TLSv1-2, SSLv3.
systemp_system_emailserver_id str
an identifier for the resource.
type str
Use FortiGuard Message service or custom email server. Valid values: custom.
username str
SMTP server user name for authentication.
validate_server str
Enable/disable validation of server certificate. Valid values: disable, enable.
vrf_select float
VRF ID used for connection to server.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
authenticate String
Enable/disable authentication. Valid values: disable, enable.
devprof String
Devprof.
interface String
Specify outgoing interface to reach server.
interfaceSelectMethod String
Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
passwords List<String>
SMTP server user password for authentication.
port Number
SMTP server port.
replyTo String
Reply-To email address.
scopetype String
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
security String
Connection security used by the email server. Valid values: none, starttls, smtps.
server String
SMTP server IP address or hostname.
sourceIp String
SMTP server IPv4 source IP.
sourceIp6 String
SMTP server IPv6 source IP.
sslMinProtoVersion String
Minimum supported protocol version for SSL/TLS connections (default is to follow system global setting). Valid values: default, TLSv1, TLSv1-1, TLSv1-2, SSLv3.
systempSystemEmailserverId String
an identifier for the resource.
type String
Use FortiGuard Message service or custom email server. Valid values: custom.
username String
SMTP server user name for authentication.
validateServer String
Enable/disable validation of server certificate. Valid values: disable, enable.
vrfSelect Number
VRF ID used for connection to server.

Import

Systemp SystemEmailServer can be imported using any of these accepted formats:

Set import_options = [“devprof=YOUR_VALUE”] in the provider section.

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/systempSystemEmailserver:SystempSystemEmailserver labelname SystempSystemEmailServer
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.