Re: IMAPSieve message marked as HAM should go through full sieve script of user

2019-05-10 Thread Aki Tuomi via dovecot


 
 
  
   
  
  
   
On 10 May 2019 22:23 @lbutlr via dovecot <
dovecot@dovecot.org> wrote:
   
   

   
   

   
   
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
   
  
  
   With 2.3 you could use
  
  
   
  
  
   https://wiki2.dovecot.org/Pigeonhole/Sieve/Plugins/IMAPFilterSieve
  
  
   
  
  
   to refilter mail. 
  
  
   
  
  
   Aki Tuomi
   
 



Re: IMAPSieve message marked as HAM should go through full sieve script of user

2019-05-10 Thread @lbutlr via dovecot
On 10 May 2019, at 02:34, Matthias Fechner via dovecot  
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




Re: IMAPSieve message marked as HAM should go through full sieve script of user

2019-05-10 Thread Shawn Heisey via dovecot

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


IMAPSieve message marked as HAM should go through full sieve script of user

2019-05-10 Thread Matthias Fechner via dovecot

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