GNU Mailutils Manual (split by node):   Section:   Chapter:FastBack: Mailbox   Up: Mailbox   FastForward: Programs   Contents: Table of ContentsIndex: Function Index

2.3 SMTP Mailboxes

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.

smtp

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:

domain=string

Append ‘@string’ to those recipient addresses that lack the domain part.

from=addr

Use addr as sender address.

noauth

Disable ESMTP authentication.

notls

Disable TLS.

recipient-headers[=name[,name...]]

Use the supplied header names to determine recipient addresses. When no values are supplied, disables header scanning.

strip-domain

Strip domain part from all recipient addresses.

to=addr[,addr...]

Deliver messages to the supplied email addresses.

smtps

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.

GNU Mailutils Manual (split by node):   Section:   Chapter:FastBack: Mailbox   Up: Mailbox   FastForward: Programs   Contents: Table of ContentsIndex: Function Index