Package: dma / 0.0.2010.06.17-6

Metadata

Package Version Patches format
dma 0.0.2010.06.17-6 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
03 debian locations.patch | (download)

dma.8 | 4 2 + 2 - 0 !
dma.c | 2 1 + 1 - 0 !
dma.conf | 6 4 + 2 - 0 !
3 files changed, 7 insertions(+), 5 deletions(-)

 customize the /etc/dma configuration files for debian.
 On Debian, the aliases file lives in /etc, not /etc/mail.
 Define a smarthost by default, albeit an invalid one.
04 debian setgid.patch | (download)

Makefile.plain | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 install the dma binary with the correct permissions.
 The /usr/sbin/dma binary needs to run as set-group-id to properly access
 its own mail queue.
09 typos.patch | (download)

crypto.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix a typo in an error message.
10 liblockfile.patch | (download)

Makefile | 5 3 + 2 - 0 !
Makefile.plain | 4 3 + 1 - 0 !
local.c | 93 89 + 4 - 0 !
3 files changed, 95 insertions(+), 7 deletions(-)

 dot-lock the user's mailbox with maillock(3) from liblockfile.
11 double bounce.patch | (download)

conf.c | 2 2 + 0 - 0 !
dma.8 | 21 21 + 0 - 0 !
dma.conf | 6 6 + 0 - 0 !
dma.h | 1 1 + 0 - 0 !
mail.c | 112 109 + 3 - 0 !
5 files changed, 139 insertions(+), 3 deletions(-)

 implement double-bounce handling via an external program.
 Implement double-bounce handling via an external program, controlled
 by the DBOUNCEPROG config parameter.
 Enable this handling by default, using the dbounce-simple-safecat
 helper installed by the package.
 Unfortunately, Simon Schubert <corecode@dragonflybsd.org> did not
 accept this part of my changes to dma in issue 1321.
13 hardening.patch | (download)

util.c | 16 9 + 7 - 0 !
1 file changed, 9 insertions(+), 7 deletions(-)

 build hardening: check a few more return values.
17 mailname.patch | (download)

dma.conf | 2 1 + 1 - 0 !
util.c | 8 5 + 3 - 0 !
2 files changed, 6 insertions(+), 4 deletions(-)

 several fixes to the mail name file parsing.
 Fix a file descriptor leak in the MAILNAMEFILE code.
 Fix a mistake in my patch submitted to DFBSD - "initialized" should be static!
 For Debian, use /etc/mailname for the MAILNAMEFILE.
20 parse recipient.patch | (download)

mail.c | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 fix the parsing of recipient addresses.
23 dirent d_type.patch | (download)

spool.c | 6 5 + 1 - 0 !
1 file changed, 5 insertions(+), 1 deletion(-)

 allow the spool to be on a filesystem that does not set d_type.
 Some filesystems (notably XFS) do not set the d_type field in the dirent
 structure.  This prevents dma from delivering any of the queued messages.
24 random message id.patch | (download)

Makefile | 2 1 + 1 - 0 !
Makefile.plain | 1 1 + 0 - 0 !
dma.c | 9 9 + 0 - 0 !
mail.c | 12 10 + 2 - 0 !
4 files changed, 21 insertions(+), 3 deletions(-)

 randomize the generated message-id field a bit more.
25 unsupported starttls.patch | (download)

net.c | 10 5 + 5 - 0 !
1 file changed, 5 insertions(+), 5 deletions(-)

 fix a crash when the smtp server does not support starttls.
27 int size.patch | (download)

spool.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 cast correctly to uintmax_t when using %prixmax.
28 valid recipient.patch | (download)

mail.c | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 check the parsed recipient address for validity.
29 double free.patch | (download)

spool.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix a double-free bug.
30 ldflags.patch | (download)

Makefile.plain | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 honor ldflags if specified in the environment.
31 sigalrm backoff.patch | (download)

dma.c | 11 11 + 0 - 0 !
1 file changed, 11 insertions(+)

 allow a sigalrm to force a delivery attempt.
32 comment uncomment.patch | (download)

dma.8 | 16 8 + 8 - 0 !
1 file changed, 8 insertions(+), 8 deletions(-)

 correct the comment/uncomment logic of the manual page wording.
33 opportunistic tls.patch | (download)

conf.c | 3 3 + 0 - 0 !
crypto.c | 16 13 + 3 - 0 !
dma.8 | 14 14 + 0 - 0 !
dma.conf | 5 5 + 0 - 0 !
dma.h | 1 1 + 0 - 0 !
5 files changed, 36 insertions(+), 3 deletions(-)

 add the "opportunistic tls" option.
 Add a new configuration option to allow remote connections to proceed in
 unencrypted mode if the STARTTLS negotiation fails.
34 manpage defaults.patch | (download)

dma.8 | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 let the manpage document the real dma(8) defaults.
 Correct the VIRTUSERTABLE and AUTHPATH default settings to reflect what
 dma(8) will consider as defaults if not specified in the config file
 instead of what the default config file specifies.
35 delivery retry.patch | (download)

dma.c | 10 8 + 2 - 0 !
dma.h | 2 2 + 0 - 0 !
2 files changed, 10 insertions(+), 2 deletions(-)

 randomize the retry timeouts a bit.
36 sa_nocldwait.patch | (download)

dma.c | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 do not use sa_nocldwait on platforms like the gnu hurd.
37 gnu hurd.patch | (download)

spool.c | 1 1 + 0 - 0 !
util.c | 9 9 + 0 - 0 !
2 files changed, 10 insertions(+)

 further fixes to the build on the gnu hurd
 - include <sys/file.h> for LOCK_EX
 - define MAXHOSTNAMELEN if absent