From 227b7d86f315032250b6bf8a10bcfff0d14b803f Mon Sep 17 00:00:00 2001 From: Peter Pentchev Date: Tue, 10 Mar 2009 12:14:37 +0000 Subject: [PATCH] Be true to the README.Debian file :) Enable deferred delivery and double-bounce handling by default. --- patches/03-debian-locations.patch | 9 ++++++++- patches/11-double-bounce.patch | 6 ++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/patches/03-debian-locations.patch b/patches/03-debian-locations.patch index 9b1bdaf..0c7eb42 100644 --- a/patches/03-debian-locations.patch +++ b/patches/03-debian-locations.patch @@ -1,5 +1,6 @@ On Debian, the aliases file lives in /etc, not /etc/mail. -Also, define a smarthost by default, albeit an invalid one. +Define a smarthost by default, albeit an invalid one. +Use deferred delivery - the package includes a cron job running the queue. --- a/dma.8 +++ b/dma.8 @@ -39,3 +40,9 @@ Also, define a smarthost by default, albeit an invalid one. # Path to your spooldir. Just stay with the default. SPOOLDIR /var/spool/dma +@@ -39,4 +39,4 @@ + + # 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 diff --git a/patches/11-double-bounce.patch b/patches/11-double-bounce.patch index 68d1767..79ea4ab 100644 --- a/patches/11-double-bounce.patch +++ b/patches/11-double-bounce.patch @@ -1,5 +1,7 @@ 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. --- a/conf.c +++ b/conf.c @@ -177,9 +179,9 @@ by the DBOUNCEPROG config parameter. @@ -40,3 +40,8 @@ # 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 + +# 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 +# full path to a program that will process the double-bounce message. -+#DBOUNCEPROG ++DBOUNCEPROG dbounce-simple-safecat -- 2.47.3