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.8 2008/05/02 02:05:04 swildner Exp $
39 .Nd DragonFly Mail Agent
52 is a small Mail Transport Agent (MTA), designed for home and office use.
53 It accepts mails from locally installed Mail User Agents (MUA) and
54 delivers the mails either locally or to a remote destination.
55 Remote delivery includes several features like TLS/SSL support and SMTP
56 authentication (AUTH LOGIN only).
59 is not intended as a replacement for real, big MTAs like
65 does not listen on port 25 for incoming connections.
67 The options are as follows:
68 .Bl -tag -width indent
71 acts as a compatibility option for sendmail.
75 will list all mails currently stored in the mail queue.
76 All other modes are are ignored.
78 Don't run in the background.
84 Ignore dots alone on lines by themselves in incoming messages.
85 This should be set if you are reading data from a file.
87 Set the identifier used in syslog messages to the supplied
89 This is a compatibility option for sendmail.
91 This is a compatibility option for sendmail.
97 All other options are ignored.
99 Process saved messages in the queue.
106 can be configured with three config files:
117 These three files are stored per default in
120 Every file contains parameters of the form
122 Lines containing boolean values are set to
124 if the line is commented and to
126 if the line is uncommented.
127 Empty lines or lines beginning with a
130 Parameter names and their values are case sensitive.
133 SMTP authentication can be configured in
135 Each line has the format
136 .Dq Li user|smarthost:password .
138 Most of the behaviour of
144 (string, default=empty)
146 If you want to send outgoing mails via a smarthost, set this variable to
147 your smarthosts address.
149 (numeric, default=25)
151 Use this port to deliver remote emails.
152 Only useful together with the
156 will deliver all mails to this port, regardless if a smarthost is set or not.
158 (string, default=/etc/mail/aliases)
160 Path to the local aliases file.
161 Just stick with the default.
163 (string, default=/var/spool/dma)
168 Just stick with the default.
170 (string, default=/etc/dma/virtusertable)
176 (string, default=/etc/dma/auth.conf)
182 (boolean, default=commented)
184 Comment if you want virtual user support.
185 .It Ic SECURETRANS Xo
186 (boolean, default=commented)
188 Comment if you want TLS/SSL secured transfer.
190 (boolean, default=commented)
192 Comment if you want to use STARTTLS.
193 Only useful together with
196 (string, default=empty)
198 Path to your SSL certificate file.
200 (boolean, default=commented)
204 to use plain text SMTP login over an insecure connection.
205 You have to rename this variable manually to prevent that you send your
206 password accidentally over an insecure connection.
208 (boolean, default=commented)
210 Comment if you want that
213 You have to flush your mail queue manually with the
216 This option is handy if you are behind a dialup line.
221 file specifies a virtual user table.
222 Each line has the format
223 .Dq Li localuser:mail-address .
224 Some smarthosts do not accept mails from unresolvable email address
225 (e.g. user@localhost) so you have to rewrite your outgoing email
226 address to a valid address.
233 .%T "Simple Mail Transfer Protocol"
238 .%T "SMTP Service Extension for Authentication"
243 .%T "SMTP Service Extension for Secure SMTP over TLS"
249 utility first appeared in
254 .An Matthias Schmidt Aq matthias@dragonflybsd.org
256 .An Simon Schubert Aq corecode@dragonflybsd.org .