Re: VS: Re: v2.2.22 release candidate released

2016-03-04 Thread Michael M Slusarz
And you are normally only exposing doveadm functionality in internal, private networks. On 3/4/2016 11:27 AM, Aki Tuomi wrote: In future release we will add master authentication too. Now you can use api key or doveadm password which are essentially same thing. ---Aki TuomiDovecot oy A

Re: events

2015-10-23 Thread Michael M Slusarz
r you prefer. michael On 21-10-15 23:33, Michael M Slusarz wrote: On 10/21/2015 9:07 AM, Frederik Bosch | Genkgo wrote: We want to trigger a script after certain actions by the user (event). This script inserts the action into message queue (e.g. Rabbit MQ) accompanied with some data. Then one

Re: events

2015-10-21 Thread Michael M Slusarz
On 10/21/2015 9:07 AM, Frederik Bosch | Genkgo wrote: We want to trigger a script after certain actions by the user (event). This script inserts the action into message queue (e.g. Rabbit MQ) accompanied with some data. Then one or more workers picks up the action from the message queue and do s

Re: BINARY capability not working correctly?

2015-09-19 Thread Michael M Slusarz
On 9/13/2015 6:04 AM, Stephan Bosch wrote: Op 9/13/2015 om 12:19 PM schreef Jouko Nikula: Hello, I have trouble with some attachments not working on Horde and Roundcube. I made a ticket to Roundcube webmail and they tracked down it to Dovecot not responding correctly to BINARY FETCH: http://tr

Re: Outlook 2013/2010 nightmare #2

2015-03-09 Thread Michael M Slusarz
Quoting David.M.Clark : Outlook also has a declaration that as of either version 2010 or 2013, they no longer download IMAP headers, they download the whole message - thank God for faster Internet connections these days - could you imagine that in the older dialup days? Still it is a waste

Re: Enabling mod-sequences

2015-02-12 Thread Michael M Slusarz
Quoting Luca Bertoncello : I have Dovecot 1.2.9 from Ubuntu repositories on my server. Now I installed Horde and it give me sometimes the error "Mailbox does not support mod-sequences". This would happen if trying to do obtain MODSEQ on a mailbox that has mod-sequences disabled. That error

Re: SORT capability

2014-12-01 Thread Michael M Slusarz
Quoting absolutely_f...@libero.it: why I don't see SORT capability on my dovecot server? # telnet localhost 143 Trying ::1... Connected to localhost. Escape character is '^]'. * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN AUTH=DIGEST

Re: Help with shared folder

2014-10-07 Thread Michael M Slusarz
Quoting Eduardo Ramos : Sorry Gianluca, I know IMP/Horde just by name. Some googling show me that the option: $servers['advanced'] = array(...,'acl' => true,...) could help you, but you can get some issues: https://sys4.de/en/blog/2013/11/06/imap-acl-dovecot-horde-5-imp-6-warning/ We've

Re: Quota Woes

2014-09-25 Thread Michael M Slusarz
Quoting Art Stephens : Trying to get quota to show up in IMP - Horde 5.x Seems it is not working with dovecot Escape character is '^]'. * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready. This is the pre-authentication cap

Re: charset-specific searches, and continuation lines

2014-09-12 Thread Michael M Slusarz
Quoting Eric Abrahamsen : Michael M Slusarz writes: Quoting Eric Abrahamsen : While I've got you here, I hope you'll answer one more question: what's the format for searching multiple terms with non-ascii strings? Is it possible in one run to find a utf-8 encoded subje

Re: "ยง"-sign in passwords

2014-09-09 Thread Michael M Slusarz
Quoting InterNetworX | Pascal Heverhagen : Hey users, I've got a constellation with dovecot, postfix, froxlor and roundcube. My problem is, when a user has got a paragraph sign in his password, every mail client tells him, that he entered a wrong password. The log says as usually "password mis

Re: charset-specific searches, and continuation lines

2014-09-04 Thread Michael M Slusarz
Quoting Eric Abrahamsen : While I've got you here, I hope you'll answer one more question: what's the format for searching multiple terms with non-ascii strings? Is it possible in one run to find a utf-8 encoded subject, and a utf-8 encoded body? IMAP interaction would look like this: C: . UI

Re: charset-specific searches, and continuation lines

2014-09-04 Thread Michael M Slusarz
Quoting Eric Abrahamsen : Hi there, I'm looking into improving IMAP search support for the Gnus Emacs mail client, and trying to add the ability to search non-ascii characters. So far as I know, I start this invocation with something like: . UID SEARCH CHARSET UTF-8 TEXT {NNN} Where NNN is th

Re: Special-Use Mailboxes ?

2014-08-26 Thread Michael M Slusarz
Quoting Per Jessen : Michael M Slusarz wrote: Or you have an existing account that contains pre-existing "Sent", "Sent Mail", and "sentmail" mailboxes. All of those are valid sent mailboxes under the \Sent definition. Yes, that would be an example - I have

Re: Special-Use Mailboxes ?

2014-08-26 Thread Michael M Slusarz
Quoting Per Jessen : I'm trying to get my head around this - the special_use flag is given out to an IMAP client as a _hint_ of where certain messages belong? Yes. There's no guarantee that any of the messages currently in that mailbox adhere to that attribute though, so you can't make assu

Re: Special-Use Mailboxes ?

2014-08-25 Thread Michael M Slusarz
Quoting Per Jessen : Lots of people must have had this issue before me - users using different devices&software (pc, smartphone, tablet, thunderbird, outlook, webmail) and languages (e.g. English on the PC, German on the iPhone), some folders end of with different names - e.g. "Sent" and "Gesend

Re: Is atomic MOVING of messages between IMAP folders possible?

2014-08-06 Thread Michael M Slusarz
Quoting Greg Sullivan : I was gobsmacked when I discovered that duplicates could easily occur! Quote from the IMAP wikipedia page: Internet Message Access Protocol (IMAP) is a protocol for e-mail retrieval and storage developed by Mark Crispin in 1986 at Stanford University as an alternative to

Re: TRANSLATION extension to the NAMESPACE response supported?

2014-07-16 Thread Michael M Slusarz
Quoting Stephan Bosch : On 7/15/2014 11:24 PM, Michael M Slusarz wrote: Quoting Stephan Bosch : On 7/15/2014 10:47 PM, A. Schulze wrote: Hello, I would like to ask if the TRANSLATION extension to the NAMESPACE response is supported by dovecot. context: http://lists.horde.org/archives

Re: TRANSLATION extension to the NAMESPACE response supported?

2014-07-15 Thread Michael M Slusarz
Quoting Stephan Bosch : On 7/15/2014 10:47 PM, A. Schulze wrote: Hello, I would like to ask if the TRANSLATION extension to the NAMESPACE response is supported by dovecot. context: http://lists.horde.org/archives/horde/Week-of-Mon-20140714/052136.html Afaict, Oracle currently has the only

Re: HIGHESTMODSEQ tracking

2014-07-15 Thread Michael M Slusarz
Quoting Kostya Vasilyev : This is getting a bit off-topic on this list... but Gmail does a LOT of things wrong. Head over to one of the IMAP lists for further information. This is just one glaring example. Maybe you've ran into more than I have. In any case, the point stands - with Gmail, i

Re: HIGHESTMODSEQ tracking

2014-07-14 Thread Michael M Slusarz
Quoting Kostya Vasilyev : 2014-07-10 4:05 GMT+04:00 Michael M Slusarz : Quoting Kostya Vasilyev : 2014-07-10 1:37 GMT+04:00 Michael M Slusarz : Quoting Kostya Vasilyev : These days, you *really* should be using QRESYNC instead though. There are some mail servers that support

Re: Changed IMAP MOVE behavior in Dovecot 2.2.x

2014-07-14 Thread Michael M Slusarz
Quoting Iavor Stoev : Hello, After the migration to Dovecot 2.2.13 from Dovecot 2.1.17, I noticed a changed behavior when I move a message from one folder to another. I use Thunderbird with: Account Settings -> Server Settings -> When I delete a message: Just mark it as deleted. I use Thu

Re: HIGHESTMODSEQ tracking

2014-07-09 Thread Michael M Slusarz
Quoting Kostya Vasilyev : 2014-07-10 1:37 GMT+04:00 Michael M Slusarz : Quoting Kostya Vasilyev : These days, you *really* should be using QRESYNC instead though. There are some mail servers that support CONDSTORE but not QRESYNC. The old chicken and egg IMAP problem :) This is the wrong

Re: HIGHESTMODSEQ tracking

2014-07-09 Thread Michael M Slusarz
Quoting Kostya Vasilyev : Hello, I'd like to follow up on someone else's old thread: http://dovecot.org/list/dovecot/2012-April/082624.html I understand that Dovecot (that 2012 discussion was about version 2.0.18) can return "HIGHESTMODSEQ 1" upon SELECT if persistent modseq tracking was neve

Re: Imaptest script testing

2014-07-01 Thread Michael M Slusarz
Quoting kaustubh : http://www.imapwiki.org/ImapTest/ I am doing imap testing using imaptest scripts. But, i am unable to append message. APPEND INBOX "15-Jun-2015 05:30:05 -0700" "From:a...@gmail.com" "Subject: test. HI this is msg". Not sure if imaptest h

Re: [Dovecot] Dovecot Special_Use and K9 (and other Clients)

2014-05-13 Thread Michael M Slusarz
Quoting Robert Schetterer : Am 13.05.2014 08:40, schrieb Steffen Kaiser: On Mon, 12 May 2014, sumsu...@gmx.de wrote: What's the question? perhaps have a look at https://sys4.de/de/blog/2013/03/25/outlook-2013-special-use-mit-dovecot/ sorry german K9 uses imap special-use but clients some

Re: [Dovecot] CONTEXT=SORT

2014-05-02 Thread Michael M Slusarz
Quoting Michael M Slusarz : 5 UID SORT RETURN (PARTIAL 1:10) (SUBJECT) UTF-8 UNDELETED * ESEARCH (TAG "5") UID PARTIAL (1:10 NIL) 5 OK Sort completed (0.000 secs). Well duh. Maybe I should actually look at the results. This is obviously wrong (this mailbox has 13 undeleted me

[Dovecot] CONTEXT=SORT

2014-05-02 Thread Michael M Slusarz
Any reason this is not listed in the CAPABILITY string? I see it listed as a TODO here: http://wiki2.dovecot.org/Roadmap But it seems to work fine (as of 2.2.12): 1 UID SORT RETURN (CONTEXT COUNT) (SUBJECT) UTF-8 UNDELETED * ESEARCH (TAG "1") UID COUNT 12 1 OK Sort completed (0.000 secs). 2 UI

Re: [Dovecot] BINARY FETCH conversion issue

2014-05-02 Thread Michael M Slusarz
Quoting Timo Sirainen : On 30.4.2014, at 0.27, Michael M Slusarz wrote: Not sure if this is an example of Cyrus' QP decoder being more robust (or lenient) than Dovecot's. Or whether this is intentional to return NIL for this kind of bad data. It was kind of intentional.

[Dovecot] BINARY FETCH conversion issue

2014-04-29 Thread Michael M Slusarz
Given this test message, with admittedly incorrect QP encoding: From: Test Subject: Test Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain To: Test Date: Tue, 29 Apr 2014 00:54:10 + Message-Id: <1...@example.com> https://example.com/?from=bsu&url=

Re: [Dovecot] Any client out there taking advantage of Dovecot's virtual mailboxes?

2014-03-17 Thread Michael M Slusarz
Quoting Aleve Sicofante : OK. Subscribed and voted, but the bug should point to "where to start" in Dovecot's documentation. Ok, but... where would that be? I don't see a 'Where to start' to point to... And, well, if subscribed and voted, you could easily add that yourself, no? ;) This

Re: [Dovecot] Any client out there taking advantage of Dovecot's virtual mailboxes?

2014-03-05 Thread Michael M Slusarz
Quoting Aleve Sicofante : 2014-03-05 6:59 GMT+01:00 Michael M Slusarz : Quoting Aleve Sicofante : I'm talking about this: http://wiki2.dovecot.org/Plugins/Virtual Every client can take advantage of them. From a client's perspective, they are just another IMAP mailbox. Of

Re: [Dovecot] Any client out there taking advantage of Dovecot's virtual mailboxes?

2014-03-04 Thread Michael M Slusarz
Quoting Aleve Sicofante : I'm talking about this: http://wiki2.dovecot.org/Plugins/Virtual Every client can take advantage of them. From a client's perspective, they are just another IMAP mailbox. michael

Re: [Dovecot] Why SETACL accepts non-existant users (was Re: Why are ACLs for non-existent mailboxes accepted?)

2014-02-24 Thread Michael M Slusarz
Quoting Boris : On Friday 21 February 2014 08:54:34 Steffen Kaiser wrote: On Thu, 20 Feb 2014, Boris wrote: > On Thursday 20 February 2014 20:45:32 Boris wrote: >> Dovecot 2.2.9-1 accepts SETACL commands that share mailboxes to >> non-existent mailboxes. There is no error message. Is this inten

Re: [Dovecot] IMAP ANNOTATE Extension RFC5257

2014-01-23 Thread Michael M Slusarz
Quoting Ed W : Hi And FWIW, that RFC is classified as Experimental. Hasn't been a bunch of momentum behind it, at least in terms of adoption/implementations. Mailbox metadata seems to be the more interesting development at this time (RFC 5464). michael Yes, I know, but for groupware collab

Re: [Dovecot] IMAP ANNOTATE Extension RFC5257

2014-01-22 Thread Michael M Slusarz
Quoting Robert Schetterer : Am 21.01.2014 20:31, schrieb Sebastian Schlatow: Hello, Does Dovecot support the IMAP ANNOTATE Extension RFC5257 http://tools.ietf.org/html/rfc5257? If not, are there any plans to implement the extension? If not, why there is no plan to implement this feature? Rega

Re: [Dovecot] IDLE dropping EXISTS events on mass message arrival

2014-01-22 Thread Michael M Slusarz
Quoting Eric Wong : Hi, I'm not sure if this is some throttling/DoS protection or a bug. I didn't see notice anything like it mentioned looking at the NEWS file from hg, this is on 2.1.7 on Debian stable. I have a client doing IDLE on INBOX.vomiteer. When individual messages arrive with some

Re: [Dovecot] Getting more out of the %w variable.

2014-01-16 Thread Michael M Slusarz
Quoting Julian PG : So I would like to support more than PLAIN. Perhaps at least CRAM-MD5 or DIGEST-MD5 for example. DIGEST-MD5 is obsolete. See RFC 6331. michael

Re: [Dovecot] using OR in doveadm search query

2014-01-06 Thread Michael M Slusarz
Quoting "W. de Hoog" : Hi, I am trying to create an OR query but no success yet: $ doveadm search mailbox shared/* OR SUBJECT "a" SUBJECT "b" doveadm(neil): Fatal: Use parenthesis when mixing ANDs and ORs $ doveadm search mailbox shared/* OR \(SUBJECT "a"\) \(SUBJECT "b"\) doveadm(neil): Fata

Re: [Dovecot] Horde + dovecot metadata support

2013-12-19 Thread Michael M Slusarz
Quoting Timo Sirainen : On 19.12.2013, at 12.23, Andreas Schulze wrote: 4 GETMETADATA "*" (/shared/vendor/kolab/folder-type) .. Are there any hints or is the metadata extension just not fully implemented in dovecot? One bug: http://hg.dovecot.org/dovecot-2.2/rev/f64810b00b7f Then also H

Re: [Dovecot] Full text search improvements

2013-12-04 Thread Michael M Slusarz
Quoting Timo Sirainen : 1. Support for multiple languages. Use textcat while indexing to guess the language of the indexed data. FWIW, you could probably use the Content-Language header (if it exists) to at least give a hint. No guarantee it is correct, but it's a better starting place t

Re: [Dovecot] Question about dovecot 2.2 and LIST command

2013-11-18 Thread Michael M Slusarz
Quoting Jonathan Siegle : I am running dovecot 2.2 changeset 16983:d925674c4329 on AIX. We use mbox files with the "/" delimter. I have an imap protocol question. When I do: 1 list directory1/ * 1 OK List completed. Is that the correct answer? Yes. See below. If I do 1 list "" * it s

Re: [Dovecot] Strange output from LIST command

2013-10-17 Thread Michael M Slusarz
Quoting Bron Gondwana : On Tue, Oct 15, 2013, at 06:23 AM, Michael M Slusarz wrote: No. RFC 5819 [2]: "For each selectable mailbox matching the list pattern and selection options, the server MUST return an untagged LIST response followed by an untagged STATUS response containin

Re: [Dovecot] Strange output from LIST command

2013-10-14 Thread Michael M Slusarz
Quoting azurIt : i'm using Dovecot 2.1.7 (Debian Wheezy) and output from LIST command looks strange: C: 4 LIST () "" (INBOX INBOX.Karantena INBOX.Spam) RETURN (STATUS (UNSEEN)) S: * LIST () "." "INBOX" S: * LIST () "." "INBOX.Karantena" S: * STATUS "INBOX.Karantena" (UNSEEN 0) S: * LIST () ".

[Dovecot] SELECT: Bug in untagged response

2013-09-13 Thread Michael M Slusarz
Dovecot 2.2.5 In selected state: C: 1 SELECT &#-&#/# S: 1 NO Mailbox name is not valid mUTF-7 S: * OK [CLOSED] Previous mailbox closed. I can verify that this only seems to happen when the mailbox name is incorrect mUTF-7. Things work fine if I access a non-existent mailbox: C: 1 SELECT no

Re: [Dovecot] Deleting messages with Mac Mail via IMAP

2013-09-03 Thread Michael M Slusarz
Quoting Urban Loesch : if I remember correctly, there is no option in the IMAP protocol to move a message per se. That recently changed: http://tools.ietf.org/html/rfc6851 michael

[Dovecot] MULTIAPPEND + literal8 issue

2013-06-13 Thread Michael M Slusarz
Background: importing a mbox file containing ~700 messages (20 MB). Our program splits MULTIAPPENDS into approx. 5MB chunks. We don't use literal+ in order to immediately catch errors. I can reproducibly produce the following error (2.2.2) when doing a MULTIAPPEND where every append is us

Re: [Dovecot] CATENATE/literal8 issue

2013-06-13 Thread Michael M Slusarz
Quoting Michael M Slusarz : It is concerning because RFC 4466 indicates that literal8's are allowed for both APPEND and MULTIAPPEND, which is essentially an extended APPEND. But RFC 4469 defines CATENATE TEXT as literal only: RFC 4466: append-data = literal / literal8 / append

Re: [Dovecot] CATENATE/literal8 issue

2013-06-13 Thread Michael M Slusarz
Quoting Timo Sirainen : On Wed, 2013-05-22 at 09:38 -0600, Michael M Slusarz wrote: Quoting Michael M Slusarz : > Quoting Timo Sirainen : > >> Anyway .. the BINARY APPEND converts only the MIME parts that you >> send with "Content-Transfer-Encoding: binary". Are y

Re: [Dovecot] THREAD REFERENCES bug

2013-06-12 Thread Michael M Slusarz
Quoting "A.L.E.C" : On 06/12/2013 08:53 AM, A.L.E.C wrote: C: A0003 UID THREAD REFERENCES US-ASCII ALL S: * THREAD (12)((11)(16))(14) I expected 16 (or more likely 11 and 16) to be at the end of the result, after 14, i.e. (12)(14)((11)(16)). I see the same in Cyrus. So, maybe this is how REF

Re: [Dovecot] CATENATE/literal8 issue

2013-05-22 Thread Michael M Slusarz
Quoting Michael M Slusarz : Quoting Timo Sirainen : Anyway .. the BINARY APPEND converts only the MIME parts that you send with "Content-Transfer-Encoding: binary". Are you sending such header to Dovecot? I can verify this isn't working as you described above: 1 APPEND &

Re: [Dovecot] CATENATE/literal8 issue

2013-05-21 Thread Michael M Slusarz
Quoting Timo Sirainen : Anyway .. the BINARY APPEND converts only the MIME parts that you send with "Content-Transfer-Encoding: binary". Are you sending such header to Dovecot? I don't think so. I noticed the CATENATE error when I was stripping a simple text/html part out of a multipart/

Re: [Dovecot] CATENATE/literal8 issue

2013-05-21 Thread Michael M Slusarz
Quoting Timo Sirainen : On 21.5.2013, at 9.40, Michael M Slusarz wrote: Using 2.2.2, I see this: C: 6 APPEND "INBOX" (\seen) "16-May-2013 22:05:14 -0600" CATENATE (URL "/INBOX;UIDVALIDITY=1255685337/;UID=48812/;SECTION=HEADER" TEXT ~{40} S: 6 NO [UNKNOWN-

[Dovecot] CATENATE/literal8 issue

2013-05-20 Thread Michael M Slusarz
Using 2.2.2, I see this: C: 6 APPEND "INBOX" (\seen) "16-May-2013 22:05:14 -0600" CATENATE (URL "/INBOX;UIDVALIDITY=1255685337/;UID=48812/;SECTION=HEADER" TEXT ~{40} S: 6 NO [UNKNOWN-CTE] Binary input allowed only when the first part is binary. Why is there this limitation? It seems to me th

Re: [Dovecot] Keyword limit?

2013-05-06 Thread Michael M Slusarz
Quoting Ben Morrow : At 4PM -0600 on 6/05/13 you (Michael M Slusarz) wrote: Running into a weird issue in a mailbox that has 26+ keywords. You are using Maildir, yes? Maildir stores keywords in the flags field of the message filename, using lowercase letters, so there is a limit of 26 per

[Dovecot] Keyword limit?

2013-05-06 Thread Michael M Slusarz
Running into a weird issue in a mailbox that has 26+ keywords. In one session, I do this: S: 2 SELECT "INBOX" (QRESYNC (1255685337 78608 [...uids...])) S: [...] S: * OK [HIGHESTMODSEQ 78608] Highest S: * OK [UIDVALIDITY 1255685337] UIDs valid S: 2 OK [READ-WRITE] Select completed. C: 3 UID STORE

Re: [Dovecot] CATENATE allows empty messages

2013-05-02 Thread Michael M Slusarz
Quoting Mike Abbott : It's the inconsistency that bothers me. Plain old APPEND doesn't allow empty messages but CATENATE does? I don't recall/see anything in RFC 3501 that prevents a zero-length message: append = "APPEND" SP mailbox [SP flag-list] [SP date-time] SP

Re: [Dovecot] CATENATE allows empty messages

2013-05-02 Thread Michael M Slusarz
Quoting Timo Sirainen : On 30.4.2013, at 0.12, Timo Sirainen wrote: This could be changed I guess, but I don't think it's a bug. I don't see anything in RFC 3501 prohibiting saving empty messages. Only the MULTIAPPEND RFC says: A zero-length message literal argument is an error, and

Re: [Dovecot] Imapsync - WAS: Re: mdbox and folders containing both messages and sub-folders

2013-04-07 Thread Michael M Slusarz
Quoting Rich Wales : Replying to Charles Marcus: https://github.com/imapsync/imapsync Note the contents of the license file: Quite bizarre. So the author of the program is selling it for 50 EUR, but at the same time he has released the latest version of the source (the same as what he's sel

Re: [Dovecot] Gmail like labels, three years later

2013-03-27 Thread Michael M Slusarz
Quoting Timo Sirainen : On 27.3.2013, at 5.15, Pablo Vieira wrote: On this post http://www.dovecot.org/list/dovecot/2011-June/059605.html I was asking about the possibility of using arbitrary labels on messages, much like Gmail does. On following replies, I was told about few tricks that mig

Re: [Dovecot] IMAP folders sort order

2013-03-01 Thread Michael M Slusarz
Quoting "Valery V. Sedletski" : But I tried to create a fresh account in Dovecot (not migrated from Courier), and it still shows a intermixed folder order: a list "" * * LIST (\HasNoChildren) "/" "Spam" * LIST (\HasNoChildren) "/" "Sent" * LIST (\HasNoChildren) "/" "Drafts" * LIST (\HasNoChild

Re: [Dovecot] Disallow Deletion from Trash Folder

2013-02-28 Thread Michael M Slusarz
Quoting Bradley Rintoul : I've been tasked with trying to find a way to keep users from ever "permanently" deleting emails. The users are running Thunderbird and are using the "Archive" option for when emails are deleted. However, they are still able to delete emails from the Archive folde

Re: [Dovecot] IMAP folders sort order

2013-02-28 Thread Michael M Slusarz
Quoting "Valery V. Sedletski" : however what you used at migrate, some from your old clients may not update their folder searchlist to/at new namespace, or have fixed prefix setup etc, i didnt remember exactly but i think you can have both namespace setups somehow for stay compatible with "old

Re: [Dovecot] Possible sort optimization (?)

2013-02-24 Thread Michael M Slusarz
Quoting Timo Sirainen : On 6.2.2013, at 1.02, Michael M Slusarz wrote: a UID SORT RETURN (ALL COUNT) (DATE) UTF-8 SUBJECT "foo" is always about 10 percent slower than this split query (I've done this 4-5 times, and the numbers are similar): a UID SEARCH RETURN (SAVE

[Dovecot] Possible sort optimization (?)

2013-02-05 Thread Michael M Slusarz
Maybe this is just noise... but I can reproduce this fairly reliably. Mailbox with 21,000+ messages This query: a UID SORT RETURN (ALL COUNT) (DATE) UTF-8 SUBJECT "foo" is always about 10 percent slower than this split query (I've done this 4-5 times, and the numbers are similar): a UID SE

Re: [Dovecot] Per user special-use folder names

2013-02-05 Thread Michael M Slusarz
Quoting Patrick Ben Koetter : That's part of what makes SPECIAL-USE so sexy. It is language independent. All it does is say "This mailbox is reserved for that particular usage." How you call it, is up to you (client). Well not quite. The problem comes when you have *multiple* sent mailb

Re: [Dovecot] Gmail style conversations

2012-12-03 Thread Michael M Slusarz
Quoting Romer Ventura : I am wondering if there is any way to support Gmail style conversation when using Dovecot? Someway of associating all inbound and sent emails..? Sure: just save all sent-mail messages to the same mailbox and use a threaded (REFERENCES) sort. michael

Re: [Dovecot] Issues with VANISHED CHANGEDSINCE

2012-11-07 Thread Michael M Slusarz
Quoting Timo Sirainen : On 8.11.2012, at 0.34, Michael M Slusarz wrote: Quoting Michael M Slusarz : I see your point, but the problem is that is not intuitive when reading the RFC. One part of the RFC defines the behavior of VANISHED (EARLIER) as only returning changes since the mod

Re: [Dovecot] Issues with VANISHED CHANGEDSINCE

2012-11-07 Thread Michael M Slusarz
Quoting Timo Sirainen : On 8.11.2012, at 0.08, Michael M Slusarz wrote: I'm not sure changing the defaults is a good idea. But if someone does want to use a particular dovecot server as the backend for activesync clients, for example, it would probably make sense to allow these v

Re: [Dovecot] Issues with VANISHED CHANGEDSINCE

2012-11-07 Thread Michael M Slusarz
Quoting Michael M Slusarz : I see your point, but the problem is that is not intuitive when reading the RFC. One part of the RFC defines the behavior of VANISHED (EARLIER) as only returning changes since the mod-sequence given. And you are correct that another part of the RFC says that

Re: [Dovecot] Issues with VANISHED CHANGEDSINCE

2012-11-07 Thread Michael M Slusarz
Quoting Timo Sirainen : On 6.11.2012, at 3.49, Michael J Rubinsky wrote: That would require infinitely storing the modseq of when each message was expunged. Not very nice. Also the RFC talks a lot about this situation. The SELECT command has two optional parameters to optimize it. The RFC *d

Re: [Dovecot] Issues with VANISHED CHANGEDSINCE

2012-11-07 Thread Michael M Slusarz
Quoting Timo Sirainen : On 6.11.2012, at 3.49, Michael J Rubinsky wrote: These defines in mail-transaction-log-private.h anyway can be changed to make it much less likely to see your problem: /* Rotate when log is older than ROTATE_TIME and larger than MIN_SIZE */ #define MAIL_TRANSACTION_L

Re: [Dovecot] Issues with VANISHED CHANGEDSINCE

2012-11-05 Thread Michael M Slusarz
Quoting Michael J Rubinsky : I don't think they become incorrect, just that there are more of them than really necessary? Yes, there's a tipping point. It's when the modseq no longer exists in the dovecot.index.log* files, which get rotated once in a while. This shouldn't happen very ofte

Re: [Dovecot] Issues with VANISHED CHANGEDSINCE

2012-11-05 Thread Michael M Slusarz
Quoting Michael J Rubinsky : Also, to verify it wasn't something screwy with my server, Michael Slusarz provided me with this from his server: There's definitely something wonky going on in the code. There's a certain tipping point of modseqs where the values become incorrect. For a ma

Re: [Dovecot] Save/restore IMAP session state

2012-10-30 Thread Michael M Slusarz
Quoting Timo Sirainen : A week ago I thought I'd see how easy it would be to implement this. I got a basic proof of concept working as a "X-STATE" command. [snip] This could also be used to implement quick session state restoring for webmails (as suggested by Michael Slusarz). Wow. We mus

Re: [Dovecot] Disconnected for inactivity time.

2012-10-17 Thread Michael M Slusarz
Quoting Robert JR : After 10 mins of unactivity of pop3 , dovecot disconnect the user (-ERR Disconnected for inactivity.) What is the option in the config file which control the unactivity logout time ? becuase i want to decrease the inactivity time To 5 mins instead of 10 mins You can'

Re: [Dovecot] Search for substring in header?

2012-10-15 Thread Michael M Slusarz
Quoting Dave Abrahams : on Mon Oct 15 2012, Dave Abrahams wrote: on Sun Oct 14 2012, Michael M Slusarz wrote: Quoting Dave Abrahams : Hi, According to the IMAP spec (http://tools.ietf.org/html/rfc2060#page-37), if I do a search for "TO isocpp.org" it should find all the mess

Re: [Dovecot] Search for substring in header?

2012-10-14 Thread Michael M Slusarz
Quoting Dave Abrahams : Hi, According to the IMAP spec (http://tools.ietf.org/html/rfc2060#page-37), if I do a search for "TO isocpp.org" it should find all the messages whose To: field contains the string "isocpp.org", but dovecot is returning me an empty list. However, a search for "TO t...@

Re: [Dovecot] Namespace Prefix Tutorial?

2012-10-08 Thread Michael M Slusarz
Quoting Marc Perkel : On 10/8/2012 10:59 AM, Robert Schetterer wrote: Am 08.10.2012 18:23, schrieb Marc Perkel: I'm trying to grasp the namespace and prefix stuff and looking for a good tutorial page that explains what it is and how to use it. Thanks in advance look http://wiki2.dovecot.or

Re: [Dovecot] Getting rid of the subscription file

2012-10-04 Thread Michael M Slusarz
Quoting Marc Perkel : On 10/3/2012 9:58 PM, Daniel Parthey wrote: Marc Perkel wrote: I'd like to eliminate the subscription file and have it just list the folders that are there. How do I do that? [snip] RFC 3501 tells that the server side MUST NOT unilaterally remove an existing mailbox n

Re: [Dovecot] Edit an existing message or replacing it

2012-09-16 Thread Michael M Slusarz
Quoting Mostafa Rokooie : I want to know is there any solution to edit an existing message in mailbox via IMAP? or replace it with a new message (store a new message with same UID)? You **can't** alter an existing UID message. You have to re-add the message to the mailbox and use a new UID.

Re: [Dovecot] Search extensions

2012-08-21 Thread Michael M Slusarz
Quoting Timo Sirainen : The client can verify the results with the fetch. The "x-anyheader" can already be implemented without changes to full text search plugin, because all backends store message/MIME headers and body text separately. So, questions for the list, especially client develo

Re: [Dovecot] Dovecot performance under high load (vs. Courier)

2012-06-26 Thread Michael M Slusarz
Quoting Timo Sirainen : Well, I had completely forgotten about it :) Reading my old mail: There isn't a whole lot of state to be saved really. Mailbox GUID, UIDVALIDITY, HIGHESTMODSEQ gives the mailbox state. Then you have the language/etc. states. Clients could restore their earlier state

Re: [Dovecot] Dovecot performance under high load (vs. Courier)

2012-06-26 Thread Michael M Slusarz
Quoting Wojciech Puchar : It's stupid how webmail works but dovecot doesn't have a problem to get new connections every now and then. just make sure you didn't set up SSL by accident. Would you mind explaining why you think it is "stupid" the way webmail works? I assume you are angry bec

Re: [Dovecot] Dovecot performance under high load (vs. Courier)

2012-06-26 Thread Michael M Slusarz
Quoting Timo Sirainen : On 23.6.2012, at 13.21, Ed W wrote: But I don't know, whether this is the sort of caching you are referring to. what's a point of caching imap, except your webmail service is not locally connected (localhost or LAN) to imap server? Asking for items 600-615 from a

Re: [Dovecot] Dovecot performance under high load (vs. Courier)

2012-06-21 Thread Michael M Slusarz
Quoting Ed W : I think the conclusion is that imapproxy is not necessary. There are some advantages (eg with high network latency between web and imap server, and reducing apparent login count), and some disadvantages (extra complexity, slowdown) Not entirely true. See this thread: htt

Re: [Dovecot] Dovecot performance under high load (vs. Courier)

2012-06-21 Thread Michael M Slusarz
Quoting Timo Sirainen : On Thu, 2012-06-21 at 13:05 -0700, email builder wrote: Do you know what webmails are caching vs. non-caching? Nearly all of them are non-caching. (I don't know of any caching ones.) IMP is caching (message/mailbox/folder listing), with full QRESYNC/CONDSTORE suppo

[Dovecot] 2.1.3: Overly lax FETCH parsing

2012-04-05 Thread Michael M Slusarz
These commands both work in Dovecot (as of 2.1.3): 1 UID FETCH 1:* () (CHANGEDSINCE 1) * 1 FETCH (UID 30097 MODSEQ (19554)) [...] 1 OK Fetch completed. 2 FETCH 1:* () (CHANGEDSINCE 1) * 2 FETCH (MODSEQ (19554)) [...] 2 OK Fetch completed. However, RFC 3501 indicates that an empty FETCH attribut

Re: [Dovecot] LIST-STATUS issue

2012-03-02 Thread Michael M Slusarz
Quoting Timo Sirainen : On 2.3.2012, at 20.27, Michael M Slusarz wrote: I don't see anything in the code that could explain why this could be happening. What filesystem are you using? Nothing fancy: jfs on Archlinux. I've been using it for years - it's not something

[Dovecot] 2.1.1: Incorrect quoting of RFC 2822 personal parts in ENVELOPE data

2012-03-02 Thread Michael M Slusarz
I'm seeing this: 1 UID FETCH 31734 (ENVELOPE) * 23 FETCH (UID 31734 ENVELOPE ("Fri, 2 Mar 2012 19:05:24 -0500 (EST)" "XX" (({22} X \"X-XX\" XX NIL "XXX" "X.XXX")) (({22} X \"X-XX\" XX NIL "XXX" "X.XX.XXX")) ((NIL NIL "XXX" "X.XXX"

Re: [Dovecot] LIST-STATUS issue

2012-03-02 Thread Michael M Slusarz
Quoting Timo Sirainen : On Fri, 2012-03-02 at 00:53 -0700, Michael M Slusarz wrote: It happened again. Once it got around midnight local time I stopped seeing correct STATUS updates with the UNSEEN count. Running two MUAs: I opened a mailbox with new messages in one, and the next time the

Re: [Dovecot] LIST-STATUS issue

2012-03-01 Thread Michael M Slusarz
Quoting Michael M Slusarz : Quoting Timo Sirainen : On 1.3.2012, at 20.03, Michael M Slusarz wrote: Looked at the hg commits since 2.1.1, but didn't see anything that was exactly on-point to this... UNSEEN counts seem to be broken when done in a LIST-STATUS call. I see this

Re: [Dovecot] LIST-STATUS issue

2012-03-01 Thread Michael M Slusarz
Quoting Timo Sirainen : On 1.3.2012, at 20.03, Michael M Slusarz wrote: Looked at the hg commits since 2.1.1, but didn't see anything that was exactly on-point to this... UNSEEN counts seem to be broken when done in a LIST-STATUS call. I see this, for example: Only with LIST-S

[Dovecot] LIST-STATUS issue

2012-03-01 Thread Michael M Slusarz
Looked at the hg commits since 2.1.1, but didn't see anything that was exactly on-point to this... UNSEEN counts seem to be broken when done in a LIST-STATUS call. I see this, for example: Timestamp: Thu, 01 Mar 2012 10:55:47 -0700 [...] C: 3 LIST "" (INBOX IN.dovecot) RETURN (STATUS (UN

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-13 Thread Michael M Slusarz
Quoting Timo Sirainen : On 14.2.2012, at 5.19, Michael M Slusarz wrote: b login (SAVEDSTATE 1234567890) user pass I guess the drawback for this approach is that you are explicitly breaking the LOGIN definition. No breaking, extending :) Heh. I should know better after reading about

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-13 Thread Michael M Slusarz
Quoting Timo Sirainen : On 13.2.2012, at 23.32, Timo Sirainen wrote: Perhaps a way for (trusted) clients to be able to do this? :) a logout save * OK [SAVEDSTATE 1234567890] * BYE logged out a OK Actually, this could probably be safely implemented by sending all of the state to the client

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-13 Thread Michael M Slusarz
Quoting Timo Sirainen : On 13.2.2012, at 22.24, Michael M Slusarz wrote: http://lists.horde.org/archives/imp/Week-of-Mon-20110523/052316.html http://lists.horde.org/archives/imp/Week-of-Mon-20110523/052317.html These posts neglect the fact that you don't need to issue a CAPABILITY co

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-13 Thread Michael M Slusarz
Quoting Jan-Frode Myklebust : BTW: do you also have information on the state of select caching in the up-imapproxy? I got some very negative comments when googling it, and the changelog didn't suggest there had been any improvements since.. I wouldn't trust it. IIRC, it was added years ago an

Re: [Dovecot] IMAP-proxy or not with sogo webmail and dovecot backend

2012-02-13 Thread Michael M Slusarz
Quoting Jan-Frode Myklebust : We've been collecting some stats to see what kind of benefits UP/SquirrelMail's IMAP Proxy in for our SOGo webmail users. Dovecot is running in High-performance mode http://wiki2.dovecot.org/LoginProcess with authentication caching http://wiki2.dovecot.org/Authentic

Re: [Dovecot] ENVELOPE mishandling of Subject lines with quote(s)?

2012-02-06 Thread Michael M Slusarz
Quoting Timo Sirainen : On 6.2.2012, at 22.55, Timo Sirainen wrote: Maybe I should add some evil setting to Dovecot where it would use literals everywhere it can, or perhaps randomly send atoms/strings/literals. :) BTW. If anyone wants to try, the attached patch makes Dovecot return (al

  1   2   >