Differences between version 19 and revision by previous author of EximMailFilter.
Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History
Newer page: | version 19 | Last edited on Monday, June 27, 2005 1:28:00 pm | by JamieCurtis | Revert |
Older page: | version 18 | Last edited on Monday, June 27, 2005 1:20:09 pm | by IanMcDonald | Revert |
@@ -192,9 +192,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
@@ -227,16 +227,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.