]>
git.ipfire.org Git - people/ms/dma.git/log
Simon Schubert [Mon, 16 May 2016 16:19:37 +0000 (18:19 +0200)]
Merge pull request #41 from Gottox/fix-musl
Include <sys/param.h> for roundup() declaration with musl libc
Enno Boland [Mon, 16 May 2016 15:10:42 +0000 (17:10 +0200)]
Include <sys/param.h> for roundup() declaration with musl libc
duraseb [Sat, 21 Nov 2015 17:55:44 +0000 (18:55 +0100)]
Increase error message size
duraseb [Thu, 19 Nov 2015 16:11:25 +0000 (17:11 +0100)]
Added recipient email addresses to log
duraseb [Thu, 19 Nov 2015 12:11:40 +0000 (13:11 +0100)]
Ignore some files
duraseb [Thu, 19 Nov 2015 08:43:35 +0000 (09:43 +0100)]
Close connections on failure
Simon Schubert [Sun, 7 Feb 2016 12:41:49 +0000 (13:41 +0100)]
release dma 0.11
Simon Schubert [Sat, 30 Jan 2016 09:17:14 +0000 (10:17 +0100)]
local: use space instead of tab in "From " separator
Submitted-by: Gregor Larson
Simon Schubert [Fri, 25 Sep 2015 21:45:29 +0000 (23:45 +0200)]
release dma 0.10
Andreas Schweitzer [Wed, 3 Jun 2015 21:33:38 +0000 (23:33 +0200)]
dns: do not treat unreachable DNS server as permanent error
getaddrinfo() does not distinguish between "DNS server not reachable"
and "DNS server told me host does not exist". For SMARTHOSTS it is
better to defer than to bounce in order to survive network outages.
Bug: fixes #30
corecode [Wed, 8 Apr 2015 11:09:06 +0000 (13:09 +0200)]
Merge pull request #28 from mp39590/freebsd_build
Fix build on FreeBSD
corecode [Wed, 8 Apr 2015 11:08:50 +0000 (13:08 +0200)]
Merge pull request #27 from mp39590/sysexits
use proper sysexits(3) codes
Mikhail [Wed, 8 Apr 2015 10:19:50 +0000 (13:19 +0300)]
Fix build on FreeBSD
Mikhail [Tue, 7 Apr 2015 13:21:49 +0000 (16:21 +0300)]
Initial version
Antonio Huete Jimenez [Wed, 18 Mar 2015 16:49:01 +0000 (17:49 +0100)]
Change BSD Makefiles so dma-mbox-create can be built
Antonio Huete Jimenez [Wed, 18 Mar 2015 16:20:28 +0000 (17:20 +0100)]
Move declarations to dma header file
Daniel Hahler [Mon, 22 Sep 2014 16:35:53 +0000 (18:35 +0200)]
Add more information to "bad mail input format" error
Ref: https://github.com/corecode/dma/issues/18
Simon Schubert [Fri, 21 Feb 2014 16:18:28 +0000 (17:18 +0100)]
update copyright notice
Simon Schubert [Fri, 21 Feb 2014 16:11:52 +0000 (17:11 +0100)]
drop debian directory, they maintain it themselves
Simon Schubert [Thu, 13 Feb 2014 16:44:43 +0000 (17:44 +0100)]
deliver_remote: only require host when not using smarthost
Baptiste Daroussin [Wed, 12 Feb 2014 23:43:48 +0000 (00:43 +0100)]
Add NULLCLIENT support
Simon Schubert [Thu, 25 Jul 2013 21:22:24 +0000 (23:22 +0200)]
flushspool: use O_TRUNC instead of utimes(2)
utimes(2) only works if the file is owned by the current user. Use
open(..., O_TRUNC|...) instead, together with a group writable flush
file.
Simon Schubert [Mon, 22 Jul 2013 19:54:07 +0000 (21:54 +0200)]
dma.8: mandoc fixes + correct mail address
Submitted-by: Sascha Wildner <saw@online.de>
Simon Schubert [Sat, 6 Jul 2013 19:02:18 +0000 (21:02 +0200)]
newaliases: provide command alias
`newaliases' simply checks the aliases file and ignores any other
argument.
Submitted-by: Arno Töll <arno@debian.org>
Simon Schubert [Sat, 6 Jul 2013 19:00:05 +0000 (21:00 +0200)]
aliases: log errors to syslog and abort
Simon Schubert [Sat, 6 Jul 2013 17:22:44 +0000 (19:22 +0200)]
set_from: always fully qualify envelope from
Debian-bug: #697871
Simon Schubert [Mon, 3 Jun 2013 14:03:15 +0000 (16:03 +0200)]
release dma 0.9
corecode [Wed, 21 Nov 2012 17:56:37 +0000 (09:56 -0800)]
Merge pull request #14 from emaste/master
Build fix for BSDmakefile
Ed Maste [Wed, 21 Nov 2012 14:54:19 +0000 (09:54 -0500)]
More detailed error message for tmp file failure.
Ed Maste [Wed, 21 Nov 2012 14:38:09 +0000 (09:38 -0500)]
Add CONF_DIR, as in Makefile
corecode [Tue, 20 Nov 2012 21:03:26 +0000 (13:03 -0800)]
Merge pull request #13 from emaste/master
Patches from the FreeBSD ports tree mail/dma
Ed Maste [Tue, 20 Nov 2012 16:57:31 +0000 (11:57 -0500)]
Add compat #ifdef for older OpenSSL
Obtained from: mail/dma in the FreeBSD ports tree
Ed Maste [Tue, 20 Nov 2012 16:38:57 +0000 (11:38 -0500)]
Allow DMA_ROOT_USER & DMA_GROUP to be overridden.
corecode [Tue, 20 Nov 2012 16:34:52 +0000 (08:34 -0800)]
Merge pull request #12 from emaste/master
Be explicit about missing user.
Ed Maste [Tue, 20 Nov 2012 16:29:09 +0000 (11:29 -0500)]
Be explicit about missing user.
Previously the error message for a missing 'mail' user was
dma: cannot drop root privileges: No error: 0
Simon Schubert [Fri, 15 Jun 2012 16:18:15 +0000 (18:18 +0200)]
spool.c: bzero contents of pointer
Reported-by: Sascha Wildner <saw@online.de>
Simon Schubert [Fri, 30 Mar 2012 10:04:27 +0000 (12:04 +0200)]
release dma 0.8
Simon Schubert [Sat, 18 Feb 2012 00:15:22 +0000 (01:15 +0100)]
implement queue flushing prod
So far dma would sleep for the whole backoff period before retrying a
delivery. However, this also meant that a user issuing `dma -q` could
not force these mails to be retried immediately.
Switch to sleeping for only 30 seconds at a time, and poll the mtime
of a special queue flush signal file `flush` in the spool directory.
If the flush file has been touched since the beginning of the backoff
period, initiate a retry right away.
When flushing the queue with `dma -q` we now touch the flush file to
make waiting instances of dma process this user request.
The 30 second poll interval at the same time avoids a DoS via
excessive `dma -q` by any user.
fixes #3
Bug: https://github.com/corecode/dma/issues/3
Simon Schubert [Sat, 18 Feb 2012 00:02:18 +0000 (01:02 +0100)]
don't complain when we can't lock a queue file during flush
When we can't lock a queue file during flush it means another process
is already sitting on the item, so no need to complain or return error.
Simon Schubert [Sat, 18 Feb 2012 00:00:01 +0000 (01:00 +0100)]
deliver_remote: propagate back DNS errors
Simon Schubert [Fri, 17 Feb 2012 20:52:30 +0000 (21:52 +0100)]
don't treat -options following -q as argument to it
sendmail's -q takes an optional argument, but the way we use getopt(3)
does not support this. Work around this by backtracking if the
argument to -q starts with a dash, indicating that it is an option instead.
Simon Schubert [Mon, 30 Jan 2012 21:16:55 +0000 (13:16 -0800)]
Merge pull request #2 from mohag/master
add INSTALL and make SH configurable
Gert van den Berg [Thu, 12 Jan 2012 19:04:13 +0000 (21:04 +0200)]
Make Makefile and README consistent with INSTALL
Gert van den Berg [Thu, 12 Jan 2012 18:58:14 +0000 (20:58 +0200)]
Added some more documentation on compiling
Simon Schubert [Sun, 8 Jan 2012 13:22:08 +0000 (14:22 +0100)]
dma.8: we only have 2 config files at the moment
Submitted-by: Max Herrgaard
Sascha Wildner [Thu, 5 Jan 2012 13:30:39 +0000 (14:30 +0100)]
dma.8: Fix a few small issues.
Simon Schubert [Tue, 3 Jan 2012 13:54:05 +0000 (14:54 +0100)]
release dma 0.7
Simon Schubert [Mon, 2 Jan 2012 19:48:50 +0000 (20:48 +0100)]
mark printf-alike functions
Submitted-by: Sascha Wildner <saw@online.de>
Simon Schubert [Mon, 2 Jan 2012 19:41:02 +0000 (20:41 +0100)]
clear up warnings found by clang static analysis
Simon Schubert [Mon, 2 Jan 2012 19:40:22 +0000 (20:40 +0100)]
parse_conf: fix bug with masqueraded domains
We need to clear the @ symbol instead of NULLing the pointer.
Found-by: clang static analysis
Simon Schubert [Sun, 25 Dec 2011 18:05:08 +0000 (19:05 +0100)]
add semicolon before date in Received: header
Submitted-by: Miquel van Smoorenburg <miquels@cistron.nl>
Via: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=650268
Simon Schubert [Wed, 7 Dec 2011 11:42:51 +0000 (12:42 +0100)]
release dma 0.6
Simon Schubert [Wed, 7 Dec 2011 11:39:46 +0000 (12:39 +0100)]
deliver_local: quote "From " more liberally
It seems that when scanning for mails in mbox files, most MUAs just
look for lines beginning with "From ", and not only for "From " lines
after an empty line. Therefore quote "From " more liberally, and also
implement the mboxro format by quoting />*From / lines that have been
quoted before.
Reported-by: Pierre Frenkiel <pierre.frenkiel@gmail.com>
Simon Schubert [Wed, 16 Nov 2011 12:35:22 +0000 (13:35 +0100)]
release dma 0.5
Simon Schubert [Wed, 16 Nov 2011 12:32:05 +0000 (13:32 +0100)]
implement the "*" catch-all alias
Simon Schubert [Wed, 16 Nov 2011 11:55:30 +0000 (12:55 +0100)]
access config files at CONF_PATH, add makefile target to install conf files
Simon Schubert [Wed, 16 Nov 2011 11:38:49 +0000 (12:38 +0100)]
implement masquerading using the MASQUERADE config option
Simon Schubert [Tue, 15 Nov 2011 23:09:26 +0000 (00:09 +0100)]
release dma 0.4
Simon Schubert [Tue, 15 Nov 2011 22:59:59 +0000 (23:59 +0100)]
README: elaborate, use markdown
Simon Schubert [Tue, 15 Nov 2011 22:59:39 +0000 (23:59 +0100)]
Makefile: add symlink for mailq
Simon Schubert [Tue, 15 Nov 2011 22:08:43 +0000 (23:08 +0100)]
Makefile: create spool directories in a separate target
On some systems we don't want to create these directories, so putting
them in a separate target allows downstream maintainers to use our
Makefile without patching.
Simon Schubert [Tue, 15 Nov 2011 21:53:43 +0000 (22:53 +0100)]
Add symlink for sendmail which is expected by many packages
Bug #833485
Simon Schubert [Tue, 15 Nov 2011 21:46:55 +0000 (22:46 +0100)]
Merge commit 'refs/merge-requests/4' of git://gitorious.org/dma/dma
Simon Schubert [Tue, 15 Nov 2011 21:44:08 +0000 (22:44 +0100)]
Merge commit 'refs/merge-requests/3' of git://gitorious.org/dma/dma
Simon Schubert [Mon, 14 Nov 2011 22:10:57 +0000 (23:10 +0100)]
LICENSE: add
Simon Schubert [Mon, 14 Nov 2011 22:01:25 +0000 (23:01 +0100)]
Makefile: put libraries at the end when linking
With some linker configurations, libraries will have to be specified
after the objects that require them, otherwise the linker will not
include these libraries, leading to a link error.
Simon Schubert [Sat, 9 Jul 2011 00:39:33 +0000 (02:39 +0200)]
release dma 0.3
Simon Schubert [Sat, 9 Jul 2011 00:34:53 +0000 (02:34 +0200)]
parse_addrs: fix parsing for multiple <addresses>
We would treat [,;] as address separator, triggering a new recipient.
However, if the previous recipient was enclosed in <brackets>, we
already added this recipient. Fix this by skipping over [,;] if the
current address is empty.
Bug: #807712 <https://bugs.launchpad.net/dma/+bug/807712>
Simon Schubert [Fri, 8 Jul 2011 23:25:02 +0000 (16:25 -0700)]
make dma compile again on DragonFly
Pointed-out-by: Robin Green <greenrd@greenrd.org>
Peter Pentchev [Tue, 5 Jul 2011 12:41:27 +0000 (15:41 +0300)]
In OpenSSL 1.0, TLSv1_client_method() returns a const pointer.
Peter Pentchev [Wed, 23 Feb 2011 10:09:52 +0000 (12:09 +0200)]
Fix a minor memory leak discovered by cppcheck.
Peter Pentchev [Tue, 25 Jan 2011 09:18:32 +0000 (11:18 +0200)]
Fix straight SSL/TLS delivery to remote MX's.
If the SECURETRANS option is enabled but STARTTLS is not, this ought
to mean that dma should start talking SSL to the remote MX straight
away, without waiting for its greeting. Thus, postpone waiting for
the SMTP banner in this case until after the SSL connection has been
successfully initialized.
Simon Schubert [Sat, 8 Jan 2011 14:30:12 +0000 (15:30 +0100)]
readmail: accept mail without newline at the end
Peter Pentchev [Fri, 17 Dec 2010 11:31:41 +0000 (13:31 +0200)]
Make add_host() really return an error code.
Now that add_host() *may* return an error, it is kind of confusing
(and actually leads to errors) that it also returns the number of
hosts added to the value/result "hosts" array. Since the caller
really checks add_host()'s return value now, a successful lookup that
returns one host added will be treated as an error :)
Simon Schubert [Mon, 13 Dec 2010 01:59:54 +0000 (02:59 +0100)]
dns_get_mx_list: handle errors properly
Pointed-out-by: Peter Pentchev <roam@ringlet.net>
Simon Schubert [Sun, 12 Dec 2010 23:51:45 +0000 (00:51 +0100)]
dma-mbox-create: add error/status logging
Simon Schubert [Sun, 12 Dec 2010 23:51:19 +0000 (00:51 +0100)]
errlog: preserve errno
Simon Schubert [Mon, 1 Nov 2010 21:18:45 +0000 (22:18 +0100)]
dma-mbox-create: group mail only needs to write to mboxes
Simon Schubert [Mon, 1 Nov 2010 08:58:49 +0000 (09:58 +0100)]
todo: we create mboxes properly now
Simon Schubert [Sun, 31 Oct 2010 22:36:46 +0000 (23:36 +0100)]
release dma 0.2
Simon Schubert [Sun, 31 Oct 2010 22:55:45 +0000 (23:55 +0100)]
make ppa: proper name
Simon Schubert [Sun, 31 Oct 2010 22:41:45 +0000 (23:41 +0100)]
make ppa: force lower version number
Simon Schubert [Sun, 31 Oct 2010 22:31:59 +0000 (23:31 +0100)]
debian: fix lintian warnings and errors
Simon Schubert [Sun, 31 Oct 2010 17:32:27 +0000 (18:32 +0100)]
debian: remove unused files
Simon Schubert [Sun, 31 Oct 2010 17:31:50 +0000 (18:31 +0100)]
debian: build with consistent flags
Simon Schubert [Sun, 31 Oct 2010 12:24:39 +0000 (13:24 +0100)]
implement mbox creation via setuid helper
Simon Schubert [Sun, 31 Oct 2010 16:40:31 +0000 (17:40 +0100)]
drop privileges when run by root
Simon Schubert [Sun, 31 Oct 2010 15:54:42 +0000 (16:54 +0100)]
writequeuef: create files with g+rw
Simon Schubert [Sun, 31 Oct 2010 15:54:20 +0000 (16:54 +0100)]
setlogident: openlog() wants a static variable
Simon Schubert [Sun, 31 Oct 2010 12:50:43 +0000 (13:50 +0100)]
Revert "debian: better mark as UNRELEASED"
This reverts commit
dab6eb174f99aee478b552baa1a86e04ee1df0e8 . I'll mark
every release as, well, released.
Simon Schubert [Sun, 31 Oct 2010 11:34:26 +0000 (12:34 +0100)]
partially adopt 34-manpage-defaults.patch: AUTHPATH is not set by default
Simon Schubert [Fri, 29 Oct 2010 14:43:27 +0000 (16:43 +0200)]
TODO: suggest way to run a queue flush on boot
Simon Schubert [Fri, 29 Oct 2010 14:26:17 +0000 (16:26 +0200)]
add ppa makefile recipe
Simon Schubert [Fri, 29 Oct 2010 14:17:44 +0000 (16:17 +0200)]
debian: better mark as UNRELEASED
Simon Schubert [Fri, 29 Oct 2010 01:28:06 +0000 (03:28 +0200)]
release dma 0.1
Simon Schubert [Fri, 29 Oct 2010 01:19:25 +0000 (03:19 +0200)]
sanitize hostname a bit more
Simon Schubert [Fri, 29 Oct 2010 01:17:21 +0000 (03:17 +0200)]
debian: remove postinst
Simon Schubert [Fri, 29 Oct 2010 00:43:16 +0000 (02:43 +0200)]
Makefile: /etc doesn't need a PREFIX
Simon Schubert [Thu, 28 Oct 2010 23:51:08 +0000 (01:51 +0200)]
debian: we're a native package
Simon Schubert [Thu, 28 Oct 2010 23:50:39 +0000 (01:50 +0200)]
aliases: skip empty lines