Re: Tracing Sieve actions

2022-07-19 Thread Aki Tuomi
Then you should probably look at ManageSieve protocol, available in Dovecot and some of clients, especially webmail ones and recently even discussed on this list. Aki > On 20/07/2022 09:55 EEST justina colmena ~biz wrote: > > > Thank you. I will have to look at "basic configuration" for siev

Re: Tracing Sieve actions

2022-07-19 Thread justina colmena ~biz
Thank you. I will have to look at "basic configuration" for sieving although I don't want things crashing on production. I get too much mail at a publicly available address -- and while SPF+DKIM+DMARC does cut down on the bulk of obvious spam -- the spam that does get through is a little bit to

Re: Tracing Sieve actions

2022-07-19 Thread Doug Hardie
Thanks, that's basically the same as the man page. I finally figured out that the way to do it is with: sieve-test -t - -Tlevel=tests .dovecot.sieve /xxx where /xxx is the test message. That gives the actual line numbers. I thought I tried that combination, but apparently not. Anyway,

Re: Tracing Sieve actions

2022-07-19 Thread Aki Tuomi
> On 20/07/2022 09:34 EEST Doug Hardie wrote: > > > I encountered an interesting problem that one originator was being dumped > into the Deleted file directly by my sieve. The sieve file was quite large > and it was not obvious which entry was causing the issue. I recall there was > a wa

Tracing Sieve actions

2022-07-19 Thread Doug Hardie
I encountered an interesting problem that one originator was being dumped into the Deleted file directly by my sieve. The sieve file was quite large and it was not obvious which entry was causing the issue. I recall there was a way to get sieve-test to show what is going on and which lines it

Re: Tools to get a report of which folders have new mail?

2022-07-19 Thread Steve Litt
On Tue, 2022-07-19 at 09:19 +0300, Aki Tuomi wrote: > > > > > doveadm -fjson mailbox status -u user unseen "*" As promised, the following is the Python 3 script to take advantage of your command by printing out the mailbox name and number of unseen for each folder that has some unseen messages:

Re: dovecot Digest, Vol 231, Issue 31

2022-07-19 Thread Joseph Tam
> > doveadm -fjson mailbox status -u user unseen "*" > > Very nice Aki! I can pass that JSON to a Python program I make to parse > JSON, and then just report the ones not having "unseen":"0" . Thank Or use format "-ftab" and grep non-zero entries. Simpler than parsing JSON. Joseph Tam

Re: Tools to get a report of which folders have new mail?

2022-07-19 Thread John Stoffel
> "Peter" == Peter writes: Peter> On 19/07/22 3:18 pm, Steve Litt wrote: >> Is there any way I could use >> doveadm or other tools to create a report that shows all my folders in a >> hierarchy? Peter> See doveadm(1) and doveadm-mailbox(1), specifically the `doveadm mailbox Peter> list` co

Re: Tools to get a report of which folders have new mail?

2022-07-19 Thread Remo Mattei
Yes sorry maildir maildrop is something for rules using in qmail. Remo > On Jul 18, 2022, at 9:01 PM, Steve Litt wrote: > > Remo Mattei said on Mon, 18 Jul 2022 20:51:16 -0700 > >> Are you using maildrop or flat files In your config? > > Thanks Remo, > > If by "maildrop" you mean "maildir

Re: verify dovecot 2.3.19.1 + fts_tika + tika-server 2.4.1 attachment scanning?

2022-07-19 Thread PGNet Dev
On 7/19/22 2:33 AM, Aki Tuomi wrote: Jul 18 21:28:23 mx-test tika[18970]: DEBUG [qtp977522995-24] 21:28:23,264 org.apache.tika.parser.pdf.PDFParser File: /tmp/apache-tika-9115808773791090696.tmp, length: 104932, md5: 092bf24b2cac33fac27965549c99613a You can see if this matches with your PDF f

Re: Interfacing mutt with Dovecott

2022-07-19 Thread Thomas Zajic
* Steve Litt, 18.07.22 19:20 All my email for the past 20 years is held on a Dovecot IMAP server (version 2.3.19.1 (9b53102964)) on my desktop. I've been using Claws-Mail but want to switch to Mutt. [...] I know some people have been very successful running Mutt to access an IMAP server, so it a

Re: Tools to get a report of which folders have new mail?

2022-07-19 Thread Steve Litt
On Tue, 2022-07-19 at 16:33 +1200, Peter wrote: > On 19/07/22 3:18 pm, Steve Litt wrote: > > Is there any way I could use > > doveadm or other tools to create a report that shows all my folders > > in a > > hierarchy? > > See doveadm(1) and doveadm-mailbox(1), specifically the `doveadm > mailbox

Re: Tools to get a report of which folders have new mail?

2022-07-19 Thread Steve Litt
On Tue, 2022-07-19 at 09:19 +0300, Aki Tuomi wrote: > > > On 19/07/2022 06:18 EEST Steve Litt > > wrote: > > > >   > > Hi all, > > > > I use a Dovecot IMAP server on my Linux desktop computer, and I'm > > pretty good at writing shellscripts. Is there any way I could use > > doveadm or other too