xref: /freebsd/libexec/dma/dmagent/dma.conf (revision c92400a6f690a82ab84eb0b97cc8bf169e44e4e8)
14b3d93d3SBaptiste Daroussin#
24b3d93d3SBaptiste Daroussin# Your smarthost (also called relayhost).  Leave blank if you don't want
34b3d93d3SBaptiste Daroussin# smarthost support.
44b3d93d3SBaptiste Daroussin#SMARTHOST
54b3d93d3SBaptiste Daroussin
64b3d93d3SBaptiste Daroussin# Use this SMTP port.  Most users will be fine with the default (25)
74b3d93d3SBaptiste Daroussin#PORT 25
84b3d93d3SBaptiste Daroussin
94b3d93d3SBaptiste Daroussin# Path to your alias file.  Just stay with the default.
104b3d93d3SBaptiste Daroussin#ALIASES /etc/aliases
114b3d93d3SBaptiste Daroussin
124b3d93d3SBaptiste Daroussin# Path to your spooldir.  Just stay with the default.
134b3d93d3SBaptiste Daroussin#SPOOLDIR /var/spool/dma
144b3d93d3SBaptiste Daroussin
154b3d93d3SBaptiste Daroussin# SMTP authentication
164b3d93d3SBaptiste Daroussin#AUTHPATH /etc/dma/auth.conf
174b3d93d3SBaptiste Daroussin
18*c92400a6SMikael Urankar# Uncomment if you want TLS/SSL support
194b3d93d3SBaptiste Daroussin#SECURETRANSFER
204b3d93d3SBaptiste Daroussin
214b3d93d3SBaptiste Daroussin# Uncomment if you want STARTTLS support (only used in combination with
224b3d93d3SBaptiste Daroussin# SECURETRANSFER)
234b3d93d3SBaptiste Daroussin#STARTTLS
244b3d93d3SBaptiste Daroussin
254b3d93d3SBaptiste Daroussin# Uncomment if you have specified STARTTLS above and it should be allowed
264b3d93d3SBaptiste Daroussin# to fail ("opportunistic TLS", use an encrypted connection when available
274b3d93d3SBaptiste Daroussin# but allow an unencrypted one to servers that do not support it)
284b3d93d3SBaptiste Daroussin#OPPORTUNISTIC_TLS
294b3d93d3SBaptiste Daroussin
304b3d93d3SBaptiste Daroussin# Path to your local SSL certificate
314b3d93d3SBaptiste Daroussin#CERTFILE
324b3d93d3SBaptiste Daroussin
334b3d93d3SBaptiste Daroussin# If you want to use plain text SMTP login without using encryption, change
344b3d93d3SBaptiste Daroussin# the SECURE entry below to INSECURE.  Otherwise plain login will only work
354b3d93d3SBaptiste Daroussin# over a secure connection.  Use this option with caution.
364b3d93d3SBaptiste Daroussin#SECURE
374b3d93d3SBaptiste Daroussin
384b3d93d3SBaptiste Daroussin# Uncomment if you want to defer your mails.  This is useful if you are
394b3d93d3SBaptiste Daroussin# behind a dialup line.  You have to submit your mails manually with dma -q
404b3d93d3SBaptiste Daroussin#DEFER
414b3d93d3SBaptiste Daroussin
424b3d93d3SBaptiste Daroussin# Uncomment if you want the bounce message to include the complete original
434b3d93d3SBaptiste Daroussin# message, not just the headers.
444b3d93d3SBaptiste Daroussin#FULLBOUNCE
454b3d93d3SBaptiste Daroussin
464b3d93d3SBaptiste Daroussin# The internet hostname dma uses to identify the host.
474b3d93d3SBaptiste Daroussin# If not set or empty, the result of gethostname(2) is used.
484b3d93d3SBaptiste Daroussin# If MAILNAME is an absolute path to a file, the first line of this file
494b3d93d3SBaptiste Daroussin# will be used as the hostname.
504b3d93d3SBaptiste Daroussin#MAILNAME mail.example.net
514b3d93d3SBaptiste Daroussin
524b3d93d3SBaptiste Daroussin# Masquerade envelope from addresses with this address/hostname.
534b3d93d3SBaptiste Daroussin# Use this if mails are not accepted by destination mail servers because
544b3d93d3SBaptiste Daroussin# your sender domain is invalid.
554b3d93d3SBaptiste Daroussin# By default, MASQUERADE is not set.
564b3d93d3SBaptiste Daroussin# Format: MASQUERADE [user@][host]
574b3d93d3SBaptiste Daroussin# Examples:
584b3d93d3SBaptiste Daroussin# MASQUERADE john@  on host "hamlet" will send all mails as john@hamlet
594b3d93d3SBaptiste Daroussin# MASQUERADE percolator  will send mails as $username@percolator, e.g. fish@percolator
604b3d93d3SBaptiste Daroussin# MASQUERADE herb@ert  will send all mails as herb@ert
614b3d93d3SBaptiste Daroussin
624b3d93d3SBaptiste Daroussin# Directly forward the mail to the SMARTHOST bypassing aliases and local delivery
634b3d93d3SBaptiste Daroussin#NULLCLIENT
64