mailsetting relay-host-list
Use this command to, if needed, configure the FortiMail unit's built-in MTA or proxy to relay outgoing mail through one or more SMTP relays.
For more information, see the FortiMail Administration Guide.
|
|
Outgoing mail relay settings will be ignored if either:
|
Syntax
config mailsetting relay-host-list
edit <name_str>
set relay-type {host | ip-group | mx-lookup}
set host-name {<mta_ipv4> | <mta_fqdn>}
set ip-group-profile <profile_name>
set mx-lookup-domain-name <domain_str>
set use-smtps {enable | disable}
set auth-status {enable | disable}
set auth-type {auto | plain | login | digest-md5 | cram‑md5 | ntlm}
set auth-password <password_str>
end
|
Variable |
Description |
Default |
|
Enter a unique name for the entry. |
|
|
|
Enter the password of the FortiMail unit’s user account on the mail relay. This setting applies if |
|
|
|
Enable this setting if the mail relay requires SMTP authentication (ESMTP |
disable |
|
|
auth-type {auto | plain | login | digest-md5 | cram‑md5 | ntlm} |
Select the type of SMTP authentication, either:
This setting applies if |
auto |
|
Enter the name of the FortiMail unit’s user account on the mail relay. This setting applies if |
|
|
|
Enter the FQDN or IP address of the mail relay. This setting applies only if |
|
|
|
Enter the listening port number on the mail relay. |
25 |
|
|
Enter an IP address group profile. This setting applies only if |
|
|
|
Enter a domain name to look up its mail relays in the DNS This setting applies only if |
|
|
|
Select how you will define the mail relays.
|
host |
|
|
Enable to initiate SSL- and TLS-secured connections to the mail relay if it supports SSL/TLS. When disabled, SMTP connections from the FortiMail unit’s built-in MTA or proxy to the mail relay will occur as clear text, unencrypted. |
disable |