]>
git.ipfire.org Git - people/ms/dma.git/log
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
Simon Schubert [Thu, 28 Oct 2010 22:56:34 +0000 (00:56 +0200)]
polish up debian control files
Simon Schubert [Thu, 28 Oct 2010 22:55:56 +0000 (00:55 +0200)]
make install: don't chmod/chown all mail files by default
Simon Schubert [Thu, 28 Oct 2010 22:12:26 +0000 (00:12 +0200)]
debian: mop up patch series
Simon Schubert [Thu, 28 Oct 2010 22:10:30 +0000 (00:10 +0200)]
use HOST_NAME_MAX instead of MAXHOSTNAMELEN
HOST_NAME_MAX is sanctioned by POSIX.
drop 37-gnu-hurd.patch: already applied / other fix here
Simon Schubert [Thu, 28 Oct 2010 22:02:14 +0000 (00:02 +0200)]
drop 36-sa_nocldwait.patch: already applied
Simon Schubert [Thu, 28 Oct 2010 22:01:48 +0000 (00:01 +0200)]
drop SA_NOCLDWAIT: not required when using SIG_IGN
Simon Schubert [Thu, 28 Oct 2010 21:51:45 +0000 (23:51 +0200)]
drop 35-delivery-retry.patch: better version aready committed
Simon Schubert [Thu, 28 Oct 2010 21:50:21 +0000 (23:50 +0200)]
drop 34-manpage-defaults.patch: we don't have VIRTPATH or AUTHPATH anymore
Simon Schubert [Thu, 28 Oct 2010 21:48:53 +0000 (23:48 +0200)]
drop 33-opportunistic-tls.patch: already applied
Simon Schubert [Thu, 28 Oct 2010 21:46:28 +0000 (23:46 +0200)]
drop 32-comment-uncomment.patch: already applied
Simon Schubert [Thu, 28 Oct 2010 21:44:51 +0000 (23:44 +0200)]
drop 31-sigalrm-backoff.patch: we use SIGHUP instead
Simon Schubert [Thu, 28 Oct 2010 21:01:37 +0000 (23:01 +0200)]
drop 30-ldflags.patch: already applied
Simon Schubert [Thu, 28 Oct 2010 21:00:49 +0000 (23:00 +0200)]
drop 29-double-free.patch: already applied
Simon Schubert [Thu, 28 Oct 2010 21:00:27 +0000 (23:00 +0200)]
drop 28-valid-recipient.patch: already applied
Simon Schubert [Thu, 28 Oct 2010 20:59:12 +0000 (22:59 +0200)]
drop 27-int-size.patch: already applied
Simon Schubert [Thu, 28 Oct 2010 20:58:30 +0000 (22:58 +0200)]
drop 25-unsupported-starttls.patch: already applied
Simon Schubert [Thu, 28 Oct 2010 20:57:10 +0000 (22:57 +0200)]
drop 24-random-message-id.patch: better solution in place
Simon Schubert [Thu, 28 Oct 2010 20:55:36 +0000 (22:55 +0200)]
drop 23-dirent-d_type.patch: better solution already in place
Simon Schubert [Thu, 28 Oct 2010 20:52:23 +0000 (22:52 +0200)]
drop 20-parse-recipient.patch: already present
Simon Schubert [Thu, 28 Oct 2010 20:50:48 +0000 (22:50 +0200)]
merge mailname and mailnamefile; drop 17-mailname.patch
Simon Schubert [Thu, 28 Oct 2010 16:53:09 +0000 (18:53 +0200)]
convert most asprintf to statically allocated buffers
drop 13-hardening.patch because it is not necessary anymore
Simon Schubert [Thu, 28 Oct 2010 15:27:10 +0000 (17:27 +0200)]
drop 11-double-bounce.patch: incorrect fix
Simon Schubert [Thu, 28 Oct 2010 15:18:56 +0000 (17:18 +0200)]
drop 10-liblockfile.patch: only required for MUAs
Simon Schubert [Thu, 28 Oct 2010 15:04:00 +0000 (17:04 +0200)]
drop 09-typos.patch: already present
Simon Schubert [Thu, 28 Oct 2010 15:02:57 +0000 (17:02 +0200)]
drop 04-debian-setgid.patch: already present
Simon Schubert [Thu, 28 Oct 2010 15:00:56 +0000 (17:00 +0200)]
adopt 03-debian-locations.patch; do not set a default bogus smarthost
Simon Schubert [Thu, 28 Oct 2010 14:50:55 +0000 (16:50 +0200)]
add a version tag
Simon Schubert [Thu, 28 Oct 2010 14:23:48 +0000 (16:23 +0200)]
Merge branch 'master' of git://gitorious.org/dma-roam/pkg-debian
Simon Schubert [Thu, 28 Oct 2010 12:08:51 +0000 (14:08 +0200)]
add README
Peter Pentchev [Sat, 16 Oct 2010 21:38:42 +0000 (00:38 +0300)]
Release dma-0.0.2010.06.17-6.
Peter Pentchev [Sat, 16 Oct 2010 21:08:20 +0000 (00:08 +0300)]
Switch to bzip2 compression for the Debian tarball.
Peter Pentchev [Sat, 16 Oct 2010 16:03:08 +0000 (19:03 +0300)]
Convert a couple of shell output assignments to :=
Peter Pentchev [Sat, 16 Oct 2010 15:58:16 +0000 (18:58 +0300)]
Really fix the build on the GNU Hurd.
Peter Pentchev [Thu, 7 Oct 2010 08:48:39 +0000 (11:48 +0300)]
Release dma-0.0.2010.06.17-5 pending RE approval.
Peter Pentchev [Thu, 7 Oct 2010 08:41:45 +0000 (11:41 +0300)]
Mark the SA_NOCLDWAIT patch as forwarded upstream.
Peter Pentchev [Thu, 7 Oct 2010 08:32:57 +0000 (11:32 +0300)]
Only use SA_NOCLDWAIT if it is available.
This fixes the dma build on GNU/Hurd.
Peter Pentchev [Thu, 7 Oct 2010 08:31:24 +0000 (11:31 +0300)]
Add the 36-sa_nocldwait patch - fix the Hurd FTBFS.
Peter Pentchev [Wed, 6 Oct 2010 14:30:55 +0000 (17:30 +0300)]
Prepare a bugfix release with minimal changes.
Peter Pentchev [Wed, 6 Oct 2010 14:24:07 +0000 (17:24 +0300)]
Note the switch to Gitorious.
Peter Pentchev [Wed, 6 Oct 2010 14:13:41 +0000 (17:13 +0300)]
Start a new revision with the u_char PowerPC fix.
Pointy hat to: roam (myself)
Peter Pentchev [Tue, 27 Jul 2010 10:41:26 +0000 (10:41 +0000)]
Release dma-0.0.2010.06.17-3.
Peter Pentchev [Tue, 27 Jul 2010 10:34:18 +0000 (10:34 +0000)]
Disable default delivery by default, reword the README.Debian text, and
add a news blurb.
Peter Pentchev [Tue, 27 Jul 2010 10:13:49 +0000 (10:13 +0000)]
Bump Standards-Version to 3.9.1 with no changes and update
the changelog timestamp.
Peter Pentchev [Mon, 26 Jul 2010 08:26:05 +0000 (08:26 +0000)]
Argh, commit a three-weeks-old change: update the French translation.
Simon Schubert [Wed, 30 Jun 2010 22:48:05 +0000 (00:48 +0200)]
deliver_local: use do_timeout and blocking locking
Simon Schubert [Wed, 30 Jun 2010 22:31:50 +0000 (00:31 +0200)]
increase remote connection timeout to match RFC5321
Simon Schubert [Wed, 30 Jun 2010 22:00:39 +0000 (00:00 +0200)]
read_remote: rewrite for better readability
Simon Schubert [Wed, 30 Jun 2010 22:00:03 +0000 (00:00 +0200)]
add SIGALRM/timeout infrastructure
Peter Pentchev [Wed, 30 Jun 2010 09:11:50 +0000 (09:11 +0000)]
Reword the changelog and release this.
Peter Pentchev [Wed, 30 Jun 2010 08:59:12 +0000 (08:59 +0000)]
Do not set features = DEFER by default - a commented-out line in
the config file cannot override it! D'oh!
Debian: #587593
Peter Pentchev [Tue, 29 Jun 2010 19:48:41 +0000 (19:48 +0000)]
Start a new unreleased version by updating the Japanese debconf translation.
Peter Pentchev [Tue, 29 Jun 2010 09:05:58 +0000 (09:05 +0000)]
George Danchev granted me DM-Upload-Allowed on dma. Thanks!
Simon Schubert [Mon, 28 Jun 2010 21:06:19 +0000 (23:06 +0200)]
randomize delivery backoff times
Submitted-by: Peter Pentchev (earlier version)
Bug: #599542
Simon Schubert [Tue, 22 Jun 2010 23:53:58 +0000 (01:53 +0200)]
compile with -Wall
Simon Schubert [Tue, 22 Jun 2010 23:53:23 +0000 (01:53 +0200)]
GC unused label
Submitted-by: Ed Maste <emaste@freebsd.org>
Peter Pentchev [Tue, 22 Jun 2010 23:51:23 +0000 (01:51 +0200)]
Add the "opportunistic TLS" option.
Add a new configuration option to allow remote connections to proceed in
unencrypted mode if the STARTTLS negotiation fails.
Peter Pentchev [Tue, 22 Jun 2010 23:44:59 +0000 (01:44 +0200)]
dma.8: correct logic of comment/uncomment wording
Simon Schubert [Mon, 28 Jun 2010 22:49:53 +0000 (00:49 +0200)]
catch SIGHUP so that sleeps can be interrupted by the user
A SIGHUP sent to the dma process will run the no-op signal handler and
break the sleep(3) call in deliver.
Do not increase the backoff if sleep was interrupted.
Submitted-by: Peter Pentchev <roam@ringlet.net> (earlier version)
Peter Pentchev [Tue, 22 Jun 2010 23:40:41 +0000 (01:40 +0200)]
Honor LDFLAGS if specified in the environment.
Peter Pentchev [Tue, 22 Jun 2010 23:39:56 +0000 (01:39 +0200)]
fix wrong argument to free()
Peter Pentchev [Tue, 22 Jun 2010 23:39:56 +0000 (01:39 +0200)]
Check the parsed recipient address for validity.
Peter Pentchev [Tue, 22 Jun 2010 23:36:06 +0000 (01:36 +0200)]
Fix a crash when the SMTP server does not support STARTTLS.
Simon Schubert [Mon, 28 Jun 2010 22:49:42 +0000 (00:49 +0200)]
properly randomize the message id
We would only use the queue id of the message as its message id, which
is generated from the inode number of the message's queue file. Inode
numbers are readily reused on many file systems, which leads to
repeating message ids.
Create real randomized message ids instead.
Submitted-by: Peter Pentchev <roam@ringlet.net> (earlier version)
Simon Schubert [Mon, 28 Jun 2010 22:48:52 +0000 (00:48 +0200)]
load_queue: use stat(2) instead of de->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.
Rework the code to use stat() instead.
Submitted-by: Peter Pentchev <roam@ringlet.net> (earlier version)
Peter Pentchev [Tue, 22 Jun 2010 23:09:01 +0000 (01:09 +0200)]
mailnamefile: fix parsing
Fix a file descriptor leak in the MAILNAMEFILE code.
Fix a mistake in my patch submitted to DFBSD - "initialized" should be static!
Peter Pentchev [Tue, 22 Jun 2010 23:09:01 +0000 (01:09 +0200)]
check result of vasprintf and asprintf
Peter Pentchev [Mon, 28 Jun 2010 20:26:51 +0000 (20:26 +0000)]
Update the changelog's timestamp.
Peter Pentchev [Mon, 28 Jun 2010 20:26:22 +0000 (20:26 +0000)]
Mark the two new patches as forwarded to Simon's LaunchPad account.
Peter Pentchev [Mon, 28 Jun 2010 14:31:39 +0000 (14:31 +0000)]
Release this. If the LaunchPad registration comes through soon, I'll mark
the two new patches as forwarded.
Peter Pentchev [Mon, 28 Jun 2010 14:21:20 +0000 (14:21 +0000)]
Fix a couple of problems with local deliveries.
Peter Pentchev [Mon, 28 Jun 2010 14:09:02 +0000 (14:09 +0000)]
Refresh two patches after the resurrection of 20-parse-recipient.patch.
Peter Pentchev [Mon, 28 Jun 2010 14:08:16 +0000 (14:08 +0000)]
Resurrect the 20-parse-recipient patch to fix a small bug.
Peter Pentchev [Mon, 28 Jun 2010 13:41:25 +0000 (13:41 +0000)]
Keep this unreleased even though the translations wait has ended.