Differences between version 21 and revision by previous author of EximMailFilter.
Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History
Newer page: | version 21 | Last edited on Monday, June 27, 2005 4:46:30 pm | by JamieCurtis | Revert |
Older page: | version 18 | Last edited on Monday, June 27, 2005 1:20:09 pm | by IanMcDonald | Revert |
@@ -85,8 +85,21 @@
<pre>
# itp: set SpamAssassin path
#
spamd_address = 127.0.0.1 783
+</pre>
+
+If you are running SpamAssassin on the local machine and don't like the idea of opening any more TCP sockets than you have to, add the following to the /etc/default/spamassassin OPTIONS line:
+<pre>
+--socketpath=/var/run/spamd.ctl
+</pre>
+
+and set exim's configuration to read:
+
+<pre>
+# itp: set SpamAssassin path
+#
+spamd_address = /var/run/spamd.ctl
</pre>
!Really spammy stuff
@@ -192,9 +205,9 @@
</pre>
Recent exiscans (including the one included with Exim 4.50) have deprecated demime, instead adding a acl_smtp_mime ACL. This is more powerful than the precvious demime, but as always, is more complex to get the above features.
-See http://www.exim.org/mail-archives/exim-users/Week-of-Mon-20050523/msg00117.html for a thread on this. Otherwise add
something like the following:
+See http://www.exim.org/mail-archives/exim-users/Week-of-Mon-20050523/msg00117.html for a thread on this. (there are many typo's in the original post that are fixed below). Add
something like the following:
<pre>
# Decode MIME parts to disk. This will support virus scanners later.
deny
@@ -212,8 +225,10 @@
log_message = DENY: MIME Error (Too many MIME parts: $mime_part_count)
# Excessive line length
#
+ # BEWARE: Exim 4.50 has a bug that means regex's don't work in the MIME ACL. Don't use
+ # in that case !
deny
regex = ^.{131071}
message = MIME error: Line length in message or single header exceeds 131071.
log_message = DENY: MIME Error (Maximum line length exceeded)
@@ -227,16 +242,16 @@
# Filename length too long (> 255 characters)
#
deny
- condition = ${if >{strlen:$mime_filename}{255}{yes}{no}}
+ condition = ${if >{$
{strlen:$mime_filename}
}{255}{yes}{no}}
message = MIME error: Proposed filename exceeds 255 characters
log_message = DENY: MIME Error (Proposed filename too long)
# MIME boundary length too long (> 1024)
#
deny
- condition = ${if >{strlen:$mime_boundary}{1024}{yes}{no}}
+ condition = ${if >{$
{strlen:$mime_boundary}
}{1024}{yes}{no}}
message = MIME error: MIME boundary length exceed 1024 characters
log_message = DENY: MIME Error (Boundary length too long)
# File extension filtering.