Specify E-Mail Immediate Retry Settings

$email_settings dnstimeout dnsattempts smtptimeout rate [IPv6|IPv6ALL]

This command specifies the immediate retries and timeouts for the email subsystem.

The parameters on this command are used as follows:

dnstimeout The number of milliseconds to wait for each MX-record look-up to complete. This timeout is also used to control the connection to the SMTP port before login to the remote MTA, and is also automatically incremented for each successive MX-record look-up and login attempt in the same transmission.
dnsattempts The number of attempts to look up MX-records for the e-mail destination address. If there are multiple DNS servers configured in the network settings on the machine running COPIAFACTS, then each DNS server is used in turn during each 'attempt'. The value must be one or greater.  If there are no 'A' records for the domain, the look-up is abandoned after the first pass through the DNS servers.
smtptimeout The number of milliseconds to wait for an SMTP send operation to complete after connection to the remote MTA. This value is automatically increased to allow for the size of attachment files, but it should be specified as long enough for transmitting your usual body and alternate body text.
rate The worst-case transmission rate in bytes per second. This is used to calculate an increment to the timeout counter when attachments are used. For example if you have a line capable of 8k bytes/sec and are running 4 lines of e-mail, enter a value of 2000 (which is also the default). Then when you attach a 100kb file, CopiaFacts will automatically extend the timeout by 50 seconds.
IPv6A keyword to indicate that IPv6 will be used when available for MX look-up, and for any outbound e-mail where $email_options keyword IPv6 is used.  IPv4 is used as a fallback in all cases where no IPv6 destination is available.
IPv6ALLA keyword to indicate that IPv6 will be used when available for MX look-up and for all e-mail transactions. IPv4 is used as a fallback in all cases where no IPv6 destination is available.

If you need to modify any setting, all numeric values must be supplied.

The numeric values can be overridden using variables EMAIL_DNS_TIMEOUT, EMAIL_DNS_ATTEMPTS, EMAIL_SMTP_TIMEOUT and EMAIL_SMTP_RATE.

Defaults: DNS timeout: 5000, DNS attempts: 4, SMTP timeout: 30000, rate 2000.

Example:

$email_settings 5000 3 35000 10000