vnd.dovecot.pipe in sieve: what user....

2017-06-05 Thread Larry Rosenman
I have a site-wide bayes database, that currently gets populated by scripts running as a user that is also the user that Exim uses to call spamd. When a script is running from the vnd.dovecot.pipe call, what user is it running as? Would a setuid script work? -- Larry Rosenman

Re: corrupted indexes rebuilding over and over

2017-06-05 Thread Joseph Tam
micah wrote: Now, about 50 users have a problem where their indexes are corrupted. Dovecot tries to fix them, but for some reason it is failing. The users are seeing their mails duplicated and they cannot delete mails. I can see in the logs dovecot detecting this and trying

Re: corrupted indexes rebuilding over and over

2017-06-05 Thread micah
"Grubert, Gordon" writes: > Hi, > > we had the same problem after a system failure. Our problem could be > solved by > > rm /PATH/USER/mdbox/storage/dovecot.map.index* > doveadm -D -v force-resync -u USER INBOX I thought about doing this, but mdbox

Re: corrupted indexes rebuilding over and over

2017-06-05 Thread Grubert, Gordon
Hi, we had the same problem after a system failure. Our problem could be solved by rm /PATH/USER/mdbox/storage/dovecot.map.index* doveadm -D -v force-resync -u USER INBOX Best regards, Gordon On 05.06.2017 18:34, micah wrote: Hi, On saturday one of our dovecot machines had an OOPS, and we

corrupted indexes rebuilding over and over

2017-06-05 Thread micah
Hi, On saturday one of our dovecot machines had an OOPS, and we had to powercycle it. When it came up, it did a filesystem fsck (ext4) and fixed a couple things, but nothing in lost+found. Now, about 50 users have a problem where their indexes are corrupted. Dovecot tries to fix them, but for

fts_solr: uid0?

2017-06-05 Thread Larry Rosenman
I'm seeing the following: Jun 5 11:10:52 thebighonker dovecot: imap(ler): Error: fts_solr: received invalid uid '0' Is there something I can get for you to debug? doveconf -n: # 2.2.30.1 (eebd877): /usr/local/etc/dovecot/dovecot.conf # Pigeonhole version 0.4.18 (29cc74d) # OS: FreeBSD

Re: SIG11/Auth/FreeBSD

2017-06-05 Thread Larry Rosenman
On Mon, Jun 05, 2017 at 07:22:11AM -0500, Larry Rosenman wrote: > On Mon, Jun 05, 2017 at 10:18:13AM +0300, Aki Tuomi wrote: > > > > > > On 04.06.2017 22:35, Larry Rosenman wrote: > > > On Fri, Jun 02, 2017 at 11:15:41AM -0500, Larry Rosenman wrote: > > >> I'm seeing lots of: > > > [snipped] > >

Re: 2nd try: Thunderbird "Empty Trash" causes inconsistent IMAP session state?

2017-06-05 Thread Alex JOST
Am 05.06.2017 um 14:13 schrieb awl1: Hello again, here you are (log excerpt from May 29 00:06:02 until May 29 01:17:49): May 29 00:12:05 imap(x...@xxx.org): Info: IMAP session state is inconsistent, please relogin. in=1369 out=222662 May 29 00:12:05 imap(x...@xxx.org): Info: IMAP session

Re: Possible RENAME bug

2017-06-05 Thread Gabriele Bulfon
Hi, here I attach the output of "dovecot -n". The shared folders are entire accounts shared recursively, with full control (akxeilprwts). Please consider the main point of confusion: normal folders will list as soon as they're renamed, with %, while shared folders (and their subfolders) get

Re: v2.2.30.1 released

2017-06-05 Thread Tom Sommer
On 2017-05-31 15:24, Timo Sirainen wrote: https://dovecot.org/releases/2.2/dovecot-2.2.30.1.tar.gz https://dovecot.org/releases/2.2/dovecot-2.2.30.1.tar.gz.sig Due to some release process changes I didn't notice that one important bugfix wasn't included in the v2.2.30 release branch before I

Re: SIG11/Auth/FreeBSD

2017-06-05 Thread Larry Rosenman
On Mon, Jun 05, 2017 at 10:18:13AM +0300, Aki Tuomi wrote: > > > On 04.06.2017 22:35, Larry Rosenman wrote: > > On Fri, Jun 02, 2017 at 11:15:41AM -0500, Larry Rosenman wrote: > >> I'm seeing lots of: > > [snipped] > >> Jun 2 00:00:05 thebighonker exim[57437]: dovecot_login authenticator > >>

Re: 2nd try: Thunderbird "Empty Trash" causes inconsistent IMAP session state?

2017-06-05 Thread awl1
Hello again, here you are (log excerpt from May 29 00:06:02 until May 29 01:17:49): May 29 00:12:05 imap(x...@xxx.org): Info: IMAP session state is inconsistent, please relogin. in=1369 out=222662 May 29 00:12:05 imap(x...@xxx.org): Info: IMAP session state is inconsistent, please relogin.

Re: Problem with LMTP

2017-06-05 Thread Angel L. Mateo
I have updated (temporally) from 2.2.28 to 2.2.30-1. With this last version I didn't have core related with lmtp. But now I having errors with auth. Would you like a gdb with the new error? El 26/04/17 a las 14:27, Aki Tuomi escribió: On April 26, 2017 at 2:03 PM "Angel L. Mateo"

Re: 2nd try: Thunderbird "Empty Trash" causes inconsistent IMAP session state?

2017-06-05 Thread Aki Tuomi
Yes, that would help too. Aki On 05.06.2017 14:35, awl1 wrote: > Hello Aki, > > sorry, but I am still a newbie to Dovecot: > > Hmm - I don't seem to have IMAP session IDs in every line of my > dovecot-info.log. that could be used to extract IMAP session-related > info. > > I assume that I have

Re: 2nd try: Thunderbird "Empty Trash" causes inconsistent IMAP session state?

2017-06-05 Thread awl1
Hello Aki, sorry, but I am still a newbie to Dovecot: Hmm - I don't seem to have IMAP session IDs in every line of my dovecot-info.log. that could be used to extract IMAP session-related info. I assume that I have to set up logging in a specific way to add and then find the IMAP session ID

Re: 2nd try: Thunderbird "Empty Trash" causes inconsistent IMAP session state?

2017-06-05 Thread Aki Tuomi
On 05.06.2017 14:06, awl1 wrote: > Hello Teemu, > > the version of my lz4 library is the most recent lz4-1.7.5, and > "dovecot -n" output is as follows: > Can you provide full logs for the imap session? Basically you can do grep session-id logfile. Aki

Re: 2nd try: Thunderbird "Empty Trash" causes inconsistent IMAP session state?

2017-06-05 Thread awl1
Hello Teemu, the version of my lz4 library is the most recent lz4-1.7.5, and "dovecot -n" output is as follows: # 2.2.30.1 (eebd877): /raid/data/module/Dovecot/sys/etc/dovecot/dovecot.conf # OS: Linux 2.6.33N7700 i686 auth_debug = yes auth_debug_passwords = yes auth_verbose = yes

Re: Retrieving mail from read-only mdbox

2017-06-05 Thread Teemu Huovila
On 01.06.2017 00:30, Mark Moseley wrote: > This is a 'has anyone run into this and solved it' post. And yes, I've been > reading and re-reading TFM but without luck. The background is that I'm > working on tooling before we start a mass maildir->mdbox conversion. One of > those tools is

Re: 2nd try: Thunderbird "Empty Trash" causes inconsistent IMAP session state?

2017-06-05 Thread Teemu Huovila
On 05.06.2017 11:02, awl1 wrote: > Resending - any ideas why I might get "IMAP session state is inconsistent" > whenever emtyping the trash in Thunderbird? > > Thanks, > Andreas > > > Am 31.05.2017 um 00:02 schrieb awl1: >> All, >> >> having successfully compiled and set up Dovecot 2.2.29.1

Re: 10-ssl.conf: Unknown setting: ssl / debian 1:2.2.13-12~deb8u

2017-06-05 Thread Aki Tuomi
https://github.com/dovecot/core/commit/e3d797bc851dc90fb88e68ae715c204d0f46e6ff Aki On 05.06.2017 12:42, Matthias Sitte wrote: > Aki, > > is it possible to have doveconf print the current section upon error? > Like, change the following error message > > May 13 13:38:32 mail dovecot[2178]:

Re: 10-ssl.conf: Unknown setting: ssl / debian 1:2.2.13-12~deb8u

2017-06-05 Thread Matthias Sitte
Aki, is it possible to have doveconf print the current section upon error? Like, change the following error message May 13 13:38:32 mail dovecot[2178]: doveconf: Fatal: Error in configuration file /etc/dovecot/conf.d/10-ssl.conf line 61: Unknown setting: ssl to something like May 13 13:38:32

Re: v2.2.30.1 released

2017-06-05 Thread Angel L. Mateo
I have updated my dovecot proxy servers from 2.2.28 to 2.2.30. Since the upgrade I'm having the error: Jun 5 10:54:51 musio12 dovecot: auth: Fatal: master: service(auth): child 63632 killed with signal 11 (core not dumped) -- Angel L. Mateo Martínez Sección de Telemática Área de

quota clone + mysql + duplicate key

2017-06-05 Thread Dimos Alevizos
I'm trying to setup quota clone with mysql on dovecot 2.2.29.1. I see in the wiki that the table is always updated to the new value (https://wiki.dovecot.org/Plugins/QuotaClone) : > Every time quota is updated, the value is updated to the cloned dict. > There are race conditions with it so the

Re: 10-ssl.conf: Unknown setting: ssl / debian 1:2.2.13-12~deb8u

2017-06-05 Thread Aki Tuomi
Can you create file /etc/dovecot/conf.d/10-ssl.conf and type in 'ssl = yes' and nothing else? does it work after this? leave the default_vsz_limit off for now. Aki On 05.06.2017 10:34, Aki Tuomi wrote: > Can you remove the offending settings, and then send it? > > Aki > > > On 05.06.2017

2nd try: Thunderbird "Empty Trash" causes inconsistent IMAP session state?

2017-06-05 Thread awl1
Resending - any ideas why I might get "IMAP session state is inconsistent" whenever emtyping the trash in Thunderbird? Thanks, Andreas Am 31.05.2017 um 00:02 schrieb awl1: All, having successfully compiled and set up Dovecot 2.2.29.1 on my Thecus NAS as a newbie without any further hassle,

Re: 10-ssl.conf: Unknown setting: ssl / debian 1:2.2.13-12~deb8u

2017-06-05 Thread Sophie Loewenthal
Hi, Changed to this et voila! Thank you all. service imap-login { # inet_listener imap { ##port = 143 # } inet_listener imaps { port = 993 #ssl = yes } # # Number of connections to handle before starting a new process. Typically # the only useful values are 0 (unlimited)

Re: 10-ssl.conf: Unknown setting: ssl / debian 1:2.2.13-12~deb8u

2017-06-05 Thread Matthias Sitte
Hi, in line 17 of your 10-master.conf you enable the "imap-login" service, but you fail to close the config section in line 36 ... :-) That results in loading 10-ssl.conf and trying to apply the "ssl" option to "imap-login" which of course doesn't apply here. Best, Matthias On 06/05/2017

Re: 10-ssl.conf: Unknown setting: ssl / debian 1:2.2.13-12~deb8u

2017-06-05 Thread Sophie Loewenthal
10-master.conf Description: Binary data

Re: 10-ssl.conf: Unknown setting: ssl / debian 1:2.2.13-12~deb8u

2017-06-05 Thread Matthias Sitte
I have the feeling that the config file is incorrect and loading subsequent files results in reading in entries at the wrong level? Could you attach the full 10-master.conf? Matthias On 06/05/2017 09:30 AM, Sophie Loewenthal wrote: > # doveconf -a > # 2.2.13: /etc/dovecot/dovecot.conf >

Re: 10-ssl.conf: Unknown setting: ssl / debian 1:2.2.13-12~deb8u

2017-06-05 Thread Aki Tuomi
Can you remove the offending settings, and then send it? Aki On 05.06.2017 10:30, Sophie Loewenthal wrote: > # doveconf -a > # 2.2.13: /etc/dovecot/dovecot.conf > doveconf: Fatal: Error in configuration file > /etc/dovecot/conf.d/10-ssl.conf line 6: Unknown setting: ssl > doveconf: Error:

Re: 10-ssl.conf: Unknown setting: ssl / debian 1:2.2.13-12~deb8u

2017-06-05 Thread Sophie Loewenthal
# doveconf -a # 2.2.13: /etc/dovecot/dovecot.conf doveconf: Fatal: Error in configuration file /etc/dovecot/conf.d/10-ssl.conf line 6: Unknown setting: ssl doveconf: Error: managesieve-login: dump-capability process returned 89 doveconf: Fatal: Error in configuration file

Re: SIG11/Auth/FreeBSD

2017-06-05 Thread Aki Tuomi
On 04.06.2017 22:35, Larry Rosenman wrote: > On Fri, Jun 02, 2017 at 11:15:41AM -0500, Larry Rosenman wrote: >> I'm seeing lots of: > [snipped] >> Jun 2 00:00:05 thebighonker exim[57437]: dovecot_login authenticator failed >> for ec2-52-40-16-7.us-west-2.compute.amazonaws.com (ADM >> IN)

Re: 10-ssl.conf: Unknown setting: ssl / debian 1:2.2.13-12~deb8u

2017-06-05 Thread Aki Tuomi
Ok, and can you provide, as attachment, output of "doveconf -a"? Aki On 05.06.2017 10:08, Sophie Loewenthal wrote: > Hi Aki, > > # dovecot --build-options > Build options: ioloop=epoll notify=inotify ipv6 openssl io_block_size=8192 > Mail storages: shared mdbox sdbox maildir mbox cydir imapc

Re: 10-ssl.conf: Unknown setting: ssl / debian 1:2.2.13-12~deb8u

2017-06-05 Thread Sophie Loewenthal
Hi Aki, # dovecot --build-options Build options: ioloop=epoll notify=inotify ipv6 openssl io_block_size=8192 Mail storages: shared mdbox sdbox maildir mbox cydir imapc pop3c raw fail SQL driver plugins: mysql postgresql sqlite Passdb: checkpassword ldap pam passwd passwd-file shadow sql

Re: 10-ssl.conf: Unknown setting: ssl / debian 1:2.2.13-12~deb8u

2017-06-05 Thread Aki Tuomi
Can you provide output of dovecot --build-options Aki On 04.06.2017 12:10, Sophie Loewenthal wrote: > Hi Stefan, > > My apologies for the long delay. Been ill. > > I tried this and had an error, > > > # mv /etc/dovecot/conf.d/10-ssl.conf /etc/dovecot/conf.d/10-ssl.conf.bak > # cp -p