Sophie

Sophie

distrib > Fedora > 16 > i386 > by-pkgid > 916508ae61a13aae014baf5a404888da > files > 1

dspam-3.10.2-2.fc16.src.rpm

--- doc/exim.txt	2011-08-16 17:38:30.000000000 -0500
+++ doc/exim.txt_NEW	2012-08-02 10:06:19.405528304 -0500
@@ -40,11 +40,17 @@
 
   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/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

--- src/dspam.conf.in	2012-04-11 13:48:33.000000000 -0500
+++ src/dspam.conf.in_NEW	2012-08-02 10:09:38.235559835 -0500
@@ -43,7 +43,7 @@
 # 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@"