3 .\" The DragonFly Project. All rights reserved.
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\" notice, this list of conditions and the following disclaimer in
13 .\" the documentation and/or other materials provided with the
15 .\" 3. Neither the name of The DragonFly Project nor the names of its
16 .\" contributors may be used to endorse or promote products derived
17 .\" from this software without specific, prior written permission.
19 .\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20 .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21 .\" LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
22 .\" FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
23 .\" COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24 .\" INCIDENTAL, SPECIAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING,
25 .\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
26 .\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
27 .\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28 .\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
29 .\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 .\" $DragonFly: src/libexec/dma/dma.8,v 1.10 2008/09/06 14:17:56 swildner Exp $
39 .Nd DragonFly Mail Agent
53 is a small Mail Transport Agent (MTA), designed for home and office use.
54 It accepts mails from locally installed Mail User Agents (MUA) and
55 delivers the mails either locally or to a remote destination.
56 Remote delivery includes several features like TLS/SSL support and SMTP
60 is not intended as a replacement for real, big MTAs like
66 does not listen on port 25 for incoming connections.
68 The options are as follows:
69 .Bl -tag -width indent
72 acts as a compatibility option for sendmail.
74 .Bl -tag -width indent
76 List all mails currently stored in the mail queue.
78 Queue the mail, but don't attempt to deliver it.
81 config file setting below.
88 Don't run in the background.
91 Set sender address (envelope-from) to
93 This overrides the value of the environment variable
96 Ignore dots alone on lines by themselves in incoming messages.
97 This should be set if you are reading data from a file.
99 Set the identifier used in syslog messages to the supplied
101 This is a compatibility option for sendmail.
103 This is a compatibility option for sendmail.
104 .It Fl o Ns Ar option
109 All other options are ignored.
110 .It Fl q Ns Op Ar arg
111 Process saved messages in the queue.
112 The argument is optional and ignored.
117 Obtain recipient addresses from the message header.
127 header will be removed independent of whether
133 can be configured with three config files:
142 These three files are stored per default in
145 Every file contains parameters of the form
147 Lines containing boolean values are set to
149 if the line is commented and to
151 if the line is uncommented.
152 Empty lines or lines beginning with a
155 Parameter names and their values are case sensitive.
158 SMTP authentication can be configured in
160 Each line has the format
161 .Dq Li user|smarthost:password .
163 Most of the behaviour of
169 (string, default=empty)
171 If you want to send outgoing mails via a smarthost, set this variable to
172 your smarthosts address.
174 (numeric, default=25)
176 Use this port to deliver remote emails.
177 Only useful together with the
181 will deliver all mails to this port, regardless of whether a smarthost is set
184 (string, default=/etc/aliases)
186 Path to the local aliases file.
187 Just stick with the default.
189 (string, default=/var/spool/dma)
194 Just stick with the default.
196 (string, default=/etc/dma/auth.conf)
201 .It Ic SECURETRANS Xo
202 (boolean, default=commented)
204 Uncomment if you want TLS/SSL secured transfer.
206 (boolean, default=commented)
208 Uncomment if you want to use STARTTLS.
209 Only useful together with
211 .It Ic OPPORTUNISTIC_TLS Xo
212 (boolean, default=commented)
214 Uncomment if you want to allow the STARTTLS negotiation to fail.
217 is used without a smarthost, delivering remote messages directly to
218 the outside mail exchangers; in opportunistic TLS mode, the connection will
219 be encrypted if the remote server supports STARTTLS, but an unencrypted
220 delivery will still be made if the negotiation fails.
221 Only useful together with
226 (string, default=empty)
228 Path to your SSL certificate file.
230 (boolean, default=commented)
232 Uncomment this entry and change it to
234 to use plain text SMTP login over an insecure connection.
235 You have to rename this variable manually to prevent that you send your
236 password accidentally over an insecure connection.
238 (boolean, default=commented)
240 Uncomment if you want that
243 You have to flush your mail queue manually with the
246 This option is handy if you are behind a dialup line.
248 (boolean, default=commented)
250 Uncomment if you want the bounce message to include the complete original
251 message, not just the headers.
253 (string, default=empty)
255 The internet hostname
257 uses to identify the host.
258 If not set or empty, the result of
263 is an absolute path to a file, the first line of this file will be used
266 .Ss Environment variables
269 can be influenced by some environment variables.
274 Used to set the sender address (envelope-from).
275 Use a plain address, in the form of
276 .Li user@example.com .
277 This value will be overridden when the
287 .%T "Simple Mail Transfer Protocol"
292 .%T "SMTP Service Extension for Authentication"
297 .%T "SMTP Service Extension for Secure SMTP over TLS"
303 utility first appeared in
308 .An Matthias Schmidt Aq matthias@dragonflybsd.org
310 .An Simon Schubert Aq corecode@dragonflybsd.org .