[Pkg-dspam-commits] [SCM] Debian packages for the DSPAM anti-spam filter branch, master, updated. debian/3.10.2+dfsg-1-6-g799b028
Thomas Preud'homme
robotux at celest.fr
Sun Aug 26 10:12:25 UTC 2012
The following commit has been merged in the master branch:
commit 737369e07b43eb1060bf04f5e3559c54478e7163
Author: Thomas Preud'homme <robotux at celest.fr>
Date: Sun Aug 12 00:47:09 2012 +0800
Fix dspam documentation about exim integration
Apply patch from upstream to fix documentation with regards to
integration of dspam with exim (Closes: #644392).
diff --git a/debian/changelog b/debian/changelog
index 8579fa7..663fd4f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+dspam (3.10.1+dfsg-5) testing-proposed-updates; urgency=low
+
+ * Team upload.
+ * Upload via testing-proposed-updates as unstable contains a new upstream
+ version.
+ * Cherry-pick patch from upstream to recommend using -oi when using dspam
+ with exim (Closes: #644392).
+
+ -- Thomas Preud'homme <robotux at celest.fr> Sat, 11 Aug 2012 22:25:43 +0800
+
dspam (3.10.1+dfsg-4) unstable; urgency=low
* Apply patch from upstream to use POSIX::ctime() instead of deprecated
diff --git a/debian/dspam-documents/exim4/dspam.conf b/debian/dspam-documents/exim4/dspam.conf
index 7136dd6..d5f72aa 100644
--- a/debian/dspam-documents/exim4/dspam.conf
+++ b/debian/dspam-documents/exim4/dspam.conf
@@ -22,7 +22,7 @@ Home /var/dspam
# Other popular configurations:
#TrustedDeliveryAgent "/usr/cyrus/bin/deliver" # Cyrus
#TrustedDeliveryAgent "/bin/maildrop" # Maildrop
-#TrustedDeliveryAgent "/usr/sbin/exim -oMr spam-scanned $u" # Exim
+#TrustedDeliveryAgent "/usr/sbin/exim -oMr spam-scanned -oi $u" # Exim
TrustedDeliveryAgent "/usr/sbin/exim4" # Exim
#
#TrustedDeliveryAgent "/usr/bin/procmail"
diff --git a/debian/patches/008_fix_exim_integration_doc.diff b/debian/patches/008_fix_exim_integration_doc.diff
new file mode 100644
index 0000000..01f5cd5
--- /dev/null
+++ b/debian/patches/008_fix_exim_integration_doc.diff
@@ -0,0 +1,62 @@
+Description: Fix documentation about exim integration
+
+Using dspam with exim requires to call exim with option -oi to avoid mails
+from being truncated. This commit modify the documentation and configuration
+file to add the -oi option when calling exim.
+
+Author: Kenneth Marshall <ktm at rice.edu>
+Origin: upstream, http://dspam.git.sourceforge.net/git/gitweb.cgi?p=dspam/dspam;a=commitdiff;h=e515570c74b0e48e714c5b45f11de2a5b3482459
+Bug-Debian: http://bugs.debian.org/644392
+Forwarded: http://sourceforge.net/mailarchive/forum.php?thread_name=20120802190055.GF15829%40aart.rice.edu&forum_name=dspam-user
+Last-Update: 2012-08-13
+
+--- dspam-3.10.1+dfsg.orig/CHANGELOG
++++ dspam-3.10.1+dfsg/CHANGELOG
+@@ -1,3 +1,5 @@
++[20121202:2115] sbajic: Update documentation for Exim integration.
++
+ Version 3.10.1
+ --------------
+
+--- dspam-3.10.1+dfsg.orig/doc/exim.txt
++++ dspam-3.10.1+dfsg/doc/exim.txt
+@@ -1,4 +1,4 @@
+-$Id: exim.txt,v 1.1 2005/03/11 21:16:03 jonz Exp $
++$Id: exim.txt,v 1.2 2012/08/02 21:09:23 sbajic Exp $
+
+ EXIM 4 INTEGRATION
+
+@@ -40,11 +40,17 @@ domain as part of the username:
+
+ command = /usr/local/bin/dspam --deliver=innocent --user "$local_part@$domain" -- %u
+
+-Finally, you will need to configure and compile DSPAM. DSPAM will most likely
+-end up calling exim again for delivery, using the spam-scanned protocol to
+-identify scanned messages. The most common example is:
+-
+- ./configure --with-delivery-agent="/usr/sbin/exim -oMr spam-scanned"
++Finally, you will need to configure and compile DSPAM. You can configure
++DSPAM with the appropriate LDA using --with-delivery-agent= at configure
++time or by specifying TrustedDeliveryAgent in dspam.conf. DSPAM will most
++likely end up calling exim again for delivery, using the spam-scanned
++protocol to identify scanned messages. The most common example is:
++
++ ./configure --with-delivery-agent="/usr/local/sbin/exim -oMr spam-scanned -oi"
++
++Note: DSPAM expects the LDA to NOT provide the "line with a single dot (.)"
++processing to indicate the end of data that a MTA must provide to meet the
++SMTP RFC, hence the "-oi" option to exim above.
+
+ RUNNING WITHOUT PRIVILEGED EXIM USERS
+
+--- dspam-3.10.1+dfsg.orig/src/dspam.conf.in
++++ dspam-3.10.1+dfsg/src/dspam.conf.in
+@@ -43,7 +43,7 @@ StorageDriver @libdir@/dspam/@storage_dr
+ # Other popular configurations:
+ #TrustedDeliveryAgent "/usr/cyrus/bin/deliver" # Cyrus
+ #TrustedDeliveryAgent "/bin/maildrop" # Maildrop
+-#TrustedDeliveryAgent "/usr/local/sbin/exim -oMr spam-scanned" # Exim
++#TrustedDeliveryAgent "/usr/local/sbin/exim -oMr spam-scanned -oi" # Exim
+ #
+ TrustedDeliveryAgent "@delivery_agent@"
+
diff --git a/debian/patches/series b/debian/patches/series
index fb522ff..075369b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@
005_dspam-notify.diff
006_default-daemon-port.diff
007_ctime.pl.diff
+008_fix_exim_integration_doc.diff
--
Debian packages for the DSPAM anti-spam filter
More information about the Pkg-dspam-commits
mailing list