BSD Ports

mail/dma 0.14,1 FreeBSD

DragonFly Mail Agent, a small MTA for local/outbound mail

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
BSD3CLAUSE
Categories
mail
Package size
36.2 KiB, 77.7 KiB installed

Description

The DragonFly Mail Agent is a small Mail Transport Agent (MTA), designed for home and office use. It accepts e-mail messages from locally installed Mail User Agents (MUA) and delivers the messages either locally or to a remote destination. Remote delivery includes several features like TLS/SSL support and SMTP authentication, but not MX record lookups. Therefore, dma is currently not suitable for direct remote delivery. However, it works very well for handling local mail plus secure mail submission to a remote smarthost (e.g. for travelling mobile computers).

Since dma is not intended as a replacement for real, big MTAs like sendmail(8) or postfix(1), it does not listen on port 25 for incoming connections.

In the other systems

SystemPortVersion
FreeBSDmail/dma0.14,1
OpenBSDmail/dma0.12p0

Install

Binary package:

pkg install dma

From the ports tree:

cd /usr/ports/mail/dma/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	dma>0:mail/dma

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.14,10.14,10.13.20220128_1,10.14,10.14,1
FreeBSD:14:quarterly0.14,10.14,1n/a0.14,10.14,1
FreeBSD:15:latest0.14,10.14,1n/a0.14,10.14,1
FreeBSD:15:quarterly0.14,10.14,1n/an/an/a
FreeBSD:16:latest0.14,10.14,1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

No port depends on this one.

Configuration

No options to configure.

USES
ssl uidfix
Service scripts
dma_flushq

Message after installing

Please note that dma is now also available in FreeBSD's base, currently under 
/usr/libexec/dma, and with config files in /etc/mail/dma.

These may not track the same version of dma.  Users are encouraged to check
releases notes to see which best suits their needs.

===

To enable dma please edit /etc/mail/mailer.conf to replace all lines
referring to another MTA with the following:

sendmail	/usr/local/libexec/dma
send-mail	/usr/local/libexec/dma
mailq		/usr/local/libexec/dma

If you do not need sendmail anymore, please add in your rc.conf:

sendmail_enable="NONE"

or, for more granular control:

sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"

if you want anything in your queue to be flushed at on boot or before
shutdown, add the following to rc.conf as well:

dma_flushq_enable="YES"

A crontab configuration to flush every 30 minutes was added to
/usr/local/etc/cron.d/dma.

And you can disable some sendmail specific daily maintenance routines in your
/etc/periodic.conf file:

daily_clean_hoststat_enable="NO"
daily_status_mail_rejects_enable="NO"
daily_status_include_submit_mailq="NO"
daily_submit_queuerun="NO"

Files

Manual pages 1
  • dma(8)
pkg-plist 6
  • etc/cron.d/dma
  • @(root,mail,2555) libexec/dma
  • @(root,mail,4554) libexec/dma-mbox-create
  • @sample(root,mail,0644) etc/dma/dma.conf.sample
  • @sample(root,mail,0640) etc/dma/auth.conf.sample
  • share/man/man8/dma.8.gz
distinfo 1
FileSizeSHA256
corecode-dma-v0.14-92937587bbfeab53653b841afe76af2fa6dad345_GH0.tar.gz364893b8d87ec34206b3fb0172bcdb5f77a67a9f5d74189367acb023faf349c665681

Commit history 0

No commits in the history this site was built from.