Dovecot - spam training through Outlook

Aki Tuomi aki.tuomi at open-xchange.com
Thu Mar 5 10:46:04 EET 2020


Ah.

This is because you only match COPY, and outlook is doing APPEND+EXPUNGE
instead.

Aki

On 5.3.2020 10.39, Özgür Kazancci wrote:
> Hi Aki!
>
> Thank you for your reply.
>
> Sure, here are the related lines within my conf files and sieve
> scripts: https://hastepaste.com/view/Erk8Ra
>
> Thank you so much,
> Regards.
>
> Aki Tuomi <aki.tuomi at open-xchange.com>, 5 Mar 2020 Per, 11:31
> tarihinde şunu yazdı:
>>
>> On 5.3.2020 9.00, Özgür Kazancci wrote:
>>> Greetings everyone.
>>>
>>> My dovecot mail server doesn't execute *train-spam.sh* script I set,
>>> when moving an e-mail from "Inbox" to "Junk" within Outlook.
>>>
>>> However, it does it fine when using an online webmail client a.k.a.
>>> Roundcube Webmail.
>>>
>>> Here are few lines from my maillog file showing the situation. Any
>>> idea would be much appreciated.
>>>
>>> Log output of the mentioned process:
>>>
>>> From Outlook 2016 (Move from Inbox to Junk folder)
>>> Mar  5 07:50:37 mailserver1 dovecot:
>>> imap(info at mydomain.com)<72501><uGYu6hWgeupOrFX1>: delete: box=INBOX,
>>> uid=10, msgid=<016f01d5f248$45900090$d0b001b0$@test.xxx>, size=3344
>>> Mar  5 07:50:37 mailserver1 dovecot:
>>> imap(info at mydomain.com)<72501><uGYu6hWgeupOrFX1>: expunge: box=INBOX,
>>> uid=10, msgid=<016f01d5f248$45900090$d0b001b0$@test.xxx>, size=3344
>>>
>>>
>>> From Roundcube Webmail (Move from Inbox to Junk folder)
>>> Mar  5 07:48:45 mailserver1 dovecot:
>>> imap(info at mydomain.com)<14673></W6k7RWgyEl/AAAB>: sieve: pipe action:
>>> piped message to program `train-spam.sh'
>>> Mar  5 07:48:45 mailserver1 dovecot:
>>> imap(info at mydomain.com)<14673></W6k7RWgyEl/AAAB>: sieve: left message
>>> in mailbox 'Junk'
>>> Mar  5 07:48:45 mailserver1 dovecot:
>>> imap(info at mydomain.com)<14673></W6k7RWgyEl/AAAB>: copy from INBOX:
>>> box=Junk, uid=9, msgid=<2eed864c2c38a690349e87dbd271e474 at test.xxx>,
>>> size=1214
>>> Mar  5 07:48:45 mailserver1 dovecot:
>>> imap(info at mydomain.com)<14673></W6k7RWgyEl/AAAB>: expunge: box=INBOX,
>>> uid=15, msgid=<2eed864c2c38a690349e87dbd271e474 at test.xxx>, size=1214
>>>
>>> Dovecot version: 2.3.9.3 running on OpenBSD 6.6
>>>
>>> Many thanks,
>>> Özgür.
>>
>> Hi!
>>
>> Can you share your sieve script too?
>>
>> Aki
>>


More information about the dovecot mailing list