Re: Sieve

2018-02-24 Thread Bill Shirley
This might get you pointed in the right direction: require "include"; require "fileinto"; require "body"; require "imap4flags"; require "regex"; if header :contains "subject" ["delayed mail", "undelivered mail", "returned to sender"] {   addflag "$label1";   stop; } if body :regex

Re: Assertion during dsync receive

2018-02-24 Thread Aki Tuomi
> On 23 February 2018 at 23:12 Tanstaafl wrote: > > > On Fri Feb 23 2018 14:53:53 GMT-0500 (Eastern Standard Time), Aki Tuomi > wrote: > > It is problem for any mailbox > > Ok, so, I'm still unclear... > > what cache are we talking about? Are

Re: Really slow IMAP performance

2018-02-24 Thread Neil Jerram
Aki Tuomi writes: > Yes. You deffo are looking at several reasons for slowness. > > I can only recommend moving into maildir or sdbox format, and probably new > HDD too. > > https://wiki2.dovecot.org/Tools/Doveadm/Sync here is example of 'converting' > between mailbox

Really slow IMAP performance

2018-02-24 Thread Neil Jerram
Please could you help me to understand and fix why my dovecot IMAP performance is so bad? I've read through a lot of the performance-related material on the website, but I don't think that any of it could account for slowness at the level that I am seeing. The simplest scenario is moving a

Re: Really slow IMAP performance

2018-02-24 Thread Aki Tuomi
On 24 February 2018 at 12:45 Neil Jerram < n...@ossau.homelinux.net> wrote: Please could you help me to understand and fix why my dovecot IMAP performance is so bad? I've read through a lot of the

Re: Really slow IMAP performance

2018-02-24 Thread Neil Jerram
Aki Tuomi writes: > On 24 February 2018 at 12:45 Neil Jerram < n...@ossau.homelinux.net> wrote: > > Please could you help me to understand and fix why my dovecot IMAP > performance is so bad? I've read through a lot of the > performance-related material on the

Re: Really slow IMAP performance

2018-02-24 Thread Neil Jerram
Aki Tuomi writes: >> On 24 February 2018 at 15:47 Neil Jerram wrote: [...] >> > Feb 24 10:24:24 arudy dovecot[1712]: imap(neil): Warning: >> > Transaction log file >> > /home/neil/dovecot-mail/.imap/INBOX/dovecot.index.log was locked >> > for 98

Re: Stale mailbox lock file

2018-02-24 Thread Aki Tuomi
It gets called when some imap process has left a lock file, but didn't clean it up (i.e. it crashed?). It means it cannot lock uidlist, but will notify if count of messages change. It is not very simple to debug this kind of issue from outside. Aki > On 23 February 2018 at 13:53 Raffaele

Re: Really slow IMAP performance

2018-02-24 Thread Håkon Alstadheim
Den 24. feb. 2018 15:04, skrev Neil Jerram: > Aki Tuomi writes: > >>> On 24 February 2018 at 15:47 Neil Jerram wrote: > > [...] Feb 24 10:24:24 arudy dovecot[1712]: imap(neil): Warning: Transaction log file

Re: dovecot auth and horde webmail

2018-02-24 Thread Aki Tuomi
This sounds awfully like problem in horde. Aki > On 24 February 2018 at 01:21 David Mehler wrote: > > > Hello, > > I'm not sure if this is a Dovecot-specific question, or Postfix or > Horde webmail. As Dovecot is used for authenticating both Postfix as > well as horde

Re: Really slow IMAP performance

2018-02-24 Thread Aki Tuomi
> On 24 February 2018 at 15:47 Neil Jerram wrote: > > > Aki Tuomi writes: > > > On 24 February 2018 at 12:45 Neil Jerram < n...@ossau.homelinux.net> > > wrote: > > > > Please could you help me to understand and fix why my dovecot IMAP > >

Dovecot With DSpam AntiSpam Plugin Replacement With Sieve

2018-02-24 Thread colinh
Hello I have recently had to rebuild my email server, it is a small server for my various email accounts and I also host the email for a clients business. Switched to Dovecot from Courier many years ago, and it has been a very reliable solution With the new rebuild I have updated it to

Re: Really slow IMAP performance

2018-02-24 Thread @lbutlr
On 2018-02-24 (07:04 MST), Neil Jerram wrote: > > My INBOX file has 22990 messages. Is the slowness that I am seeing > definitely expected for an mbox of that size? (It may also be relevant > that the HDD it's stored on is pretty old now, and has been known to >

Re: Really slow IMAP performance

2018-02-24 Thread @lbutlr
On 2018-02-24 (07:14 MST), Aki Tuomi wrote: > > https://wiki2.dovecot.org/Migration/MailFormat That didn't show up when searching wiki2 for "Migration" :/ -- "...Life is not a journey to the grave with the intention of arriving safely in one pretty and well-preserved

Re: Remove "Duplicate" emails (and documentation update)

2018-02-24 Thread @lbutlr
On 2018-02-23 (18:01 MST), @lbutlr wrote: > >>> First, even after expunging a message and running doveadm index -u >>> kremels ?Archive?, subsequent runs still show the same duplicate >>> messages. >> >> I suspect client side caching. > > No, there is no client side

Re: Really slow IMAP performance

2018-02-24 Thread Joseph Tam
On Sat, 24 Feb 2018, Neil Jerram wrote: My INBOX file has 22990 messages. Is the slowness that I am seeing definitely expected for an mbox of that size? (It may also be relevant that the HDD it's stored on is pretty old now, and has been known to report SMART errors...) Yeah, a copy of that

Re: Dovecot With DSpam AntiSpam Plugin Replacement With Sieve

2018-02-24 Thread Trever L. Adams
Thank you for this. I have a DSPAM setup that did work with the suggested scrips, but I used the old dovecot antispam plugin and enjoyed the signature method. I am going to try this out next week to see if it works for me. If it does, I will love this. Thanks again. Trever On 02/24/2018 02:02