1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00
freebsd-ports/mail/dma/pkg-plist
Wesley Shields 9dcab6ff8f The DragonFly Mail Agent is a small Mail Transport Agent (MTA),
designed for home and office use.  It accepts mails from locally
installed Mail User Agents (MUA) and delivers the mails either
locally or to a remote destination.  Remote delivery includes
several features like TLS/SSL support and SMTP authentication.

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.

PR:		ports/130658
Submitted by:	Daniel Roethlisberger <daniel@roe.ch>
2009-02-12 00:41:34 +00:00

15 lines
755 B
Plaintext

libexec/dma
libexec/dma.rb
@unexec if cmp -s %D/etc/dma/dma.conf.sample %D/etc/dma/dma.conf; then rm -f %D/etc/dma/dma.conf; fi
etc/dma/dma.conf.sample
@exec if [ ! -f %B/dma.conf ] ; then cp -p %B/%f %B/dma.conf; fi
@unexec if cmp -s %D/etc/dma/auth.conf.sample %D/etc/dma/auth.conf; then rm -f %D/etc/dma/auth.conf; fi
etc/dma/auth.conf.sample
@exec if [ ! -f %B/auth.conf ] ; then cp -p %B/%f %B/auth.conf; fi
@unexec if cmp -s %D/etc/dma/virtusertable.sample %D/etc/dma/virtusertable; then rm -f %D/etc/dma/virtusertable; fi
etc/dma/virtusertable.sample
@exec if [ ! -f %B/virtusertable ] ; then cp -p %B/%f %B/virtusertable; fi
@dirrmtry etc/dma
@exec install -d -o root -g mail -m 770 /var/spool/dma
@unexec rmdir /var/spool/dma 2>/dev/null || true