[Dovecot] Delete antispam emails
David Reid
david at jetnet.co.uk
Sat Apr 12 14:23:53 EEST 2008
Tom Hendrikx wrote:
> David Reid wrote:
>> I'm using dovecot with the antispam plugin to allow for training, but
>> how do I delete emails once they've been trained? If I delete them from
>> the folder using an email client they get retrained as valid emails when
>> they're moved to the trash folder! D'oh.
>>
>> I'm looking, ideally, for a solution that doesn't need a script to be
>> run per user as I have a number of users using this feature. Also, the
>> cleanspam script doesn't seem to be able to find the folder I'm using
>> ('SpamTrain') so what format should I use?
>>
>> Thanks.
>>
>> david
>
> When you configure the trash folder in the antispam plugin correctly,
> messages moved from spam to trash are not retrained as ham. With
> Thunderbird as your client in default configuation, the dovecot plugin
> config should look like:
>
> antispam_trash: Trash
> antispam_spam: Junk
Hmm, I thought I had done that! These are the lines I have
antispam_trash = trash;Trash;Deleted Items
antispam_spam = SpamTrain;INBOX.SpamTrain
>
> You need to add the appropriate (default) folder names for all used
> clients though, or standardize the folders and let users adapt the
> settings in their clients.
Have I messed up the syntax? Thanks for the prompt reply!
>
> --
> Tom
>
>
> ------------------------------------------------------------------------
>
> !DSPAM:16,48009999124071709054984!
More information about the dovecot
mailing list