Re: [exim] $header_X-xxx expansion not working in router sec…

Góra strony
Delete this message
Reply to this message
Autor: Chris Siebenmann
Data:  
Dla: Andreas Pflug
CC: exim-users
Temat: Re: [exim] $header_X-xxx expansion not working in router section
| Am 06.03.13 18:08, schrieb Jeremy Harris:
| > On 06/03/2013 16:43, Andreas Pflug wrote:
| >> In any case, I'd like to bounce NDRs on non-spams, and silently omit
| >> spams mails. Consequently, I have to receive ALL mails, analyze them and
| >> react accordingly.
| >
| > The "Consequently" you claim does not actually apply. You can do your
| > analysis after receiving the mail content but *before* accepting it.
| SpamAssassin/MailScanner works an exim's queue files, i.e. after smtp is
| finished.


It's possible to hijack Exim's DATA-time content and malware scanning
to run arbitrary programs and use their output as accept/reject
feedback. We do that here to hook in to a milter-based filter. The
limitation is that you can't actually change the in-flight message, only
get feedback.

Since this is somewhat intricate I'm not going to try to describe
it here, just refer interested parties to my blog entry about it:

    http://utcc.utoronto.ca/~cks/space/blog/sysadmin/EximMilterHookup


This setup has been running solidly for us without problems since I
wrote that entry.

    - cks