Re: [exim] question about exim filters

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Mostafa M.Fouad
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] question about exim filters
can u kindly show me such router example?
----- Original Message -----
From: "Marc Sherman" <msherman@???>
To: <exim-users@???>
Sent: Sunday, January 14, 2007 11:47 PM
Subject: Re: [exim] question about exim filters


> Mostafa M.Fouad wrote:
>> so..
>> if i want a global filter that check spam_score if it's equal to certain
>> value...
>>
>> how can i force exim to save it to bulk folder of a recipient?!
>
> By doing it in a user filter. Consider what happens with a message with
> multiple recipients. What would you do with that message in a system
> filter (which is only run once per message) -- which user's spam folder
> would you save it to? By doing it in a user filter, the filter is run
> once per each recipient, and you can save it to each recipients spam
> folder in turn.
>
> If that's the only reason you want a filter, you don't even need a
> filter; just use a router directly.
>
> - Marc
>>
>>
>> ----- Original Message -----
>> From: "Marc Sherman" <msherman@???>
>> To: <exim-users@???>
>> Sent: Sunday, January 14, 2007 5:03 PM
>> Subject: Re: [exim] question about exim filters
>>
>>
>>> Mostafa M.Fouad wrote:
>>>> dear sirs
>>>>
>>>> i have little question about the exim filters which is....can i use
>>>> variables $domain and $local_part inside the filter??
>>> Only in a user filter, not in a system filter.
>>>
>>> http://exim.org/exim-html-4.66/doc/html/spec_html/ch43.html#SECTperaddfil
>>>
>>> - Marc
>>>
>>> --
>>> ## List details at http://www.exim.org/mailman/listinfo/exim-users
>>> ## Exim details at http://www.exim.org/
>>> ## Please use the Wiki with this list - http://www.exim.org/eximwiki/
>>>
>>
>>
>
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://www.exim.org/eximwiki/
>