aboutsummaryrefslogtreecommitdiff
path: root/contrib/dma
Commit message (Collapse)AuthorAgeFilesLines
* Make dma(8) buildable.Jung-uk Kim2018-09-197-1/+13
| | | | Notes: svn path=/projects/openssl111/; revision=338770
* Convert `cap_enter() < 0 && errno != ENOSYS` to `caph_enter() < 0`.Mariusz Zaborski2018-06-191-1/+1
| | | | | | | No functional change intended. Notes: svn path=/head/; revision=335395
* Split body of mails not respecting RFC2822Baptiste Daroussin2017-12-061-28/+59
| | | | | | | | | | | | For mails which has a body not respecting RFC2822 (which often happen with crontabs) try to split by words finding the last space before 1000's character If no spaces are found then consider the mail to be malformed anyway PR: 208261 Notes: svn path=/head/; revision=326641
* dma: fix use-after-freeEd Maste2017-10-271-1/+1
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=325047
* dma.8: fix problems reported by igor and 'mandoc -Tlint'Eric van Gyzen2017-05-201-5/+6
| | | | | | | | | | | | | | dma.8:77:contraction:Queue the mail, but [don't] attempt to deliver it. dma.8:85:repeated:s [are are] ignored. dma.8:87:contraction:[Don't] run in the background. dma.8:201:contraction:Use the catch-all alias only if you [don't] want any local mail to be mandoc: dma.8:308:5: WARNING: macro neither callable nor escaped: Sm MFC after: 3 days Notes: svn path=/head/; revision=318586
* dma.8: use the correct name for 'SECURETRANSFER'Eric van Gyzen2017-05-201-4/+4
| | | | | | | | | The code uses 'SECURETRANS', but the config file uses 'SECURETRANSFER'. MFC after: 3 days Notes: svn path=/head/; revision=318585
* Import dma snapshot from git 2017-02-10Baptiste Daroussin2017-03-011-1/+2
| | | | | | | | | | | The only change is: use basename to select executable identity PR: 216910 Submitted by: Andrej Ebert <andrej@ebert.su> Notes: svn path=/head/; revision=314520
* Revert crap accidentally committedBaptiste Daroussin2017-01-281-51/+28
| | | | Notes: svn path=/head/; revision=312927
* Revert r312923 a better approach will be taken laterBaptiste Daroussin2017-01-281-28/+51
| | | | Notes: svn path=/head/; revision=312926
* dma-mbox-create: Restrict with CapsicumConrad Meyer2016-12-161-1/+38
| | | | | | | | | | | | | The restriction here is pretty late and pretty minimal. We need a lot of authority to open password databases, and don't do much after that point. Feedback from: lifanov at mail.lifanov.com (earlier version), emaste (earlier version) Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D7988 Notes: svn path=/head/; revision=310140
* Import dma 20160929Baptiste Daroussin2016-09-301-16/+10
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=306541
* Import Dragonfly Mail Agent snapshort from 20160806 aka v0.11+Baptiste Daroussin2016-08-207-9/+13
| | | | | | | | | | | | | | | | | | | | | | | 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
* Fix build with gcc 4.2Baptiste Daroussin2015-10-113-3/+3
| | | | Notes: svn path=/head/; revision=289144
* Update Dragonfly Mail Agent to v0.10Baptiste Daroussin2015-10-1038-1170/+113
| | | | Notes: svn path=/head/; revision=289123
* Fix build on i386Baptiste Daroussin2014-02-211-1/+1
| | | | Notes: svn path=/head/; revision=262298
* Fix build with gccBaptiste Daroussin2014-02-213-5/+5
| | | | Notes: svn path=/head/; revision=262295
* Import Dragonfly Mail Agent into base systemBaptiste Daroussin2014-02-2148-0/+6180
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