Main index | Section 8 | Options |
dma is not intended as a replacement for real, big MTAs like sendmail(8) or postfix(1). Consequently, dma does not listen on port 25 for incoming connections.
The options are as follows:
| |
| |
| |
| |
List all mails currently stored in the mail queue. | |
| |
Queue the mail, but do not attempt to deliver it. See also the 'DEFER' config file setting below. | |
All other mode s are ignored.
| |
Do not run in the background. Useful for debugging. | |
| |
Set sender address (envelope-from) to sender. This overrides the value of the EMAIL environment variable, but is overridden by the 'MASQUERADE' config file setting. | |
| |
Ignore dots alone on lines by themselves in incoming messages. This should be set if you are reading data from a file. | |
| |
Set the identifier used in syslog messages to the supplied tag. This is a compatibility option for sendmail. | |
| |
This is a compatibility option for sendmail. | |
| |
Specifying
| |
| |
Process saved messages in the queue. The argument is optional and ignored. | |
| |
Same as
| |
| |
Obtain recipient addresses from the message header.
dma
will parse the
To:,
Cc:,
and
Bcc:
headers.
The
Bcc:
header will be removed independent of whether
| |
These two files are stored per default in /etc/dma.
SMARTHOST | |
(string, default=empty) If you want to send outgoing mails via a smarthost, set this variable to your smarthosts address. | |
PORT | |
(numeric, default=25) Use this port to deliver remote emails. Only useful together with the 'SMARTHOST' option, because dma will deliver all mails to this port, regardless of whether a smarthost is set or not. | |
ALIASES | |
(string, default=/etc/aliases)
Path to the local aliases file.
Just stick with the default.
The aliases file is of the format
nam: dest1 dest2 ... In this case, mails to nam will instead be delivered to dest1 and dest2, which in turn could be entries in /etc/aliases. The special name ‘*’ can be used to create a catch-all alias, which gets used if no other matching alias is found. Use the catch-all alias only if you do not want any local mail to be delivered. | |
SPOOLDIR | |
(string, default=/var/spool/dma) Path to Ap spool directory. Just stick with the default. | |
AUTHPATH | |
(string, default=not set) Path to the 'auth.conf' file. | |
SECURETRANSFER | |
(boolean, default=commented) Uncomment if you want TLS/SSL secured transfer. | |
STARTTLS | |
(boolean, default=commented) Uncomment if you want to use STARTTLS. Only useful together with 'SECURETRANSFER'. | |
FINGERPRINT | |
(string, default=empty) Pin the server certificate by specifying its SHA256 fingerprint. Only makes sense if you use a smarthost. | |
OPPORTUNISTIC_TLS | |
(boolean, default=commented) Uncomment if you want to allow the STARTTLS negotiation to fail. Most useful when dma 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 'SECURETRANSFER' and 'STARTTLS'. | |
CERTFILE | |
(string, default=empty) Path to your SSL certificate file. | |
SECURE | |
(boolean, default=commented) Uncomment this entry and change it to 'INSECURE' to use plain text SMTP login over an insecure connection. You have to rename this variable manually to prevent that you send your password accidentally over an insecure connection. | |
DEFER | |
(boolean, default=commented)
Uncomment if you want that
dma
defers your mail.
You have to flush your mail queue manually with the
| |
FULLBOUNCE | |
(boolean, default=commented) Uncomment if you want the bounce message to include the complete original message, not just the headers. | |
MAILNAME | |
(string, default=empty) The internet hostname dma uses to identify the host. If not set or empty, the result of gethostname(3) is used. If 'MAILNAME' is an absolute path to a file, the first line of this file will be used as the hostname. | |
MASQUERADE | |
(string, default=empty)
Masquerade the envelope-from addresses with this address/hostname.
Use this setting if mails are not accepted by destination mail servers
because your sender domain is invalid.
This setting overrides the
If
'MASQUERADE'
does not contain a
@
sign, the string is interpreted as a host name.
For example, setting
'MASQUERADE'
to
‘john@’
on host
‘hamlet’
will send all mails as
‘john@hamlet’;
setting it to
‘percolator’
will send all mails as
‘ | |
NULLCLIENT | |
(boolean, default=commented) Bypass aliases and local delivery, and instead forward all mails to the defined 'SMARTHOST'. 'NULLCLIENT' requires 'SMARTHOST' to be set. | |
Used to set the sender address (envelope-from).
Use a plain address, in the form of
user@example.com.
This value will be overridden when the
'MASQUERADE'
config file setting or the
| |
RFC 821, Simple Mail Transfer Protocol,
,RFC 2554, SMTP Service Extension for Authentication,
,RFC 2487, SMTP Service Extension for Secure SMTP over TLS,
,DMA (8) | May 20, 2017 |
Main index | Section 8 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.