Re: How to log a Sieve match in Dovecot debug_log

2018-06-30 Thread @lbutlr
> On 30 Jun 2018, at 15:41, Lukas wrote: > > Sorry @lbutlr, this is a very silly answer to my question...! > My script is not the definite spam solution on my mail server, obviously. It doesn't matter. Triggering on specific words is not a spam solution. > So, if you can help, please, help

Re: How to log a Sieve match in Dovecot debug_log

2018-06-30 Thread Lukas
Sorry @lbutlr, this is a very silly answer to my question...! My script is not the definite spam solution on my mail server, obviously. In addition to Spamassassin, blacklist implementation, SPF, DKIM and more, I need to filter some specific messages with particular words and log the script

Re: How to log a Sieve match in Dovecot debug_log

2018-06-30 Thread @lbutlr
On 30 Jun 2018, at 03:28, Lukas wrote: > body :text :contains "crypto", > body :text :contains "sex", > body :text :contains "viagra" This is a very silly way to try to deal with spam. In fact, your own message to the list will be flagged by your rule. Actual spam

Re: How to log a Sieve match in Dovecot debug_log

2018-06-30 Thread Volker Wysk
Am Samstag, 30. Juni 2018, 12:33:49 CEST schrieb Lukas: > This is what I wanted to avoid with my question. I reported my script with > only three word just to make an example but my list is quite longer than > this. Let's suppose a list of 30 or 40 words... 30 or 40 rules? Possible but > very

Re: How to log a Sieve match in Dovecot debug_log

2018-06-30 Thread Lukas
Hi Volker! This is what I wanted to avoid with my question. I reported my script with only three word just to make an example but my list is quite longer than this. Let's suppose a list of 30 or 40 words... 30 or 40 rules? Possible but very unconfortable to manage. A more compact version of

Re: How to log a Sieve match in Dovecot debug_log

2018-06-30 Thread Volker Wysk
Am Samstag, 30. Juni 2018, 11:28:43 CEST schrieb Lukas: > Hi everybody! > > I manage a mail server running Dovecot 2.2.21 with Pigeonhole 0.4.10. I > successfully configured sieve and use it also to filter some spam messages. > Here is one of the script I use to filter messages on the basis of

How to log a Sieve match in Dovecot debug_log

2018-06-30 Thread Lukas
Hi everybody! I manage a mail server running Dovecot 2.2.21 with Pigeonhole 0.4.10. I successfully configured sieve and use it also to filter some spam messages. Here is one of the script I use to filter messages on the basis of prohibited words in message body. As you can see, the last