GNU Mailutils |
|
General-Purpose Mail Package |
Official GNU Software |
SMTP mailboxes types are special remote mailboxes that allow only append operation. Appending a message is equivalent to sending it to the given recipient or recipients.
A remote mailbox accessed using the Simple Message Transfer Protocol.
The SMTP URL syntax is:
smtp://[user[:pass][;auth=mech,...]@]host[:port][;params]
The host gives the name or IP address of the host running SMTP server. Optional port can be used to connect to a port other than the default 25.
The user, pass, and ‘auth=’ elements supply credentials for ESMTP authentication, if the server supports it.
If the ESMTP authentication is used, Mailutils will select the best authentication mechanism from the list offered by the server. To force it to use a particular authentication mechanism, use the ‘auth’ authentication parameter. Its value is a comma-separated list of authentication mechanisms, in the order from the most to the least preferred one, e.g.:
smtp://smith:guessme;auth=cram-md5,digest-md5@localhost
Optional params is a semicolon-separated list of additional parameters. Valid parameters are:
Append ‘@string’ to those recipient addresses that lack the domain part.
Use addr as sender address.
Disable ESMTP authentication.
Disable TLS.
Use the supplied header names to determine recipient addresses. When no values are supplied, disables header scanning.
Strip domain part from all recipient addresses.
Deliver messages to the supplied email addresses.
A remote mailbox accessed using the Simple Message Transfer Protocol, with the transmission channel encrypted using the transport layer security (TLS). The default port is 465.
The URL is
smtps://[user[:pass][;auth=mech,...]@]host[:port][;params]
See the ‘smtp’ type for a detailed description of its types. The only difference from ‘smtp’ is that the ‘notls’ parameter is not used.
This document was generated on January 2, 2022 using makeinfo.
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.