xref: /dragonfly/libexec/dma/dma.conf (revision 92fe556d)
1de46b612SSimon Schubert# $DragonFly: src/etc/dma/dma.conf,v 1.2 2008/02/04 10:11:41 matthias Exp $
2de46b612SSimon Schubert#
3de46b612SSimon Schubert# Your smarthost (also called relayhost).  Leave blank if you don't want
4de46b612SSimon Schubert# smarthost support.
5c8b07ee5SSascha Wildner# NOTE: on Debian systems this is handled via debconf!
6c8b07ee5SSascha Wildner# Please use dpkg-reconfigure dma to change this value.
7de46b612SSimon Schubert#SMARTHOST
8de46b612SSimon Schubert
9de46b612SSimon Schubert# Use this SMTP port.  Most users will be fine with the default (25)
10de46b612SSimon Schubert#PORT 25
11de46b612SSimon Schubert
12de46b612SSimon Schubert# Path to your alias file.  Just stay with the default.
13c8b07ee5SSascha Wildner#ALIASES /etc/aliases
14de46b612SSimon Schubert
15de46b612SSimon Schubert# Path to your spooldir.  Just stay with the default.
16de46b612SSimon Schubert#SPOOLDIR /var/spool/dma
17de46b612SSimon Schubert
18de46b612SSimon Schubert# SMTP authentication
19de46b612SSimon Schubert#AUTHPATH /etc/dma/auth.conf
20de46b612SSimon Schubert
21*92fe556dSDaniel Fojt# Uncomment if you want TLS/SSL support
22de46b612SSimon Schubert#SECURETRANSFER
23de46b612SSimon Schubert
24de46b612SSimon Schubert# Uncomment if you want STARTTLS support (only used in combination with
25de46b612SSimon Schubert# SECURETRANSFER)
26de46b612SSimon Schubert#STARTTLS
27de46b612SSimon Schubert
28*92fe556dSDaniel Fojt# Pin the server certificate by specifying its SHA256 fingerprint.
29*92fe556dSDaniel Fojt# Only makes sense if you use a smarthost.
30*92fe556dSDaniel Fojt#FINGERPRINT 1234567890ABCDEF1234567890ABCDEF1234567890ABCDEF1234567890ABCDEF
31*92fe556dSDaniel Fojt
32c8b07ee5SSascha Wildner# Uncomment if you have specified STARTTLS above and it should be allowed
33c8b07ee5SSascha Wildner# to fail ("opportunistic TLS", use an encrypted connection when available
34c8b07ee5SSascha Wildner# but allow an unencrypted one to servers that do not support it)
35c8b07ee5SSascha Wildner#OPPORTUNISTIC_TLS
36c8b07ee5SSascha Wildner
37de46b612SSimon Schubert# Path to your local SSL certificate
38de46b612SSimon Schubert#CERTFILE
39de46b612SSimon Schubert
40de46b612SSimon Schubert# If you want to use plain text SMTP login without using encryption, change
41de46b612SSimon Schubert# the SECURE entry below to INSECURE.  Otherwise plain login will only work
42de46b612SSimon Schubert# over a secure connection.  Use this option with caution.
43de46b612SSimon Schubert#SECURE
44de46b612SSimon Schubert
45de46b612SSimon Schubert# Uncomment if you want to defer your mails.  This is useful if you are
46de46b612SSimon Schubert# behind a dialup line.  You have to submit your mails manually with dma -q
47de46b612SSimon Schubert#DEFER
48de46b612SSimon Schubert
49de46b612SSimon Schubert# Uncomment if you want the bounce message to include the complete original
50de46b612SSimon Schubert# message, not just the headers.
51de46b612SSimon Schubert#FULLBOUNCE
52de46b612SSimon Schubert
53c8b07ee5SSascha Wildner# The internet hostname dma uses to identify the host.
54c8b07ee5SSascha Wildner# If not set or empty, the result of gethostname(2) is used.
55c8b07ee5SSascha Wildner# If MAILNAME is an absolute path to a file, the first line of this file
56c8b07ee5SSascha Wildner# will be used as the hostname.
57de46b612SSimon Schubert#MAILNAME mail.example.net
58de46b612SSimon Schubert
59c8b07ee5SSascha Wildner# Masquerade envelope from addresses with this address/hostname.
60c8b07ee5SSascha Wildner# Use this if mails are not accepted by destination mail servers because
61c8b07ee5SSascha Wildner# your sender domain is invalid.
62c8b07ee5SSascha Wildner# By default, MASQUERADE is not set.
63c8b07ee5SSascha Wildner# Format: MASQUERADE [user@][host]
64c8b07ee5SSascha Wildner# Examples:
65c8b07ee5SSascha Wildner# MASQUERADE john@  on host "hamlet" will send all mails as john@hamlet
66c8b07ee5SSascha Wildner# MASQUERADE percolator  will send mails as $username@percolator, e.g. fish@percolator
67c8b07ee5SSascha Wildner# MASQUERADE herb@ert  will send all mails as herb@ert
6814dfb991SJoris Giovannangeli
6914dfb991SJoris Giovannangeli# Directly forward the mail to the SMARTHOST bypassing aliases and local delivery
7014dfb991SJoris Giovannangeli#NULLCLIENT
71