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