summaryrefslogtreecommitdiff
path: root/libexec/dma
AgeCommit message (Collapse)Author
2025-07-26Replace last few remaining MAN[1-8] with MANDag-Erling Smørgrav
Reviewed by: ivy Differential Revision: https://reviews.freebsd.org/D51530
2025-07-26dma: Don't install dma.conf world-readableDag-Erling Smørgrav
While here, install auth.conf into /etc as well. MFC after: 3 days PR: 288409 Reviewed by: ivy, bapt Differential Revision: https://reviews.freebsd.org/D51529
2024-07-15Remove residual blank line at start of MakefileWarner Losh
This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
2024-03-27dma.conf: Fix typoMikael Urankar
Pull Request: https://github.com/freebsd/freebsd-src/pull/1150
2023-08-16Remove $FreeBSD$: one-line sh patternWarner Losh
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
2023-05-15dma: install a simple example for the auth.conf filePeter Wright
PR: 270088 MFC After: 3 days
2023-05-11dma: specify OpenSSL 1.1 APIPierre Pronchery
Reviewed by: emaste Sponsored by: The FreeBSD Foundation
2023-04-18Update/fix Makefile.depend for userlandSimon J. Gerraty
2023-01-06dma: dma.conf.5 as MLINK to dma.8Ed Maste
There's no separate man page for dma.conf, but the format is documented in dma.8. Reviewed by: bapt MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D37944
2022-12-16dma mailer.conf: add comments, including pointer for sendmailMike Karels
Add comments analogous to those that are in the sendmail mailer.conf, including a pointer to /usr/share/examples/sendmail/mailer.conf. Reviewed by: bapt Differential Revision: https://reviews.freebsd.org/D37711
2022-12-06dma(8): add newaliases to mailer.confBaptiste Daroussin
Reported by: karels MFC After: 3 days
2022-11-07mail: make The Dragonfly Mail Agent (dma) the default mta.Baptiste Daroussin
dma accepts mail from a local Mail User Agent (MUA) and delivers it locally or to a smarthost for delivery. dma does not accept inbound mail (i.e., it does not listen on port 25) and is not intended to provide the same functionality as a full MTA like postfix or sendmail. It is intended for use cases such as delivering cron(8) mail. which is the default configuration and usage of sendmail in the default setup of the base system. In order to switch the default from sendmail to dma, we teach mailwrapper to fallback on dma directly if the mailer.conf file cannot be opened. We install by default a mailer.conf file which points at dma We install a mailer.conf file for sendmail in the examples. Relnotes: yes Differential Revision: https://reviews.freebsd.org/D37035
2021-09-22dma: make the version exposed reflect the new versionBaptiste Daroussin
2020-09-11Only set WARNS if not definedKyle Evans
This would allow interested parties to do experimental runs with an environment set appropriately to raise all the warnings throughout the build; e.g. env WARNS=6 NO_WERROR=yes buildworld. Not currently touching the numerous instances in ^/tools. MFC after: 1 week Notes: svn path=/head/; revision=365631
2020-07-19Revert that!Simon J. Gerraty
Notes: svn path=/head/; revision=363351
2020-07-19Oops missed Makefile.configSimon J. Gerraty
Notes: svn path=/head/; revision=363350
2017-12-27Replace send-mail with the more standarized sendmail, we do not createXin LI
links for send-mail in mailwrapper so it did not work anyway. MFC after: 2 weeks Notes: svn path=/head/; revision=327236
2017-10-31DIRDEPS_BUILD: Update dependencies.Bryan Drewery
Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
2017-05-09DIRDEPS_BUILD: Update dependencies.Bryan Drewery
Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=318000
2017-03-04libexec: normalize paths using SRCTOP-relative paths or :H when possibleEnji Cooper
This simplifies make logic/output MFC after: 1 month Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314653
2016-08-20Import Dragonfly Mail Agent snapshort from 20160806 aka v0.11+Baptiste Daroussin
Most important change being: dma - Fix security hole (#46) Affecting DragonFly 4.6 and earlier, Matt Dillon fixed this in base after finding out from BSDNow Episode 152. Comments following were from his commit which explains better than I. Just taking his change and putting it here as well. * dma makes an age-old mistake of not properly checking whether a file owned by a user is a symlink or not, a bug which the original mail.local also had. * Add O_NOFOLLOW to disallow symlinks. Thanks-to: BSDNow Episode 152, made me dive dma to check when they talked about the mail.local bug. MFC After: 2 days Notes: svn path=/head/; revision=304535
2016-06-01Revert r301137 and r301163, and implement a correct fixGlen Barber
for the CONFS issue with dma.conf and ppp.conf. Thank you very much to Bryan Drewery for looking into the problem and providing this fix. Pointyhat: gjb Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=301166
2016-06-01Implement a hack to re-enable installation of the dma.conf.Glen Barber
The 'CONFS' entries in share/mk/bsd.confs.mk explicitly check for the 'installconfig', but does not behave properly with the 'distribute' target. This seems to be related to the previously-reported issues with files within /etc in the past. Reported by: Ben Woods Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=301163
2016-04-04MFHGlen Barber
Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=297567
2016-03-27Do not override top level CFLAGS in libexec/dmaAlexander Kabaev
Notes: svn path=/head/; revision=297327
2016-03-24Install a usable mailer.conf for dragonfly mailer agent if sendmail is disabledBaptiste Daroussin
Notes: svn path=/head/; revision=297226
2016-03-02MFHGlen Barber
Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=296318
2016-02-24DIRDEPS_BUILD: Regenerate without local dependencies.Bryan Drewery
These are no longer needed after the recent 'beforebuild: depend' changes and hooking DIRDEPS_BUILD into a subset of FAST_DEPEND which supports skipping 'make depend'. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=295989
2016-01-04MFH r289384-r293170Glen Barber
Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=293172
2015-12-01META MODE: Update dependencies with 'the-lot' and add missing directories.Bryan Drewery
This is not properly respecting WITHOUT or ARCH dependencies in target/. Doing so requires a massive effort to rework targets/ to do so. A better approach will be to either include the SUBDIR Makefiles directly and map to DIRDEPS or just dynamically lookup the SUBDIR. These lose the benefit of having a userland/lib, userland/libexec, etc, though and results in a massive package. The current implementation of targets/ is very unmaintainable. Currently rescue/rescue and sys/modules are still not connected. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291563
2015-10-27Add Makefile.dependBryan Drewery
Notes: svn path=/head/; revision=290030
2015-10-15MFH to r289370Glen Barber
Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=289371
2015-10-11Use existing CONFDIR instead of adding a new CONFIGDIRBaptiste Daroussin
Reported by: jbeich Notes: svn path=/head/; revision=289148
2015-10-10Update Dragonfly Mail Agent to v0.10Baptiste Daroussin
Notes: svn path=/head/; revision=289123
2015-10-10Create a dedicated package for dmaBaptiste Daroussin
Notes: svn path=/projects/release-pkg/; revision=289120
2015-10-10Install bsd.confs.mkBaptiste Daroussin
Rename ETCDIR into CONFIGDIR to avoid conflicts with the ports tree Notes: svn path=/head/; revision=289114
2015-10-09Rename the dma directory into dmagent to avoid collision on unclean ojectBaptiste Daroussin
directory where an old dma binary can remain Notes: svn path=/head/; revision=289094
2015-10-09Add missing MakefileBaptiste Daroussin
Notes: svn path=/head/; revision=289088
2015-10-09Move all the dma(8) components into one single directoryBaptiste Daroussin
Simplifying maintainance and options (only one place to deal with MK_DMAGENT) This also makes packaging base less intrusive by getting a single point where to add tags. Notes: svn path=/head/; revision=289087
2014-11-25Convert to LIBADDBaptiste Daroussin
Reduce overlinking Notes: svn path=/head/; revision=275077
2014-02-21Lower warning level when built with gccBaptiste Daroussin
Notes: svn path=/head/; revision=262297
2014-02-21Enforce mail user and groupBaptiste Daroussin
Notes: svn path=/head/; revision=262293
2014-02-21Import Dragonfly Mail Agent into base systemBaptiste Daroussin
It is a small and lightweight Mail Transport Agent. 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, SMTP authentication and NULLCLIENT. Make dma conditional to new WITHOUT_DMA option and make it respect WITHOUT_MAIL Reviewed by: peter Discussed with: emaste, bz, peter Notes: svn path=/head/; revision=262282