<< Click to Display Table of Contents >> Navigation: Sensor Settings > Capture Results Delivery > Manual Setup (Config File) > SMTP Profiles |
A sample setup of a delivery profile using SMTP is provided below:
<Profile name="smtp-main" enabled="true" default="false">
<Option name="protocol" value="smtp" />
<Option name="smtp-server" value="smtp.domain.com" />
<Option name="smtp-port" value="465" />
<Option name="enable-ssl" value="true" />
<Option name="mail-from" value="sensor@internal.net" />
<Option name="mail-to" value="archive@internal.net" />
<Option name="tcp-timeout" value="10" />
<Option name="save-headers" value="all" />
<Option name="keep-connection" value="false" />
<Option name="profile-fail-timeout" value="10" />
<Option name="go-profile-weight" value="1" />
<Option name="go-profile-reserve" value="false" />
</Profile>
Description of SMTP profile options:
protocol
Defines the data transfer protocol
smtp-server
Defines the network address of the SMTP server. It may be specified as an IP address or a DNS name. For example: smtp.domain.com or 192.168.0.11
smtp-port
Defines the port number of the SMTP server, for example: 465
enable-ssl
Defines the SSL tunnel usage status. Example: true or false
mail-from
Defines the message sender address. Example: sensor@internal.net
mail-to
Defines the message recipient address. Example: sensor@internal.net
tcp-timeout
Defines the time to attempt to connect the SMTP server (in milliseconds), for example, 10
keep-connection
Enables/disables sending messages via the same connection to the SMTP server. If this option is disabled, then each message will be sent via a separate TCP connection.
save-headers
Enables/disables saving of standard message headers, as well as X-Sensor headers, in a separate message attachment named microolap_msis_headers.txt.
Possible values:
all
Saves all message headers
xsensor
Saves headers with the X-Sensor prefix
other
Saves standard headers (From, To, Cc, Bcc) and also any others to which xsensor settings don't apply
none
Disables saving of headers in a separate attachment.
profile-fail-timeout
Defines the timeout for message delivery in the event of receiver rejection. Provide a value in seconds.
go-profile-weight
Determines a ratio for distribution of messages among receivers. Possible values are from 1 to 10. The setting is valid only when used in a group profile.
go-profile-reserve
Enables/disables the use of the reserve profile. If this setting is enabled and the main (non-reserve) delivery profiles fail, this profile will be used for message delivery. The setting is valid only when used in a group profile.