Re: mail-storage.c:2473 assertion failed: (!ctx->unfinished) (related to antispam?)

2017-09-28 Thread Matthijs Kooijman
Hi folks, I did a bit more digging in the coredump and found that the crash happens when copying a file into any folder that is configured as "unusre" using the "antispam_unsure" config variable. This was originally my INBOX, but I just configured some random folder as "unsure" as well, and the sa

Re: mail-storage.c:2473 assertion failed: (!ctx->unfinished) (related to antispam?)

2017-09-27 Thread Matthijs Kooijman
Hi Aki, > To verify whether it's caused by antispam plugin, you could copy/move > mail to Spam folder and see if it crashes? That's inconclusive: I can copy stuff in and out of my Spam folder just fine using mutt. I've never seen the crash for my user so far, which suggests this is specific to one

Re: Panic

2017-09-27 Thread Matthijs Kooijman
Hey Aki, > Can you please include excerpt of your logs too? There should be "Panic: > ..something..." there. I just sent those over in a reply on my original mail. Also note that dovecot-antispam seems to be involved somehow, as noted in that mail. > also bt full is more useful than just bt. Lear

mail-storage.c:2473 assertion failed: (!ctx->unfinished) (related to antispam?)

2017-09-27 Thread Matthijs Kooijman
t that at least the antispam plugin is involved in these imap sessions, and might the the one causing the crash. I'm running the latest antispam version from Debian (2.0+20170109-1+b2, which also seems to be the latest upstream). Gr. Matthijs On Wed, Sep 27, 2017 at 02:21:09PM +0200, Matthij

Panic

2017-09-27 Thread Matthijs Kooijman
(I'm not subscribed, please keep me CC'd) Hi, since a few months I'm experiencing repeated dovecot crashes. I mostly see them in the logs, I haven't had any users complain, so I haven't looked closely until now. I was originally using an older version fro mDebian and hoped that a newer future ver

Re: sievec drops privileges unexpectedly

2014-06-25 Thread Matthijs Kooijman
Hey Stephan, > ># 2.1.7: /etc/dovecot/dovecot.conf > > This is a very old and obsolete version. This problem was fixed > almost two years ago: Ah, cool. This is what Debian/stable ships, so I'll probably stick to this version for a while. Good to hear it's already fixed, then I'll just work arou

sievec drops privileges unexpectedly

2014-06-25 Thread Matthijs Kooijman
(Please keep me CC'd, I'm not subscribed) Hi folks, I'm using dovecot 2.1.7 (from Debian stable) with sieve. I have default sieve script configured, which lives in /etc/dovecot/sieve. I use dovecot-lda running under the virtual-mail user, which does not have write access to the /etc/dovecot/sieve

Re: [Dovecot] Exposing global (default) sieve script through Managesieve

2012-06-03 Thread Matthijs Kooijman
Hi Stephan, > You asked this one on IRC a while back right? Yup, that was me. > The copy-on-write scheme I describe above may solve this, as it > remembers (somehow) the status of the account: either an > untouched/unconfigured account or an account with no active scripts. > This behavior c

[Dovecot] Exposing global (default) sieve script through Managesieve

2012-06-01 Thread Matthijs Kooijman
Hi folks, I'm setting up a dovecot server with managesieve support. I'd like to offer spamfiltering through a Sieve script to my users by default, but still allow them to modify the filtering rules through Managesieve. I found the sieve_global_path configuration option, which seems perfect for wh

Re: [Dovecot] How do folk . . . Aggregate system mail from LAN machines?

2011-01-12 Thread Matthijs Kooijman
> 2. Perhaps, use a 'forwarding' mechanism of some sort on each LAN > machine, but that would require an MTA on each LAN machine, would it not? I do something similar: On a set of (virtual) servers, I run a super-lightweight MTA called "nullmailer". That just queues mails and sends them over to

Re: [Dovecot] IMAP IDLE, Virtual mailboxes

2010-08-05 Thread Matthijs Kooijman
> Well, fine.. http://hg.dovecot.org/dovecot-1.2/rev/367ce71922bf Woohoo, thanks :-) > But I don't know when 1.2.14 release will come, if ever. We'll see. For now I'm just running a patched version, but this saves me the trouble of recompiling if 1.2.14 every gets released :-) Gr. Matthijs sig

Re: [Dovecot] IMAP IDLE, Virtual mailboxes

2010-08-05 Thread Matthijs Kooijman
Hi Timo, > Here: http://hg.dovecot.org/dovecot-2.0/rev/eb1f471a924d Cool! I've just tested this patch on 1.2 (current hg version), and the patch applies cleanly and seems to work as well. I'm running it right now. Are there any plans to include this in 1.2 still? Gr. Matthijs signature.asc D

Re: [Dovecot] IMAP IDLE, Virtual mailboxes

2010-07-22 Thread Matthijs Kooijman
Hi all, it's been a while since I wrote below email. Any chance someone has some extra debugging suggestions for me? Gr. Matthijs On Thu, Apr 29, 2010 at 10:00:18AM +0200, Matthijs Kooijman wrote: > Hi Timo, Patrick, > > > > Virtual plugin does already work like that. Al

Re: [Dovecot] IMAP IDLE, Virtual mailboxes

2010-04-29 Thread Matthijs Kooijman
Hi Timo, Patrick, > > Virtual plugin does already work like that. Although there's a bug > > where messages don't get removed from mailbox always: > > Oh, I see. I'll give it another try then, I believe I tried this, but > never got notified of new mails in the virtual mailbox through the IMAP >

Re: [Dovecot] Client behaviour with sieve

2010-02-19 Thread Matthijs Kooijman
Hi Koenraad, > What I don't like is that you posted my e-mail-adress in your > message. Now it will be available to harvesters, and I will get spam > via that address very soon. Please don't be offended, but remove > that from your replies. Not to a wise ass, but by posting to a list, you'll get y

[Dovecot] Virtual mailboxes show up twice

2010-02-08 Thread Matthijs Kooijman
Hi all, I've been struggling a bit getting Hastymail webmail to work with my virtual mailboxes. After a while, I discovered that my virtual mailboxes are listed twice: Once with \NoSelect and once without. See the following (partial) LIST reponse: * LIST (\Noselect \HasChildren) "/" "virtual" * L

Re: [Dovecot] homedir auto-creat

2009-11-10 Thread Matthijs Kooijman
Hi Frank, > Is it possible to activate home directories auto creation when using > real UNIX users ( NIS ) on the dovecot server ? If you're using pam for authentication, you could perhaps use pam_mkhomedir? This works for any PAM app. Gr. Matthijs signature.asc Description: Digital signature

Re: [Dovecot] Multiple identities

2009-10-27 Thread Matthijs Kooijman
Hi Koenraad, > Doh. Seems I skipped a few lines and misunderstood others. The > directory should _exist_ (and with the right permissions) ! Now it > works. Feel free to improve the wording, it's a wiki! I agree with you that it is not the best description of rawlog, even though all information is

Re: [Dovecot] Multiple identities

2009-10-27 Thread Matthijs Kooijman
> P.S. any idea why rawlog doesn't work ? Where should to log-file be placed ? Did you see http://wiki.dovecot.org/Debugging/Rawlog ? "It works by checking if dovecot.rawlog/ directory exists in the logged in user's home directory, and writing the traffic to mmdd-HHMMSS-pid.in and .out files.

Re: [Dovecot] v2.0 configuration parsing

2009-08-11 Thread Matthijs Kooijman
> You are right, and I left out half of my thoughts. I think there should be > only a coarse grained concept of "more specific rules" - e.g. a protocol > section is more specific than general config, and a local or remote IP > restriction is more specific than a protocol section. I think that th

Re: [Dovecot] v2.0 configuration parsing

2009-08-11 Thread Matthijs Kooijman
> > 1) User logs in to imap from 192.168.0.1. What is foo's value? > > > > protocol imap { > > remote_ip 192.168.0.0/16 { > > foo = foo > > } > > } > > remote_ip 192.168.0.0/24 { > > foo = bar > > } > > This one is easy. It should be foo in any case :-) Why? /24 is more specific than /1

Re: [Dovecot] dovecot and ntp: Fatal: Time just moved backwards

2009-06-10 Thread Matthijs Kooijman
Hi Arno, >> http://wiki.dovecot.org/TimeMovedBackwards bottom answers this. A >> restart isn't much better than just ignoring the time change. > In point 3 ("you can use clockspeed as well") you could mention > "chrony", too: That page has an edit button, so feel free! Gr. Matthijs signatu

Re: [Dovecot] dovecot and ntp: Fatal: Time just moved backwards

2009-06-09 Thread Matthijs Kooijman
Hi Eugene, > But really, all this leads is that admin has to detect the dovecot > termination and simply go and restart it manually -- after some bad > thoughts. During normal operation, on 99% of the hosts, the clock should never need to leap backwards. So if that ever happens, it seems fine

Re: [Dovecot] ext3/ext4 performance issue

2009-05-18 Thread Matthijs Kooijman
Hi Scott, > One could always run the mailstore on LVM and then you could snapshot the > mount and then fsck it while still technically in use. It would probably slow > down the filesystem, but it is still live. Uhm, and then you have a nice and fsck'd snapshot, but your live filesystem will still

Re: [Dovecot] New messages notification - (IMAP PUSH?)

2009-05-06 Thread Matthijs Kooijman
Hi Proskurin, > Seems to it is not possible in near future. It is heavy used production > server. :-( I think you should still be able to pull this off with rawlog. It relies on the mail_executable setting, which you should be able to set for some specific user only using some userdb magic. Alter

Re: [Dovecot] New messages notification - (IMAP PUSH?)

2009-05-06 Thread Matthijs Kooijman
> If so, I would drop SSL/TLS and sniff the connection, whether or not > Thunderbird checks the mailboxes at all. If you want to sniff the connection, you can better use the rawlog utility, which works with TLS as well. See the wiki page Rawlog for more info. Gr. Matthijs signature.asc Descript

Re: [Dovecot] "Broken mailbox list" with virtual plugin

2009-05-06 Thread Matthijs Kooijman
Hi, I just noticed another error in the log, something somewhat more serious: Panic: file virtual-sync.c: line 524: unreached Raw backtrace: imap [0x80efa61] -> imap [0x80efae2] -> imap [0x80ef469] -> /usr/lib/dovecot/modules/imap/lib20_virtual_plugin.so [0xb7e5f762] -> /usr/lib/dovec

[Dovecot] "Broken mailbox list" with virtual plugin

2009-05-06 Thread Matthijs Kooijman
Hi, I'm using the virtual plugin for a virtual inbox (with dovecot 1.2, r8980), whose dovecot-virtual file looks as follows: INBOX INBOX/Lists INBOX/Bulk INBOX/MaybeSpam Folders/TODO all Everything seems to work fine, but I get the following error in my logfiles: IMAP(matthijs):

Re: [Dovecot] Disabling users whilst still allowing logins with a 'master password'

2009-04-30 Thread Matthijs Kooijman
Hi Dominic, > Normally to disable logins for a user we chmod their mail store to 0 > so they can't access it, which has the same effect, but this obviously > also prevents the master password from being able to access it. Would it be feasible to chown the mailstore to some special user and use the

Re: [Dovecot] How to call a script when an E-Mail will moved in a folder?

2009-04-30 Thread Matthijs Kooijman
Hi all, > Look at the antispam or pipe plugins of Dovecot. > Or write a demon watching with something like inotify and act accordingly. the antispam plugin can be found here: http://johannes.sipsolutions.net/Projects/dovecot-antispam Gr. Matthijs signature.asc Description: Digital signature

Re: [Dovecot] Virtual plugin - [SERVERBUG] BUG: Unknown internal error

2009-04-29 Thread Matthijs Kooijman
Hi Brandon, > Aha! inthread refs x-mailbox Mail/ now gives me stuff and no server > bug error. Thanks for the tip. Someone may want to update the virtual > plugin wiki to reflect this since the example uses x-references2 feel free to do it yourself, the wiki is editable without registration! Gr.

Re: [Dovecot] [PATCH] Clarify rawlog example

2009-04-29 Thread Matthijs Kooijman
Hi Timo, > I'm trying to shorten the dovecot-example.conf nowadays, which can't > really be done by adding more lines :) But yes, the wiki link is > definitely useful. I also changed the first line to be a bit better: > http://hg.dovecot.org/dovecot-1.2/rev/37c0111961f5 I have the feeling that thi

Re: [Dovecot] [PATCH] Clarify rawlog example

2009-04-29 Thread Matthijs Kooijman
Hi Robert, > Hi Timo, as rawlog does not longer work here since > update to dove 1.2 latest it might be better > to have more debug with rawlog, cause i cant found anything in the logs > why it stopped working I've succesfully used rawlog with dovecot 1.2 (r8980), so it is not broken in 1.2 in gen

Re: [Dovecot] Virtual mailbox plugin, 4 days of struggling

2009-04-28 Thread Matthijs Kooijman
Hi Brandon, > I cant seem to get the inthread x-references2 x-mailbox INBOX to work. > I setup an Allmail under /virtual with * and all as the search, then > created Inbox2 using virtual/Allmail and inthread x-references2 > x-mailbox INBOX but it gives a server bug. Not sure if that is very > clea

Re: [Dovecot] Virtual mailbox plugin, 4 days of struggling

2009-04-28 Thread Matthijs Kooijman
Hi Brandon, judging from your other posts, I think you made some progress on this already. Nonetheless, I will share my working virtual config here. In dovecot.conf I have: # Virtual mailboxes namespace private { # list = no prefix = virtual/ separator = / # Store virtual mai

[Dovecot] Links on MainConfig wiki page not working

2009-04-27 Thread Matthijs Kooijman
Hi all, while looking through the wiki page MainConfig, I noticed a lot of wannabe-links, for example: This looks like it should have been converted to a wiki link automatically, but apparently isn't. Would be good to have this fixed? Gr. Matthijs signature.asc Description: Digital si

[Dovecot] [PATCH] Clarify rawlog example

2009-04-27 Thread Matthijs Kooijman
# HG changeset patch # User matth...@stdin.nl # Date 1240845142 -7200 # Branch HEAD # Node ID 19f4b6167b426c36b7b3b38db4397f2723dc75c2 # Parent c8de2237478fc01ee46e6ec8cda41e8d3cecb68c Clarify rawlog example. diff -r c8de2237478f -r 19f4b6167b42 dovecot-example.conf --- a/dovecot-example.conf