Re: [exim] Passing variables into exim?

Top Page
Delete this message
Reply to this message
Author: Matthew Hodgson
Date:  
To: exim-users
Subject: Re: [exim] Passing variables into exim?
On Sat, 3 Feb 2007, Magnus Holmgren wrote:

> On Saturday 03 February 2007 02:24, Matthew Hodgson wrote:
>> Hi,
>>
>> Is there any way to pass variables into exim externally? I want to do
>> something like:
>>
>> spamcheck:
>>    driver = pipe
>>    command = /opt/exim/bin/exim --set-acl_c0=$acl_m0 -oMr spam-scanned -bS
>> -os10m transport_filter = /usr/bin/spamc -u $local_part@$domain
>>    use_bsmtp = true
>>    batch_max = 1

>
> Are you sure that you don't want to do spam scanning with the spam condition
> in the DATA ACL, or with SA-Exim?


Yes, I /think/ so - the reason for forking a new exim and filtering
through spamc once per recipient is so that spamassassin can use a
different user profile for scanning each message, the theory being that
each mail address will receive a different blend of ham/spam, and should
evolve its own corpus and bayesian db to best analyse each message. Or
does that sound nuts to anyone?

I'm also not interested in rejecting spam at SMTP time. Am I right in
thinking that ACL spam scanning is incapable of making use of
per-recipient user profiles?

thanks,

Matthew.

>
> -- 
> Magnus Holmgren        holmgren@???
>                       (No Cc of list mail needed, thanks)

>
> "Exim is better at being younger, whereas sendmail is better for
> Scrabble (50 point bonus for clearing your rack)" -- Dave Evans
>