Re: [exim] Rule question (ExiScan related)

Pàgina inicial
Delete this message
Reply to this message
Autor: David S. Madole
Data:  
A: exim-users
Assumpte: Re: [exim] Rule question (ExiScan related)
From: "Shane Wegner" <shane-keyword-exim.b1acb5@???>
>
> The exiscan acl has the following.
> set acl_m0 = $local_part@$domain
> which passes the username-anything@domain to spamd. Is
> there a way I could instead pass just the user@domain with
> the part following the - stripped. IE. shane-kernel@???
> gets passed to spamd as shane@??? as that's where it's
> getting delivered anyway?


How about:

set acl_m0 = ${extract{1}{-}{$local_part}}@$domain

Although to be clear, it's really the "spam = " line that passes the
value to SpamAssassin.

David