IMAPSieve message marked as HAM should go through full sieve script of user
Dear all,
I use the IMAPSieve implementation described here: https://wiki.dovecot.org/HowTo/AntispamWithSieve
It is working really great! Thanks a lot for this.
The problem I have now is:
A message was by accident marked by rspamd as spam, so a false-positive
and is moved to the Junk folder.
If I click in my email program now on Not Spam
it is learn as HAM but
moved to the INBOX.
I would like that the email is not moved to INBOX but it should be moved
through the sieve script of the user again, as it is a new email.
Currently I have to mark all false-positives as not spam and have then to manually move it to the correct subfolder which is a bit annoying.
Is this possible?
Thanks a lot!
-- Gruß Matthias
On 5/10/2019 2:34 AM, Matthias Fechner via dovecot wrote:
The problem I have now is: A message was by accident marked by rspamd as spam, so a false-positive and is moved to the Junk folder. If I click in my email program now on
Not Spam
it is learn as HAM but moved to the INBOX. I would like that the email is not moved to INBOX but it should be moved through the sieve script of the user again, as it is a new email.
Chances are that it is your mail client doing the move -- directly, not as a message delivery. If your connection is IMAP, then the move would be done through that protocol.
To get the message to go through your sieve script again would require delivering it as a new message to Dovecot's LDA, and that's probably not something your mail client can do.
Thanks, Shawn
On 10 May 2019, at 02:34, Matthias Fechner via dovecot <dovecot@dovecot.org> wrote:
If I click in my email program now on
Not Spam
it is learn as HAM but moved to the INBOX. I would like that the email is not moved to INBOX but it should be moved through the sieve script of the user again, as it is a new email.
I think the way to do this would be for you to move the mail (after it gets moved to the INBOX) not a specific folder that sieve is watching and triggering that to run the scripts you want to ruin.
You cannot treat an existing mail as a new mail as far as I know.
-- 'There's Mr Dibbler.' 'What's he selling this time?' 'I don't think he's trying to sell anything, Mr Poons.' 'It's that bad? Then we're probably in lots of trouble.' --Reaper Man
participants (4)
-
@lbutlr
-
Aki Tuomi
-
Matthias Fechner
-
Shawn Heisey