]> git.ipfire.org Git - people/ms/dma.git/log
people/ms/dma.git
13 years agoGC unused label
Simon Schubert [Tue, 22 Jun 2010 23:53:23 +0000 (01:53 +0200)] 
GC unused label

Submitted-by: Ed Maste <emaste@freebsd.org>
13 years agoAdd the "opportunistic TLS" option.
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.

13 years agodma.8: correct logic of comment/uncomment wording
Peter Pentchev [Tue, 22 Jun 2010 23:44:59 +0000 (01:44 +0200)] 
dma.8: correct logic of comment/uncomment wording

13 years agocatch SIGHUP so that sleeps can be interrupted by the user
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)
13 years agoHonor LDFLAGS if specified in the environment.
Peter Pentchev [Tue, 22 Jun 2010 23:40:41 +0000 (01:40 +0200)] 
Honor LDFLAGS if specified in the environment.

13 years agofix wrong argument to free()
Peter Pentchev [Tue, 22 Jun 2010 23:39:56 +0000 (01:39 +0200)] 
fix wrong argument to free()

13 years agoCheck the parsed recipient address for validity.
Peter Pentchev [Tue, 22 Jun 2010 23:39:56 +0000 (01:39 +0200)] 
Check the parsed recipient address for validity.

13 years agoFix a crash when the SMTP server does not support STARTTLS.
Peter Pentchev [Tue, 22 Jun 2010 23:36:06 +0000 (01:36 +0200)] 
Fix a crash when the SMTP server does not support STARTTLS.

13 years agoproperly randomize the message id
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)
13 years agoload_queue: use stat(2) instead of de->d_type
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)
13 years agomailnamefile: fix parsing
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!

13 years agocheck result of vasprintf and asprintf
Peter Pentchev [Tue, 22 Jun 2010 23:09:01 +0000 (01:09 +0200)] 
check result of vasprintf and asprintf

13 years agoUpdate the changelog's timestamp.
Peter Pentchev [Mon, 28 Jun 2010 20:26:51 +0000 (20:26 +0000)] 
Update the changelog's timestamp.

13 years agoMark the two new patches as forwarded to Simon's LaunchPad account.
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.

13 years agoRelease this. If the LaunchPad registration comes through soon, I'll mark
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.

13 years agoFix a couple of problems with local deliveries.
Peter Pentchev [Mon, 28 Jun 2010 14:21:20 +0000 (14:21 +0000)] 
Fix a couple of problems with local deliveries.

13 years agoRefresh two patches after the resurrection of 20-parse-recipient.patch.
Peter Pentchev [Mon, 28 Jun 2010 14:09:02 +0000 (14:09 +0000)] 
Refresh two patches after the resurrection of 20-parse-recipient.patch.

13 years agoResurrect the 20-parse-recipient patch to fix a small bug.
Peter Pentchev [Mon, 28 Jun 2010 14:08:16 +0000 (14:08 +0000)] 
Resurrect the 20-parse-recipient patch to fix a small bug.

13 years agoKeep this unreleased even though the translations wait has ended.
Peter Pentchev [Mon, 28 Jun 2010 13:41:25 +0000 (13:41 +0000)] 
Keep this unreleased even though the translations wait has ended.

13 years agoBump Standards-Version to 3.9.0 with no changes.
Peter Pentchev [Mon, 28 Jun 2010 13:40:57 +0000 (13:40 +0000)] 
Bump Standards-Version to 3.9.0 with no changes.

13 years agoUpdate the Spanish debconf translation, too.
Peter Pentchev [Fri, 25 Jun 2010 09:03:34 +0000 (09:03 +0000)] 
Update the Spanish debconf translation, too.

13 years agoMark #582593 as fixed after the submitter tested this version.
Peter Pentchev [Thu, 24 Jun 2010 14:56:12 +0000 (14:56 +0000)] 
Mark #582593 as fixed after the submitter tested this version.

13 years agoUpdate the changelog timestamp for the next interim mentors.d.n upload.
Peter Pentchev [Wed, 23 Jun 2010 10:16:11 +0000 (10:16 +0000)] 
Update the changelog timestamp for the next interim mentors.d.n upload.

13 years agoRefresh the comment/uncomment patch after documenting the DEFER default.
Peter Pentchev [Wed, 23 Jun 2010 09:52:33 +0000 (09:52 +0000)] 
Refresh the comment/uncomment patch after documenting the DEFER default.

13 years agoDocument the DEFER default in the manual page.
Peter Pentchev [Wed, 23 Jun 2010 09:50:44 +0000 (09:50 +0000)] 
Document the DEFER default in the manual page.

13 years agoFix Debian bug #544748 - document the correct defaults.
Peter Pentchev [Wed, 23 Jun 2010 09:48:31 +0000 (09:48 +0000)] 
Fix Debian bug #544748 - document the correct defaults.

13 years agoNote that Debian bug #544820 (wrong port number) was overtaken by changes in
Peter Pentchev [Wed, 23 Jun 2010 09:47:52 +0000 (09:47 +0000)] 
Note that Debian bug #544820 (wrong port number) was overtaken by changes in
the new upstream version.

13 years agoUpdate the Czech and Swedish translations.
Peter Pentchev [Wed, 23 Jun 2010 07:51:21 +0000 (07:51 +0000)] 
Update the Czech and Swedish translations.

13 years agoFix a typo in an error message.
Peter Pentchev [Tue, 22 Jun 2010 23:09:01 +0000 (01:09 +0200)] 
Fix a typo in an error message.

13 years agoUpdate the changelog timestamp for another interim mentors.d.n upload.
Peter Pentchev [Tue, 22 Jun 2010 07:48:06 +0000 (07:48 +0000)] 
Update the changelog timestamp for another interim mentors.d.n upload.

13 years agoMark all the non-Debian-specific patches as forwarded.
Peter Pentchev [Tue, 22 Jun 2010 07:46:12 +0000 (07:46 +0000)] 
Mark all the non-Debian-specific patches as forwarded.

13 years agoAdd the "opportunistic TLS" mode from trunk rev. 5085.
Peter Pentchev [Mon, 21 Jun 2010 12:06:52 +0000 (12:06 +0000)] 
Add the "opportunistic TLS" mode from trunk rev. 5085.

13 years agoMerge trunk rev. 5084 (branches/debian/ rev. 5086) -
Peter Pentchev [Mon, 21 Jun 2010 12:00:51 +0000 (12:00 +0000)] 
Merge trunk rev. 5084 (branches/debian/ rev. 5086) -
fix the comment/uncomment wording in the manual page.

13 years agoJust for kicks, patch the BSD Makefile, too (branches/debian/ rev. 5071).
Peter Pentchev [Mon, 21 Jun 2010 11:53:14 +0000 (11:53 +0000)] 
Just for kicks, patch the BSD Makefile, too (branches/debian/ rev. 5071).

13 years agoMerge trunk/ rev. 5078, branches/debian/ rev. 5080: Debian has stat.st_mtim
Peter Pentchev [Mon, 21 Jun 2010 10:12:14 +0000 (10:12 +0000)] 
Merge trunk/ rev. 5078, branches/debian/ rev. 5080: Debian has stat.st_mtim
as a timespec.

13 years agoUpdate the README.Debian blurb about the smarthost.
Peter Pentchev [Mon, 21 Jun 2010 08:38:23 +0000 (08:38 +0000)] 
Update the README.Debian blurb about the smarthost.

13 years agoAdd a Debian news file mentioning dma-migrate and the MX lookups.
Peter Pentchev [Mon, 21 Jun 2010 08:28:15 +0000 (08:28 +0000)] 
Add a Debian news file mentioning dma-migrate and the MX lookups.

13 years agoUpdate the Russian debconf translation.
Peter Pentchev [Sun, 20 Jun 2010 21:05:07 +0000 (21:05 +0000)] 
Update the Russian debconf translation.

13 years agoRemove the e-mail addresses from the debconf translation attributions.
Peter Pentchev [Sun, 20 Jun 2010 12:26:51 +0000 (12:26 +0000)] 
Remove the e-mail addresses from the debconf translation attributions.

13 years agoUpdate the German debconf translation.
Peter Pentchev [Sun, 20 Jun 2010 12:26:26 +0000 (12:26 +0000)] 
Update the German debconf translation.

13 years agoReword the debconf updates item, giving credit where credit is due.
Peter Pentchev [Sun, 20 Jun 2010 10:43:52 +0000 (10:43 +0000)] 
Reword the debconf updates item, giving credit where credit is due.

13 years agoUpdate the Portuguese debconf translation.
Peter Pentchev [Sun, 20 Jun 2010 10:42:50 +0000 (10:42 +0000)] 
Update the Portuguese debconf translation.

13 years agoBah, we need to target "unstable" to upload to mentors.d.n :)
Peter Pentchev [Sat, 19 Jun 2010 13:20:36 +0000 (13:20 +0000)] 
Bah, we need to target "unstable" to upload to mentors.d.n :)
So add a "do not upload" TODO item and, well, go for it.

13 years agoUpdate the changelog timestamp for the call to translations.
Peter Pentchev [Sat, 19 Jun 2010 13:15:11 +0000 (13:15 +0000)] 
Update the changelog timestamp for the call to translations.

13 years agoUpdate the Bulgarian debconf translation.
Peter Pentchev [Sat, 19 Jun 2010 13:09:39 +0000 (13:09 +0000)] 
Update the Bulgarian debconf translation.

13 years agoRun debconf-updatepo to fuzzy the relayhost question in translations.
Peter Pentchev [Sat, 19 Jun 2010 13:05:04 +0000 (13:05 +0000)] 
Run debconf-updatepo to fuzzy the relayhost question in translations.

13 years agoReword the debconf relayhost question - dma does not really *need*
Peter Pentchev [Sat, 19 Jun 2010 13:04:44 +0000 (13:04 +0000)] 
Reword the debconf relayhost question - dma does not really *need*
a smarthost anymore.

13 years agoFix the debconf operation a bit:
Peter Pentchev [Sat, 19 Jun 2010 13:01:24 +0000 (13:01 +0000)] 
Fix the debconf operation a bit:
- properly deal with unspecified values for SMARTHOST and DBOUNCEPROG
- remove the smarthost default now that dma can do MX lookups by itself

13 years agoForce delivery on a SIGALRM.
Peter Pentchev [Sat, 19 Jun 2010 11:09:45 +0000 (11:09 +0000)] 
Force delivery on a SIGALRM.

13 years agoErm, the copyright file is governed by DEP 5, not DEP 6!
Peter Pentchev [Sat, 19 Jun 2010 10:27:37 +0000 (10:27 +0000)] 
Erm, the copyright file is governed by DEP 5, not DEP 6!

13 years agoUpdate the upstream copyright notices in the copyright file.
Peter Pentchev [Sat, 19 Jun 2010 10:26:48 +0000 (10:26 +0000)] 
Update the upstream copyright notices in the copyright file.

13 years agoArgh, commit the M*/Q* processing fix that I've been doing after each install
Peter Pentchev [Sat, 19 Jun 2010 10:08:31 +0000 (10:08 +0000)] 
Argh, commit the M*/Q* processing fix that I've been doing after each install
for the past few days :)

13 years agoDrop pmake from Build-Depends now that we're using the GNU Makefile.
Peter Pentchev [Sat, 19 Jun 2010 09:53:04 +0000 (09:53 +0000)] 
Drop pmake from Build-Depends now that we're using the GNU Makefile.

13 years agoShorten the Vcs-Browser URL.
Peter Pentchev [Sat, 19 Jun 2010 09:37:44 +0000 (09:37 +0000)] 
Shorten the Vcs-Browser URL.

13 years agoSimplify a couple of paths.
Peter Pentchev [Fri, 18 Jun 2010 15:03:57 +0000 (15:03 +0000)] 
Simplify a couple of paths.

13 years agoInclude the dma package version in the dma-migrate version output.
Peter Pentchev [Fri, 18 Jun 2010 14:59:57 +0000 (14:59 +0000)] 
Include the dma package version in the dma-migrate version output.

13 years agoDisplay the version and the usage in the proper order :)
Peter Pentchev [Fri, 18 Jun 2010 14:58:13 +0000 (14:58 +0000)] 
Display the version and the usage in the proper order :)

13 years agoConvert the dma-migrate Makefile to GNU format and reconnect it to the build.
Peter Pentchev [Fri, 18 Jun 2010 14:56:54 +0000 (14:56 +0000)] 
Convert the dma-migrate Makefile to GNU format and reconnect it to the build.

13 years agoHonor LDFLAGS if specified in the environment.
Peter Pentchev [Fri, 18 Jun 2010 14:49:23 +0000 (14:49 +0000)] 
Honor LDFLAGS if specified in the environment.

13 years agoAdapt the rules file to build using the GNU Makefile.
Peter Pentchev [Fri, 18 Jun 2010 14:46:46 +0000 (14:46 +0000)] 
Adapt the rules file to build using the GNU Makefile.
Still need to reconnect dma-migrate to the build.

13 years agoActually, we still need the 04-debian-setgid patch.
Peter Pentchev [Fri, 18 Jun 2010 14:45:01 +0000 (14:45 +0000)] 
Actually, we still need the 04-debian-setgid patch.

13 years agoUpdate to 2010.06.17, part III: note the patch changes.
Peter Pentchev [Fri, 18 Jun 2010 14:26:22 +0000 (14:26 +0000)] 
Update to 2010.06.17, part III: note the patch changes.

13 years agoUpdate to 2010.06.17, part II: refresh the remaining patches.
Peter Pentchev [Fri, 18 Jun 2010 14:26:04 +0000 (14:26 +0000)] 
Update to 2010.06.17, part II: refresh the remaining patches.

13 years agoOops, fix the version number.
Peter Pentchev [Fri, 18 Jun 2010 14:08:34 +0000 (14:08 +0000)] 
Oops, fix the version number.

13 years agoUpdate to 2010.06.17, part I: adapt the patches.
Peter Pentchev [Fri, 18 Jun 2010 14:00:27 +0000 (14:00 +0000)] 
Update to 2010.06.17, part I: adapt the patches.

13 years agoTeach dbounce-simple-safecat about the M*/Q* spool scheme.
Peter Pentchev [Thu, 17 Jun 2010 14:29:46 +0000 (14:29 +0000)] 
Teach dbounce-simple-safecat about the M*/Q* spool scheme.

13 years agoBlah, reorder some stuff.
Peter Pentchev [Thu, 17 Jun 2010 14:28:23 +0000 (14:28 +0000)] 
Blah, reorder some stuff.

13 years agoMerge trunk rev. 5016 - allow the sender to be empty.
Peter Pentchev [Thu, 17 Jun 2010 14:27:34 +0000 (14:27 +0000)] 
Merge trunk rev. 5016 - allow the sender to be empty.

13 years agoMerge trunk rev. 5015: fix a double-free bug.
Peter Pentchev [Thu, 17 Jun 2010 14:25:48 +0000 (14:25 +0000)] 
Merge trunk rev. 5015: fix a double-free bug.

13 years agoMerge trunk rev. 5014: use dma's delqueue() so all queue files are removed.
Peter Pentchev [Thu, 17 Jun 2010 14:24:25 +0000 (14:24 +0000)] 
Merge trunk rev. 5014: use dma's delqueue() so all queue files are removed.

13 years agoMerge branches/debian/ rev. 4976: validate parsed recipient addresses.
Peter Pentchev [Tue, 15 Jun 2010 15:07:54 +0000 (15:07 +0000)] 
Merge branches/debian/ rev. 4976: validate parsed recipient addresses.

13 years agoInvoke dma-migrate if present before flushing the queue.
Peter Pentchev [Tue, 15 Jun 2010 11:01:57 +0000 (11:01 +0000)] 
Invoke dma-migrate if present before flushing the queue.

13 years agoA first attempt at integrating dma-migrate as a separate binary package.
Peter Pentchev [Tue, 15 Jun 2010 10:58:06 +0000 (10:58 +0000)] 
A first attempt at integrating dma-migrate as a separate binary package.

13 years agoArgh. Silly me :)
Peter Pentchev [Tue, 15 Jun 2010 10:30:21 +0000 (10:30 +0000)] 
Argh.  Silly me :)

13 years agoInitial import of a simple utility to convert dma spool files between formats.
Peter Pentchev [Tue, 15 Jun 2010 10:29:41 +0000 (10:29 +0000)] 
Initial import of a simple utility to convert dma spool files between formats.

14 years agoOne more to-do item.
Peter Pentchev [Thu, 3 Jun 2010 07:53:11 +0000 (07:53 +0000)] 
One more to-do item.

14 years agoWell, it builds with the hardening wrapper now.
Peter Pentchev [Thu, 3 Jun 2010 07:52:47 +0000 (07:52 +0000)] 
Well, it builds with the hardening wrapper now.

14 years agoFix some punctuation.
Peter Pentchev [Thu, 3 Jun 2010 07:52:29 +0000 (07:52 +0000)] 
Fix some punctuation.

14 years agoRefresh after 13-hardening.patch modified util.c.
Peter Pentchev [Thu, 3 Jun 2010 07:51:54 +0000 (07:51 +0000)] 
Refresh after 13-hardening.patch modified util.c.

14 years agoResurrect the build hardening patch and fix a couple of unchecked
Peter Pentchev [Thu, 3 Jun 2010 07:50:54 +0000 (07:50 +0000)] 
Resurrect the build hardening patch and fix a couple of unchecked
asprintf(3) and vasprintf(3) calls.

14 years agoUpdate to 0.0.2009.08.29. Still some more work to do.
Peter Pentchev [Wed, 2 Jun 2010 14:42:10 +0000 (14:42 +0000)] 
Update to 0.0.2009.08.29.  Still some more work to do.

14 years agoUse dpkg-buildflags to get CFLAGS, CPPFLAGS, and LDFLAGS.
Peter Pentchev [Wed, 2 Jun 2010 12:28:33 +0000 (12:28 +0000)] 
Use dpkg-buildflags to get CFLAGS, CPPFLAGS, and LDFLAGS.

14 years agoRemove the diffsrc target that even I am not using any more.
Peter Pentchev [Wed, 2 Jun 2010 12:19:28 +0000 (12:19 +0000)] 
Remove the diffsrc target that even I am not using any more.

14 years agoBring the copyright file up to the latest DEP 5 revision and bump
Peter Pentchev [Wed, 2 Jun 2010 12:11:52 +0000 (12:11 +0000)] 
Bring the copyright file up to the latest DEP 5 revision and bump
the year on my copyright notice.

14 years agoStart a new version in preparation for a new upstream version,
Peter Pentchev [Wed, 2 Jun 2010 11:22:11 +0000 (11:22 +0000)] 
Start a new version in preparation for a new upstream version,
but do a little maintenance on the package first.
Start by bumping Standards-Version to 3.8.4 with no changes.

14 years agotodo: create mbox files with correct user/permissions
Simon Schubert [Thu, 22 Apr 2010 14:27:46 +0000 (16:27 +0200)] 
todo: create mbox files with correct user/permissions

14 years agodocument the EMAIL environment variable
Simon Schubert [Thu, 22 Apr 2010 14:22:03 +0000 (16:22 +0200)] 
document the EMAIL environment variable

14 years agodrop the virtusertable support
Simon Schubert [Thu, 22 Apr 2010 14:04:24 +0000 (16:04 +0200)] 
drop the virtusertable support

A better way to set the envelope sender is to use either the -f argument
or to set the EMAIL environment variable.

14 years agoinstall with correct permissions
Simon Schubert [Thu, 22 Apr 2010 13:54:17 +0000 (15:54 +0200)] 
install with correct permissions

14 years agoLinux -Wall fixes
Simon Schubert [Sat, 17 Apr 2010 23:27:24 +0000 (01:27 +0200)] 
Linux -Wall fixes

14 years agofix parsing for "name <real@example.org>" addresses
Simon Schubert [Sat, 17 Apr 2010 23:09:30 +0000 (01:09 +0200)] 
fix parsing for "name <real@example.org>" addresses

Noticed-by: Ed Maste <emaste@freebsd.org>
14 years agouse the EMAIL env var as originating mail address
Simon Schubert [Sat, 17 Apr 2010 23:04:35 +0000 (01:04 +0200)] 
use the EMAIL env var as originating mail address

14 years agoremove debug output
Simon Schubert [Fri, 16 Apr 2010 18:45:27 +0000 (20:45 +0200)] 
remove debug output

14 years agoflip the polarity of the compatibility macros to HAVE_*
Simon Schubert [Fri, 16 Apr 2010 18:02:59 +0000 (20:02 +0200)] 
flip the polarity of the compatibility macros to HAVE_*

14 years agouse the plain makefile as default
Simon Schubert [Fri, 16 Apr 2010 17:53:00 +0000 (19:53 +0200)] 
use the plain makefile as default

14 years agotreat st_ino as uintmax_t to match the format string
Simon Schubert [Fri, 16 Apr 2010 08:19:41 +0000 (10:19 +0200)] 
treat st_ino as uintmax_t to match the format string

Submitted-By: Ed Maste <emaste@freebsd.org>
14 years agoIn the config script, fix a misspelling of dbounceprog as defer.
Peter Pentchev [Sat, 19 Dec 2009 12:50:04 +0000 (12:50 +0000)] 
In the config script, fix a misspelling of dbounceprog as defer.

Pointy hat to: myself

14 years agoRefresh the mailname patch after the dma.conf/debconf comments added to
Peter Pentchev [Sat, 19 Dec 2009 12:36:26 +0000 (12:36 +0000)] 
Refresh the mailname patch after the dma.conf/debconf comments added to
two other patches.

14 years agoUpdate the changelog timestamp.
Peter Pentchev [Sat, 19 Dec 2009 12:35:23 +0000 (12:35 +0000)] 
Update the changelog timestamp.

14 years agoAlways use the debconf value for the smarthost and the double-bounce program.
Peter Pentchev [Sat, 19 Dec 2009 12:29:04 +0000 (12:29 +0000)] 
Always use the debconf value for the smarthost and the double-bounce program.
Add a note to dma.conf stating that debconf may override the user values.