]> git.ipfire.org Git - people/ms/dma.git/blobdiff - dma.8
make ppa: force lower version number
[people/ms/dma.git] / dma.8
diff --git a/dma.8 b/dma.8
index 54272a62c3153aded32d7a8ad07103a2697118b7..18b2c8c16db10f38278a0e13603634bf42f0bdac 100644 (file)
--- a/dma.8
+++ b/dma.8
@@ -31,7 +31,7 @@
 .\"
 .\" $DragonFly: src/libexec/dma/dma.8,v 1.10 2008/09/06 14:17:56 swildner Exp $
 .\"
-.Dd September 2, 2008
+.Dd April 22, 2010
 .Dt DMA 8
 .Os
 .Sh NAME
 .Sh SYNOPSIS
 .Nm
 .Op Fl DiOt
-.Op Fl A Ar mode
-.Op Fl b Ar mode
+.Op Fl A Ns Ar mode
+.Op Fl b Ns Ar mode
 .Op Fl f Ar sender
 .Op Fl L Ar tag
-.Op Fl o Ar option
+.Op Fl o Ns Ar option
 .Op Fl r Ar sender
-.Op Fl q Ar arg
+.Op Fl q Ns Op Ar arg
 .Op Ar recipient ...
 .Sh DESCRIPTION
 .Nm
@@ -67,10 +67,10 @@ does not listen on port 25 for incoming connections.
 .Pp
 The options are as follows:
 .Bl -tag -width indent
-.It Fl A Ar mode
-.Fl A Ns Ar c
+.It Fl A Ns Ar mode
+.Fl \&Ac
 acts as a compatibility option for sendmail.
-.It Fl b Ar mode
+.It Fl b Ns Ar mode
 .Bl -tag -width indent
 .It Fl bp
 List all mails currently stored in the mail queue.
@@ -88,8 +88,10 @@ s are are ignored.
 Don't run in the background.
 Useful for debugging.
 .It Fl f Ar sender
-Set sender address to
+Set sender address (envelope-from) to
 .Ar sender .
+This overrides the value of the environment variable
+.Ev EMAIL .
 .It Fl i
 Ignore dots alone on lines by themselves in incoming messages.
 This should be set if you are reading data from a file.
@@ -99,21 +101,22 @@ Set the identifier used in syslog messages to the supplied
 This is a compatibility option for sendmail.
 .It Fl O
 This is a compatibility option for sendmail.
-.It Fl o Ar option
+.It Fl o Ns Ar option
 Specifying
-.Fl o Ns Ar i
+.Fl oi
 is synonymous to
 .Fl i .
 All other options are ignored.
-.It Fl q Ar arg
+.It Fl q Ns Op Ar arg
 Process saved messages in the queue.
-The argument is required for compatibility with sendmail, and ignored.
+The argument is optional and ignored.
 .It Fl r Ar sender
 Same as
 .Fl f .
 .It Fl t
 Obtain recipient addresses from the message header.
-.Nm will parse the
+.Nm
+will parse the
 .Li To: ,
 .Li Cc: ,
 and
@@ -134,8 +137,6 @@ can be configured with three config files:
 auth.conf
 .It
 dma.conf
-.It
-virtusertable
 .El
 .Pp
 These three files are stored per default in
@@ -180,7 +181,7 @@ option, because
 will deliver all mails to this port, regardless of whether a smarthost is set
 or not.
 .It Ic ALIASES Xo
-(string, default=/etc/mail/aliases)
+(string, default=/etc/aliases)
 .Xc
 Path to the local aliases file.
 Just stick with the default.
@@ -191,32 +192,36 @@ Path to
 .Nm Ap s
 spool directory.
 Just stick with the default.
-.It Ic VIRTPATH Xo
-(string, default=/etc/dma/virtusertable)
-.Xc
-Path to the
-.Sq virtusertable
-file.
 .It Ic AUTHPATH Xo
-(string, default=/etc/dma/auth.conf)
+(string, default=not set)
 .Xc
 Path to the
 .Sq auth.conf
 file.
-.It Ic VIRTUAL Xo
-(boolean, default=commented)
-.Xc
-Comment if you want virtual user support.
 .It Ic SECURETRANS Xo
 (boolean, default=commented)
 .Xc
-Comment if you want TLS/SSL secured transfer.
+Uncomment if you want TLS/SSL secured transfer.
 .It Ic STARTTLS Xo
 (boolean, default=commented)
 .Xc
-Comment if you want to use STARTTLS.
+Uncomment if you want to use STARTTLS.
 Only useful together with
 .Sq SECURETRANS .
+.It Ic OPPORTUNISTIC_TLS Xo
+(boolean, default=commented)
+.Xc
+Uncomment if you want to allow the STARTTLS negotiation to fail.
+Most useful when
+.Nm
+is used without a smarthost, delivering remote messages directly to
+the outside mail exchangers; in opportunistic TLS mode, the connection will
+be encrypted if the remote server supports STARTTLS, but an unencrypted
+delivery will still be made if the negotiation fails.
+Only useful together with
+.Sq SECURETRANS
+and
+.Sq STARTTLS .
 .It Ic CERTFILE Xo
 (string, default=empty)
 .Xc
@@ -224,7 +229,7 @@ Path to your SSL certificate file.
 .It Ic SECURE Xo
 (boolean, default=commented)
 .Xc
-Change this entry to
+Uncomment this entry and change it to
 .Sq INSECURE
 to use plain text SMTP login over an insecure connection.
 You have to rename this variable manually to prevent that you send your
@@ -232,7 +237,7 @@ password accidentally over an insecure connection.
 .It Ic DEFER Xo
 (boolean, default=commented)
 .Xc
-Comment if you want that
+Uncomment if you want that
 .Nm
 defers your mail.
 You have to flush your mail queue manually with the
@@ -247,27 +252,32 @@ message, not just the headers.
 .It Ic MAILNAME Xo
 (string, default=empty)
 .Xc
-The name to be used when introducing this host, if different from
-the result of
-.Xr hostname 1 .
-If specified, this option overrides
-.Sq MAILNAMEFILE .
-.It Ic MAILNAMEFILE Xo
-(string, default=empty)
-.Xc
-The name of the file to read the
+The internet hostname
+.Nm
+uses to identify the host.
+If not set or empty, the result of
+.Xr gethostname 2
+is used.
+If
 .Sq MAILNAME
-from.
+is an absolute path to a file, the first line of this file will be used
+as the hostname.
+.El
+.Ss Environment variables
+The behavior of
+.Nm
+can be influenced by some environment variables.
+.Pp
+.Bl -tag -width 4n
+.It Ev EMAIL Xo
+.Xc
+Used to set the sender address (envelope-from).
+Use a plain address, in the form of
+.Li user@example.com .
+This value will be overridden when the
+.Fl f
+flag is used.
 .El
-.Ss virtusertable
-The
-.Pa virtusertable
-file specifies a virtual user table.
-Each line has the format
-.Dq Li localuser:mail-address .
-Some smarthosts do not accept mails from unresolvable email address
-(e.g.\& user@localhost) so you have to rewrite your outgoing email
-address to a valid address.
 .Sh SEE ALSO
 .Xr mailaddr 7 ,
 .Xr mailwrapper 8 ,