Fortinet black logo

CLI Reference

user alias

user alias

Use this command to configure email address aliases.

Aliases are sometimes also called distribution lists, and may translate one email address to the email addresses of several recipients, also called members, or may be simply a literal alias — that is, an alternative email address that resolves to the real email address of a single email user.

For example, groupa@example.com might be an alias that the FortiMail unit will expand to user1@example.com and user2@example.com, having the effect of distributing an email message to all email addresses that are members of that alias, while john.smith@example.com might be an alias that the FortiMail unit translates to j.smith@example.com. In both cases, the FortiMail unit converts the alias in the recipient fields of incoming email messages into the member email addresses of the alias, each of which are the email address of an email user that is locally deliverable on the SMTP server or FortiMail unit.

Resolving aliases to real email addresses enables the FortiMail unit to send a single spam report and maintain a single quarantine mailbox at each user’s primary email account, rather than sending separate spam reports and maintaining separate quarantine mailboxes for each alias email address. For FortiMail units operating in server mode, this means that users need only log in to their primary account in order to manage their spam quarantine, rather than logging in to each alias account individually.

Alternatively, you can configure an LDAP profile in which the alias query is enabled. For details, see profile ldap.

Syntax

config user alias

edit name <email‑alias_str>

set member <recipient_str>

end

Variable

Description

Default

name <email‑alias_str>

Enter the email address that is the alias, such as alias1@example.com.

member <recipient_str>

Enter a recipient email addresses to which the alias will translate or expand. The email addresses may be members of either mail domains that are protected by the FortiMail unit, members of mail domains that are unprotected, or a mixture of the two. Separate each email address with a space, and enclose the list in single quotes ( ' ).

add_member '<recipient_str>'

Enter one or more recipient email addresses to add them to the existing list of alias members. Separate each email address with a space, and enclose the list in single quotes ( ' ).

Related topics

user map

user pki

user alias

Use this command to configure email address aliases.

Aliases are sometimes also called distribution lists, and may translate one email address to the email addresses of several recipients, also called members, or may be simply a literal alias — that is, an alternative email address that resolves to the real email address of a single email user.

For example, groupa@example.com might be an alias that the FortiMail unit will expand to user1@example.com and user2@example.com, having the effect of distributing an email message to all email addresses that are members of that alias, while john.smith@example.com might be an alias that the FortiMail unit translates to j.smith@example.com. In both cases, the FortiMail unit converts the alias in the recipient fields of incoming email messages into the member email addresses of the alias, each of which are the email address of an email user that is locally deliverable on the SMTP server or FortiMail unit.

Resolving aliases to real email addresses enables the FortiMail unit to send a single spam report and maintain a single quarantine mailbox at each user’s primary email account, rather than sending separate spam reports and maintaining separate quarantine mailboxes for each alias email address. For FortiMail units operating in server mode, this means that users need only log in to their primary account in order to manage their spam quarantine, rather than logging in to each alias account individually.

Alternatively, you can configure an LDAP profile in which the alias query is enabled. For details, see profile ldap.

Syntax

config user alias

edit name <email‑alias_str>

set member <recipient_str>

end

Variable

Description

Default

name <email‑alias_str>

Enter the email address that is the alias, such as alias1@example.com.

member <recipient_str>

Enter a recipient email addresses to which the alias will translate or expand. The email addresses may be members of either mail domains that are protected by the FortiMail unit, members of mail domains that are unprotected, or a mixture of the two. Separate each email address with a space, and enclose the list in single quotes ( ' ).

add_member '<recipient_str>'

Enter one or more recipient email addresses to add them to the existing list of alias members. Separate each email address with a space, and enclose the list in single quotes ( ' ).

Related topics

user map

user pki