Re: [exim] replacing headers in ACLs

Góra strony
Delete this message
Reply to this message
Autor: Stanislaw Halik
Data:  
Dla: exim-users
Temat: Re: [exim] replacing headers in ACLs
On Sun, Apr 02, 2006, christoph.kliemt@??? wrote:
>>>> i'm trying to replace headers in the ACLs, so i could hint
>>>> SpamAssassin (through exiscan-acl) about the status of callout
>>>> verification.
>>> I do not think that this is a good idea. If you *really* want to use
>>> callout verification, pass the information via a variable to the
>>> router to SpamAssassin.
>> i use exiscan-acl, which scans the messages SMTP-time. unfortunately,
>> there's no router facility - it's done in the DATA acl.
> no router facility? hmpf... pass the result of scanning to a variable,
> evaluate it in a router. iirc exiscan-acl is a bit outdated.


i can't get it to work properly without exiscan-acl. if i invoke SA like
this:

sa_spamcheck:
driver = pipe
command = /usr/local/sbin/exim -oMr spam-scanned -bS
use_bsmtp = true
transport_filter = /usr/local/bin/spamc -u ${local_part} -U /var/run/spamd/sock
[...]

settings like envelope sender and ACL variables are overwritten. i.e.
the spamcheck transport is run after /etc/aliases redirect and
envelope-to is lost.

if i try the other way, without using BSMTP, just having SA in
transport_filter, if SA times out, procmail receives an empty mail, with
the only line being `From weirdo@??? [...]'. perhaps it is
sent even before SA is invoked.

i have no idea what to do about it. any hints?

-- sh