[email protected] a écrit :
> mouss <[email protected]> escribió:
> 
>> [email protected] a écrit :
>>> Another subject of consultation, I have implemented bogofilter in my
>>> work, I have been trained according to the documentation at this point
>>> that the messages marked as SPAM and HAM, the second step would be to
>>> take a decision to the marked messages.
>>>
>>> How could move messages marked as spam that are coming, be moved to a
>>> folder called SPAM on every mailbox?
>>>
>>> I use Postfix + MailScanner + Bogofilter + Dovecot
>>>
>>> Sorry if annoying with so many questions.
>>>
>>
>> if not already done, install the doevcot sieve plugin and use it.
>>
>> something like:
>>
>> require "fileinto";
>>
>> if header :contains "X-Spam-Bogosity" "Spam" {
>>         fileinto "Junk";
>>         stop;
>> }
>>
>>
>> for more infos about dovecot and/or sieve, ask on the dovecot list
>> for infos on bogo headers (to handle "Unsure"), guess it or ask on
>> bogofilter list.
>>
>>
> 
> 
> Might add a few lines in the same I use with Bogofilter content_filter
> for each time you enter the message and this marked as spam, move it to
> a folder?
> 

sorry, I don't understand. the cited dovecot rule does put mail in the
"Junk" folder if it contains
X-Spam-Bogosity: Spam....



> Or it could go in the variant in dovecot sieve.

probably.

Reply via email to