]> git.ipfire.org Git - people/ms/dma.git/commitdiff
Disable default delivery by default, reword the README.Debian text, and
authorPeter Pentchev <roam@ringlet.net>
Tue, 27 Jul 2010 10:34:18 +0000 (10:34 +0000)
committerPeter Pentchev <roam@ringlet.net>
Tue, 27 Jul 2010 10:34:18 +0000 (10:34 +0000)
add a news blurb.

NEWS
README.Debian
changelog
patches/03-debian-locations.patch
patches/11-double-bounce.patch

diff --git a/NEWS b/NEWS
index 634e608f1f2d62d52e982cc56e49fba8cb030f7d..36ed11a44026697c8e9b460c3014e452f28c08ae 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,11 @@
+dma (0.0.2010.06.17-3) unstable; urgency=low
+
+   The default delivery mode has been changed to immediate, as it is in
+   the upstream version of dma; the DEFER keyword is now disabled by default
+   in dma.conf.
+
+ -- Peter Pentchev <roam@ringlet.net>  Tue, 27 Jul 2010 13:26:48 +0300
+
 dma (0.0.2010.06.17-1) unstable; urgency=low
 
    The dma spool directory format has changed.  The Debian package of dma now
index 03ceecd11b94f492f5e7687a60d3aa7a13f60c76..7031cdb2b9c41f177776258168f5b36dd688f8b9 100644 (file)
@@ -1,21 +1,29 @@
 dma for Debian
 --------------
 
-1. Deferred delivery by default
+1. Smarthost operation by default - needs to be configured!
+
+After first installing dma, you need to configure it for proper operation -
+whether it should deliver all outgoing e-mail messages through a single
+smarthost or attempt to contact the remote mail servers directly.  This should
+be configured through the debconf questions, but you may change the setting
+using the SMARTHOST directive in the /etc/dma/dma.conf file.
+
+2. Deferred delivery possible via a cron job
 
 The dma mail transfer agent may operate in two modes - immediate and
 deferred.  In both cases, a new dma process is spawned for the delivery
 of each outgoing message, and this process lives on until the message is
 either successfully delivered or it times out after five days.
 
-In immediate delivery mode, the new dma process is spawned as soon as
-the message is submitted to the queue.  In deferred mode, which is
-the default for the Debian package, the message is left in the queue
-and will only be processed when dma is invoked separately with the "-q"
-command-line option.  This is the preferred delivery mode - even though
-there may be slight delays, the queue must still be processed periodically
-anyway (if an immediate delivery is deferred, the message is still left
-on the queue), so there's no harm done in always doing it that way.
+In immediate delivery mode, which is the default, the new dma process is
+spawned as soon as the message is submitted to the queue.  In deferred mode,
+the message is left in the queue and will only be processed when dma is invoked
+separately with the "-q" command-line option.  This used to be the preferred
+delivery mode for the Debian package - even though there may be slight delays,
+the queue must still be processed periodically anyway (if an immediate delivery
+is deferred, the message is still left on the queue), so there's no harm done
+in always doing it that way.
 
 Hence, the Debian package of dma installs a cron job that attempts to
 flush the queue every five minutes.  Note that this does NOT mean that
@@ -24,13 +32,13 @@ is flushed, a separate dma instance is spawned for each still-unhandled
 message, and it takes care of reasonable exponential back-off in case of
 delivery problems.
 
-2. Smarthost operation by default - needs to be configured!
-
-After first installing dma, you need to configure it for proper operation -
-whether it should deliver all outgoing e-mail messages through a single
-smarthost or attempt to contact the remote mail servers directly.  This should
-be configured through the debconf questions, but you may change the setting
-using the SMARTHOST directive in the /etc/dma/dma.conf file.
+This cron job has no ill effect if dma has been configured for immediate
+delivery - if a message is submitted, a dma process shall be spawned to handle
+its delivery at once, and the cron job will not spawn any additional processes
+or in any way interfere with the running ones.  However, if the dma process
+that handles the delivery should die for some reason, or the system should be
+restarted, the cron job will ensure that a new delivery process is spawned in
+due time and the message is not just left in the queue.
 
 3. Double-bounce handling
 
@@ -47,4 +55,4 @@ copy the bounce message into a Maildir-structured storage,
 still has the dma internal format, which is plain text, but is not really
 a mailbox :)
 
- -- Peter Pentchev <roam@ringlet.net>  Mon, 21 Jun 2010 11:31:02 +0300
+ -- Peter Pentchev <roam@ringlet.net>  Tue, 27 Jul 2010 13:26:48 +0300
index b9e7041268a3b9105f301bff8fdad53e3f386d21..3f6e75aacc2e5cdf619fa3c0954e934af7bdc242 100644 (file)
--- a/changelog
+++ b/changelog
@@ -3,6 +3,12 @@ dma (0.0.2010.06.17-3) UNRELEASED; urgency=low
   * Update the debconf translations:
     - French by Steve Petruzzello; Closes: #587883
   * Bump Standards-Version to 3.9.1 with no changes.
+  * Disable deferred delivery by default, as in the upstream version:
+    - in the 03-debian-locations patch, comment the DEFER keyword in dma.conf,
+      as it is upstream
+    - refresh the 11-double-bounce.patch
+    - reword the README.Debian section on deferred delivery a bit
+    - add a news blurb
 
  -- Peter Pentchev <roam@ringlet.net>  Tue, 27 Jul 2010 13:12:34 +0300
 
index d7c67e6119db6f5b5f93b20325520525a6aa6b86..60f68d773a892bd83c3278d8f23b18772eda120b 100644 (file)
@@ -4,7 +4,7 @@ Description: Customize the /etc/dma configuration files for Debian.
 Origin: other: http://svn.ringlet.net/svn/ringlet/mail/dma/
 Forwarded: not-needed
 Author: Peter Pentchev <roam@ringlet.net>
-Last-Update: 2010-06-30
+Last-Update: 2010-07-27
 
 --- a/dma.8
 +++ b/dma.8
@@ -46,15 +46,6 @@ Last-Update: 2010-06-30
  
  # Path to your spooldir.  Just stay with the default.
  #SPOOLDIR /var/spool/dma
-@@ -39,7 +41,7 @@
- # Uncomment if you want to defer your mails.  This is useful if you are
- # behind a dialup line.  You have to submit your mails manually with dma -q
--#DEFER
-+DEFER
- # Uncomment if you want the bounce message to include the complete original
- # message, not just the headers.
 --- a/dma.c
 +++ b/dma.c
 @@ -70,7 +70,7 @@
index 05fd51d157c647c468c983c2f33e7c28dded4343..c95f9796550c4d708a202886c25c3f17e49d2fe6 100644 (file)
@@ -8,7 +8,7 @@ Description: Implement double-bounce handling via an external program.
 Origin: other: http://svn.ringlet.net/svn/ringlet/mail/dma/
 Bug: http://bugs.dragonflybsd.org/issue1321
 Author: Peter Pentchev <roam@ringlet.net>
-Last-Update: 2010-06-18
+Last-Update: 2010-07-27
 
 --- a/conf.c
 +++ b/conf.c
@@ -72,7 +72,7 @@ Last-Update: 2010-06-18
 +++ b/dma.conf
 @@ -43,6 +43,12 @@
  # behind a dialup line.  You have to submit your mails manually with dma -q
- DEFER
#DEFER
  
 +# The double-bounce handler program.  Leave this blank if you like dma's
 +# default behavior of simply aborting the delivery, or specify the name or