Manpage of qmail-remote
Section: Maintenance Commands (8)
Return to Main Contents
qmail-remote - send mail via SMTP
reads a mail message from its input
and sends the message
to one or more recipients
at a remote host.
The remote host is
sends the message to
or to a mail exchanger for
listed in the Domain Name System,
via the Simple Mail Transfer Protocol (SMTP).
can be either a fully-qualified domain name:
or an IP address enclosed in brackets:
The envelope recipient addresses are listed as
The envelope sender address is listed as
does not take options
and does not follow the
End-of-file in SMTP is encoded as dot CR LF.
A dot at the beginning of a line is encoded as dot dot.
It is impossible in SMTP to send a message that does not end with a newline.
converts the UNIX newline convention into the SMTP newline convention
by inserting CR before each LF.
It is a violation of the SMTP protocol
to send a message that contains long lines or non-ASCII characters.
will happily send such messages.
It is the user's responsibility to avoid generating illegal messages.
prints some number of
followed by a
Each report is terminated by a 0 byte.
Each report begins with a single letter:
Recipient report: acceptance.
Recipient report: permanent rejection.
Recipient report: temporary rejection.
Message report: success.
has taken responsibility for delivering the message to each
Message report: temporary failure.
Message report: permanent failure.
After this letter comes a human-readable description of
The recipient reports will always be printed in the same order as
Note that in failure cases there may be fewer
always exits zero.
SSL certificate that is used to authenticate with the remote server
during a TLS session.
Current host name,
for use solely in saying hello to the remote SMTP server.
if that is supplied;
refuses to run.
will not try TLS on servers for which this file exists
is the fully-qualified domain name of the server).
takes precedence over this file however).
Artificial SMTP routes.
Each route has the form
without any extra spaces.
will connect to
as its only MX.
(It will also avoid doing any CNAME lookups on
may include a colon and a port number to use instead of the
normal SMTP port, 25:
may be empty;
to look up MX records as usual.
value of 465 (deprecated smtps port) causes TLS session to be started.
may include wildcards:
any address ending with
is routed by its MX records;
any other address is artificially routed to
system does not protect you if you create an artificial
mail loop between machines.
you are always safe using
if you do not accept mail from the network.
Number of seconds
will wait for the remote SMTP server to accept a connection.
The kernel normally imposes a 75-second upper limit.
Number of seconds
will wait for each response from the remote SMTP server.
A set of OpenSSL client cipher strings. Multiple ciphers
contained in a string should be separated by a colon.
requires TLS authentication from servers for which this file exists
is the fully-qualified domain name of the server). One of the
attributes have to match. The file contains the trusted CA certificates.
this option may cause mail to be delayed, bounced, doublebounced, or lost.
if this file exists
no TLS will be tried on hosts other than those for which a file
- CONTROL FILES
- SEE ALSO
This document was created by
using the manual pages.
Time: 02:14:49 GMT, October 23, 2009