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
37 .Nd DragonFly Mail Agent
51 is a small Mail Transport Agent (MTA), designed for home and office use.
52 It accepts mails from locally installed Mail User Agents (MUA) and
53 delivers the mails either locally or to a remote destination.
54 Remote delivery includes several features like TLS/SSL support and SMTP
58 is not intended as a replacement for real, big MTAs like
64 does not listen on port 25 for incoming connections.
66 The options are as follows:
67 .Bl -tag -width indent
70 acts as a compatibility option for sendmail.
72 .Bl -tag -width indent
74 List all mails currently stored in the mail queue.
76 Queue the mail, but don't attempt to deliver it.
79 config file setting below.
86 Don't run in the background.
89 Set sender address (envelope-from) to
91 This overrides the value of the environment variable
94 Ignore dots alone on lines by themselves in incoming messages.
95 This should be set if you are reading data from a file.
97 Set the identifier used in syslog messages to the supplied
99 This is a compatibility option for sendmail.
101 This is a compatibility option for sendmail.
102 .It Fl o Ns Ar option
107 All other options are ignored.
108 .It Fl q Ns Op Ar arg
109 Process saved messages in the queue.
110 The argument is optional and ignored.
115 Obtain recipient addresses from the message header.
125 header will be removed independent of whether
131 can be configured with two config files:
140 These two files are stored per default in
143 Every file contains parameters of the form
145 Lines containing boolean values are set to
147 if the line is commented and to
149 if the line is uncommented.
150 Empty lines or lines beginning with a
153 Parameter names and their values are case sensitive.
156 SMTP authentication can be configured in
158 Each line has the format
159 .Dq Li user|smarthost:password .
161 Most of the behaviour of
167 (string, default=empty)
169 If you want to send outgoing mails via a smarthost, set this variable to
170 your smarthosts address.
172 (numeric, default=25)
174 Use this port to deliver remote emails.
175 Only useful together with the
179 will deliver all mails to this port, regardless of whether a smarthost is set
182 (string, default=/etc/aliases)
184 Path to the local aliases file.
185 Just stick with the default.
186 The aliases file is of the format
187 .Dl nam: dest1 dest2 ...
188 In this case, mails to
190 will instead be delivered to
194 which in turn could be entries in
198 can be used to create a catch-all alias, which gets used if no other
199 matching alias is found.
200 Use the catch-all alias only if you don't want any local mail to be
203 (string, default=/var/spool/dma)
208 Just stick with the default.
210 (string, default=not set)
215 .It Ic SECURETRANS Xo
216 (boolean, default=commented)
218 Uncomment if you want TLS/SSL secured transfer.
220 (boolean, default=commented)
222 Uncomment if you want to use STARTTLS.
223 Only useful together with
225 .It Ic OPPORTUNISTIC_TLS Xo
226 (boolean, default=commented)
228 Uncomment if you want to allow the STARTTLS negotiation to fail.
231 is used without a smarthost, delivering remote messages directly to
232 the outside mail exchangers; in opportunistic TLS mode, the connection will
233 be encrypted if the remote server supports STARTTLS, but an unencrypted
234 delivery will still be made if the negotiation fails.
235 Only useful together with
240 (string, default=empty)
242 Path to your SSL certificate file.
244 (boolean, default=commented)
246 Uncomment this entry and change it to
248 to use plain text SMTP login over an insecure connection.
249 You have to rename this variable manually to prevent that you send your
250 password accidentally over an insecure connection.
252 (boolean, default=commented)
254 Uncomment if you want that
257 You have to flush your mail queue manually with the
260 This option is handy if you are behind a dialup line.
262 (boolean, default=commented)
264 Uncomment if you want the bounce message to include the complete original
265 message, not just the headers.
267 (string, default=empty)
269 The internet hostname
271 uses to identify the host.
272 If not set or empty, the result of
277 is an absolute path to a file, the first line of this file will be used
280 (string, default=empty)
282 Masquerade the envelope-from addresses with this address/hostname.
283 Use this setting if mails are not accepted by destination mail servers
284 because your sender domain is invalid.
285 This setting is overridden by the
289 environment variable.
295 sign, the string is interpreted as a host name.
302 will send all mails as
306 will send all mails as
307 .Ql Sm off Va username @percolator .
311 Bypass aliases and local delivery, and instead forward all mails to
319 .Ss Environment variables
322 can be influenced by some environment variables.
326 Used to set the sender address (envelope-from).
327 Use a plain address, in the form of
328 .Li user@example.com .
329 This value will be overridden when the
339 .%T "Simple Mail Transfer Protocol"
344 .%T "SMTP Service Extension for Authentication"
349 .%T "SMTP Service Extension for Secure SMTP over TLS"
355 utility first appeared in
361 .An Matthias Schmidt Aq Mt matthias@dragonflybsd.org
363 .An Simon Schubert Aq Mt 2@0x2c.org .