[exim] options to obsoleted 'demime'?

Top Page
Delete this message
Reply to this message
Author: OpenMacNews
Date:  
To: exim-users
Subject: [exim] options to obsoleted 'demime'?
hi all,

i'm working on removing 'obsoleted' checks from my exim.conf, as conventional
wisdom would seem to be -- don't use obsoleted features.

at issue is the use of 'demime', which, per the spec has been obsoleted ...
ok. that said, i currently use 'demime' twice in my exim.conf:

(1) to check/deny on 'seriou mime errors'
   deny message    = Serious MIME defect detected ($demime_reason)
        demime     = *
        condition  = ${if >{$demime_errorlevel}{2}{1}{0}}


(2) to invoke my spam scanner, Exiscan/ClamAV
   deny message    = VIRUS FOUND : ($malware_name)
        malware    = *
        demime     = *



questions:

(i) how should (1) be done if NOT with 'demime'?

(ii) per the spec,

    "Clamd does not seem to unpack MIME containers, so it is recommended to unpack 
MIME
    attachments in the MIME ACL"


    ...


    "If your virus scanner cannot unpack MIME and TNEF containers itself, you 
should use the demime
    condition (see section 40.5) before the malware condition."


catch-22 -->
clamav doesn't unpack. exim demime is obsolete. spec suggests using demime
to unpack.

options/suggestions/wisdom?

thx!

richard