Re: [Exim] Exim and SpamAssassin: Spam tagged, now what?

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Jonathan Vanasco
Dátum:  
Címzett: Malte Geierhos
CC: Lista Exim
Tárgy: Re: [Exim] Exim and SpamAssassin: Spam tagged, now what?
something like this:

directory = ${lookup mysql{ SELECT maildir FROM users where
address='${quote_mysql:${local_part}@${domain}}' and
is_alias='no'}}${if eq
{${substr_0_3:$header_X-Spam-Status:}}{Yes}{/.spam-probable}{}}

that *should* just append /.spam-probable to the directory returned
from the mysql lookup

i'm using an ldap lookup on mine, which looks more like this:

hide directory = ${lookup ldap{ bind/query/etc}{$value${if eq
{${substr_0_3:$header_X-Spam-Status:}}{Yes}{/.spam-probable}{}}fail}

i dont know how the mysql lookup works though.. in the ldap i use the
$value returned, and i'm a bit new to exim myself

but, it works just as i want.



On Friday, June 6, 2003, at 11:11 AM, Malte Geierhos wrote:

> hi !
>
> could you please post a bit more of your transport since i
> have no idea where to place it ...
>
> my maildir transport looks like this...
> <-------snipp ------------<
>
> directory = ${lookup mysql{ SELECT maildir FROM users where
> address='${quote_mysql:${local_part}@${domain}}' and is_alias='no'}}
>
>
> <-------snapp ------------<
>
> but you've made a condition which string has to be appended, but ??
>
> would be very fine...
>
> malte