Re: 2.2.27 panic file mail-index-map.c: line 549 (mail_index_map_lookup_seq_range): assertion failed: (first_uid > 0)

2016-12-05 Thread Toni Mattila
Hi, On 05-Dec-16 20:28, Toni Mattila wrote: Panicing stopped when all index files where deleted. It happens again in same user account, so rebuilding indexes didn't fix it. Here's bt full instead of just bt: #0 0x001d4402 in __kernel_vsyscall () No symbol table info available. #1

Re: LMTP delivery honours .forward by default?

2016-12-05 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 5 Dec 2016, MRob wrote: On 2016-12-05 16:37, MRob wrote: On 2016-12-05 05:53, MRob wrote: On 2016-12-04 23:18, Steffen Kaiser wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 2 Dec 2016, MRob wrote: I was under the

Re: LMTP delivery honours .forward by default?

2016-12-05 Thread MRob
On 2016-12-05 16:37, MRob wrote: On 2016-12-05 05:53, MRob wrote: On 2016-12-04 23:18, Steffen Kaiser wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 2 Dec 2016, MRob wrote: I was under the impression that Dovecot does not look at .forward by default, since of course, Sieve is

Re: LMTP delivery honours .forward by default?

2016-12-05 Thread MRob
On 2016-12-05 05:53, MRob wrote: On 2016-12-04 23:18, Steffen Kaiser wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 2 Dec 2016, MRob wrote: I was under the impression that Dovecot does not look at .forward by default, since of course, Sieve is where that kind of logic should

Re: COPY vs APPEND for imapsieve?

2016-12-05 Thread MRob
On 2016-12-05 06:16, Stephan Bosch wrote: Op 5-12-2016 om 14:36 schreef MRob: The examples on the imapsieve documentation page use COPY but not APPEND to watch messages coming into a folder. Are there not circumstances that a client would APPEND a message to a folder instead of COPY? Is

Re: imapsieve environment variables missing?

2016-12-05 Thread MRob
On 2016-12-05 15:29, MRob wrote: On 2016-12-05 15:26, Stephan Bosch wrote: Op 12/6/2016 om 12:23 AM schreef MRob: I don't know how I managed to compile only using direct access of ${imap.user} before since now I get an unknown namespace error on my test script. But doing it this way

Re: imapsieve environment variables missing?

2016-12-05 Thread MRob
On 2016-12-05 15:26, Stephan Bosch wrote: Op 12/6/2016 om 12:23 AM schreef MRob: I don't know how I managed to compile only using direct access of ${imap.user} before since now I get an unknown namespace error on my test script. But doing it this way compiles: require ["environment",

Re: Simple way to get mailbox size by folder.

2016-12-05 Thread Michael Slusarz
On 12/3/2016 2:53 PM, Aki Tuomi wrote: On December 3, 2016 at 11:16 PM Vijay Sarvepalli wrote: Is there a simple way to get each mailbox size using dovecot's IMAP interface? The GETQUOTAROOT and GETQUOTA seems to work with the full maildir size and not the individual

Re: imapsieve environment variables missing?

2016-12-05 Thread Stephan Bosch
Op 12/6/2016 om 12:23 AM schreef MRob: > I don't know how I managed to compile only using direct access of > ${imap.user} before since now I get an unknown namespace error on my > test script. > > But doing it this way compiles: > > require ["environment", "variables",

Re: imapsieve environment variables missing?

2016-12-05 Thread MRob
I don't know how I managed to compile only using direct access of ${imap.user} before since now I get an unknown namespace error on my test script. But doing it this way compiles: require ["environment", "variables", "vnd.dovecot.debug"]; if environment :matches "imap.user" "*" { set "u"

Re: imapsieve environment variables missing?

2016-12-05 Thread Stephan Bosch
Op 12/5/2016 om 10:25 PM schreef MRob: > On 2016-12-05 07:22, Stephan Bosch wrote: >> Op 5-12-2016 om 16:10 schreef MRob: >>> On 2016-12-05 06:13, Stephan Bosch wrote: Op 5-12-2016 om 14:32 schreef MRob: Could you show me your full script? I am mainly interested in the require

Re: imapsieve environment variables missing?

2016-12-05 Thread MRob
On 2016-12-05 07:22, Stephan Bosch wrote: Op 5-12-2016 om 16:10 schreef MRob: On 2016-12-05 06:13, Stephan Bosch wrote: Op 5-12-2016 om 14:32 schreef MRob: Could you show me your full script? I am mainly interested in the require statements involved. I don't know how I managed to compile

Re: v2.2.27 released

2016-12-05 Thread Joseph Tam
On Mon, 5 Dec 2016, Aki Tuomi wrote: wget complained about ERROR: certificate common name `wiki.dovecot.org' doesn't match requested host name `dovecot.org'. Despite what wget says the cert does have subject alternate name correctly specified. Ah, you're right, "wget" lied to

Re: v2.2.27 released

2016-12-05 Thread Aki Tuomi
> On December 5, 2016 at 9:55 PM Joseph Tam wrote: > > > > Timo announced: > > > https://dovecot.org/releases/2.2/dovecot-2.2.27.tar.gz > > https://dovecot.org/releases/2.2/dovecot-2.2.27.tar.gz.sig > > > > Note that the download URLs are now https with a certificate

Re: v2.2.27 released

2016-12-05 Thread Joseph Tam
Timo announced: https://dovecot.org/releases/2.2/dovecot-2.2.27.tar.gz https://dovecot.org/releases/2.2/dovecot-2.2.27.tar.gz.sig Note that the download URLs are now https with a certificate from Let's Encrypt. wget complained about ERROR: certificate common name `wiki.dovecot.org'

2.2.27 panic file mail-index-map.c: line 549 (mail_index_map_lookup_seq_range): assertion failed: (first_uid > 0)

2016-12-05 Thread Toni Mattila
Hi, Dec 5 20:24:31 dovecot: imap(x...@yy.zz,7ckWZu1CuZFVTILa): Fatal: master: service(imap): child 7292 killed with signal 6 (core dumped) Dec 5 20:24:32 dovecot: imap(x...@yy.zz,LnAlZu1COBVVTILa): Panic: file mail-index-map.c: line 549 (mail_index_map_lookup_seq_range): assertion failed:

Re: v2.2.27 released

2016-12-05 Thread Alexey Asemov (Alex/AT)
Hello Stephan, I have double-checked, and indeed I don't see any problems with 2.2.27 even without patches I applied to 2.2.27.rc1. So seems to have been 2.2.27.rc1 related only. Sorry for bothering.

Re: imapsieve environment variables missing?

2016-12-05 Thread Stephan Bosch
Op 5-12-2016 om 16:22 schreef Stephan Bosch: Op 5-12-2016 om 16:10 schreef MRob: On 2016-12-05 06:13, Stephan Bosch wrote: Op 5-12-2016 om 14:32 schreef MRob: Could you show me your full script? I am mainly interested in the require statements involved. I don't know how I managed to

Re: imapsieve environment variables missing?

2016-12-05 Thread Stephan Bosch
Op 5-12-2016 om 16:10 schreef MRob: On 2016-12-05 06:13, Stephan Bosch wrote: Op 5-12-2016 om 14:32 schreef MRob: Could you show me your full script? I am mainly interested in the require statements involved. I don't know how I managed to compile only using direct access of ${imap.user}

Re: imapsieve environment variables missing?

2016-12-05 Thread MRob
On 2016-12-05 06:13, Stephan Bosch wrote: Op 5-12-2016 om 14:32 schreef MRob: On 2016-12-05 04:38, Stephan Bosch wrote: Op 5-12-2016 om 13:28 schreef MRob: RFC6785 says imap.user and imap.email environment variables should be made available but I can't access them no matter what I try. Are

Re: COPY vs APPEND for imapsieve?

2016-12-05 Thread Stephan Bosch
Op 5-12-2016 om 14:36 schreef MRob: The examples on the imapsieve documentation page use COPY but not APPEND to watch messages coming into a folder. Are there not circumstances that a client would APPEND a message to a folder instead of COPY? Is APPEND only used by most clients for adding a

Re: imapsieve environment variables missing?

2016-12-05 Thread Stephan Bosch
Op 5-12-2016 om 14:32 schreef MRob: On 2016-12-05 04:38, Stephan Bosch wrote: Op 5-12-2016 om 13:28 schreef MRob: RFC6785 says imap.user and imap.email environment variables should be made available but I can't access them no matter what I try. Are they not implemented because

Re: doveadm edit headers?

2016-12-05 Thread MRob
On 2016-12-05 00:02, Aki Tuomi wrote: On 05.12.2016 09:43, Steffen Kaiser wrote: On Mon, 5 Dec 2016, Aki Tuomi wrote: > On 05.12.2016 09:34, Steffen Kaiser wrote: >> On Sun, 4 Dec 2016, MRob wrote: >> >>> Hello, is there a way to edit a message header using doveadm? >> >> I guess not. >> >>> I

Re: LMTP delivery honours .forward by default?

2016-12-05 Thread MRob
On 2016-12-04 23:18, Steffen Kaiser wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 2 Dec 2016, MRob wrote: I was under the impression that Dovecot does not look at .forward by default, since of course, Sieve is where that kind of logic should go. However, I'm seeing a .forward

Re: Virtual mailboxes, please help

2016-12-05 Thread GP
I didn't see my reply on the list , so I'm fw again direct to you On 12/03/2016 02:19 AM, Peter Hodur wrote: Hi, I'm trying to setup virtual mailboxes. My setup: - migrated from Courier, so: separator = . prefix = INBOX. inbox = yes In doc i have read, thant i need to create separate

Re: v2.2.27 released

2016-12-05 Thread MRob
On 2016-12-04 12:06, Stephan Bosch wrote: Op 12/4/2016 om 11:42 AM schreef Alexey Asemov (Alex/AT): Thanks a lot for indexing fixes, Dovecot team. Any news for Pigeonhole? Currently had to rollup some commits from GIT to make it pass vacation test set with 2.2.27. What problem are you

COPY vs APPEND for imapsieve?

2016-12-05 Thread MRob
The examples on the imapsieve documentation page use COPY but not APPEND to watch messages coming into a folder. Are there not circumstances that a client would APPEND a message to a folder instead of COPY? Is APPEND only used by most clients for adding a sent message to the sent folder? I'm

Re: imapsieve environment variables missing?

2016-12-05 Thread MRob
On 2016-12-05 04:38, Stephan Bosch wrote: Op 5-12-2016 om 13:28 schreef MRob: RFC6785 says imap.user and imap.email environment variables should be made available but I can't access them no matter what I try. Are they not implemented because vnd.dovecot.environment already provides the

Re: imapsieve environment variables missing?

2016-12-05 Thread Stephan Bosch
Ugh. s/your/you're/. Op 5-12-2016 om 13:38 schreef Stephan Bosch: Op 5-12-2016 om 13:28 schreef MRob: RFC6785 says imap.user and imap.email environment variables should be made available but I can't access them no matter what I try. Are they not implemented because vnd.dovecot.environment

Re: imapsieve environment variables missing?

2016-12-05 Thread Stephan Bosch
Op 5-12-2016 om 13:28 schreef MRob: RFC6785 says imap.user and imap.email environment variables should be made available but I can't access them no matter what I try. Are they not implemented because vnd.dovecot.environment already provides the username? (which does work for me) If

imapsieve environment variables missing?

2016-12-05 Thread MRob
RFC6785 says imap.user and imap.email environment variables should be made available but I can't access them no matter what I try. Are they not implemented because vnd.dovecot.environment already provides the username? (which does work for me) If imap.user and imap.email are there, can you

Re: Mail marked read upon download

2016-12-05 Thread Ralph Seichter
On 01.12.2016 21:40, Curtis Vaughan wrote: > Just set up a new server with postfix and dovecot. I don't know why, > but as soon as mail is accessed it is marked read. I'll see emails > momentarily marked unread, but then switch to read later although I > haven't opened them. Accessed how? It is

Re: Virtual mailboxes, please help

2016-12-05 Thread GP
On 12/03/2016 02:19 AM, Peter Hodur wrote: Hi, I'm trying to setup virtual mailboxes. My setup: - migrated from Courier, so: separator = . prefix = INBOX. inbox = yes In doc i have read, thant i need to create separate namespace. namespace { prefix = virtual/ separator = / location =

Re: CVE-2016-8562 in dovecot

2016-12-05 Thread Aki Tuomi
On 05.12.2016 09:53, Marc Schiffbauer wrote: > * Aki Tuomi schrieb am 02.12.16 um 08:00 Uhr: > > Hi Aki, > >> We are sorry to report that we have a bug in dovecot, which merits a >> CVE. See details below. If you haven't configured any auth_policy_* >> settings you are ok. This is fixed with >>

Re: doveadm edit headers?

2016-12-05 Thread Aki Tuomi
On 05.12.2016 09:43, Steffen Kaiser wrote: > On Mon, 5 Dec 2016, Aki Tuomi wrote: > > On 05.12.2016 09:34, Steffen Kaiser wrote: > >> On Sun, 4 Dec 2016, MRob wrote: > >> > >>> Hello, is there a way to edit a message header using doveadm? > >> > >> I guess not. > >> > >>> I see how I can fetch