Re: newbie: demime problem

moron <[email protected]> Tue, 28 Sep 2004 19:40:11 -0700
Newsgroups gmane.mail.exim.exiscan.user
Message-ID <[email protected]>
On Tuesday 28 September 2004 18:51, you wrote:
> demime should go in check_data surely?  You can't check it in check_mime
> since the message has already been demimed by that point...

Hey Dave.  That was it. . .I hadn't needed a check against "data" before and 
so had no ACL associated with it.  My initial reading of the docs suggested 
that acl_smtp_mime was the section that was used for exiscan and the examples 
in the docs:

http://duncanthrax.net/exiscan-acl/exiscan-acl-spec.txt

****
The   exiscan-acl   patch    extends Exims with  mechanisms to
deal with the  message body content.  Most of these  additions
affect the ACL system. The exiscan patch adds:

"A new ACL, called 'acl_smtp_mime' (Please see detailed
  chapter on this one below)."
****

I missed the initial bit that states:

"These conditions are designed to be used in the  acl_smtp_data
ACL."

So now I am a bit confused. . .what is the purpose of having the extra 
"acl_smtp_mime" ACL (since it is apparnetly not used for most conditions) and 
how do you know which section rules need to go into?  For example, the test 
against the filename works in the "acl_smtp_mime" section but "demime" only 
works in the "acl_smtp_data" section.  

Thanks for the previous quick response by the way, much appreciated.

Cheers

-- 
---> (culture) http://industrial.org : (label)  http://deterrent.net
---> (community) http://ampfea.org : (hire me) http://codegrunt.com
---> (send EEEI news to) [email protected]
---> Whomever dies with the most URLs wins!!!!!!!!!!!!!