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

Re: events

2015-10-23 Thread Michael M Slusarz
u 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

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:

Re: Outlook 2013/2010 nightmare #2

2015-03-09 Thread Michael M Slusarz
Quoting David.M.Clark da...@davrom.com: 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?

Re: Enabling mod-sequences

2015-02-12 Thread Michael M Slusarz
Quoting Luca Bertoncello lucab...@lucabert.de: 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

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

Re: Help with shared folder

2014-10-07 Thread Michael M Slusarz
Quoting Eduardo Ramos edua...@freedominterface.org: 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:

Re: Quota Woes

2014-09-25 Thread Michael M Slusarz
Quoting Art Stephens asteph...@ptera.com: 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

Re: charset-specific searches, and continuation lines

2014-09-12 Thread Michael M Slusarz
Quoting Eric Abrahamsen e...@ericabrahamsen.net: Michael M Slusarz slus...@curecanti.org writes: Quoting Eric Abrahamsen e...@ericabrahamsen.net: 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

Re: ยง-sign in passwords

2014-09-09 Thread Michael M Slusarz
Quoting InterNetworX | Pascal Heverhagen p...@inwx.de: 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

Re: charset-specific searches, and continuation lines

2014-09-04 Thread Michael M Slusarz
Quoting Eric Abrahamsen e...@ericabrahamsen.net: 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

Re: charset-specific searches, and continuation lines

2014-09-04 Thread Michael M Slusarz
Quoting Eric Abrahamsen e...@ericabrahamsen.net: 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

Re: Special-Use Mailboxes ?

2014-08-27 Thread Michael M Slusarz
Quoting Per Jessen p...@computer.org: 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 at least 6 different

Re: Special-Use Mailboxes ?

2014-08-26 Thread Michael M Slusarz
Quoting Per Jessen p...@computer.org: 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

Re: Special-Use Mailboxes ?

2014-08-25 Thread Michael M Slusarz
Quoting Per Jessen p...@computer.org: Lots of people must have had this issue before me - users using different devicessoftware (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.

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

2014-08-06 Thread Michael M Slusarz
Quoting Greg Sullivan greg.sulli...@sullivang.net: 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

Re: TRANSLATION extension to the NAMESPACE response supported?

2014-07-16 Thread Michael M Slusarz
Quoting Stephan Bosch step...@rename-it.nl: On 7/15/2014 11:24 PM, Michael M Slusarz wrote: Quoting Stephan Bosch step...@rename-it.nl: 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

Re: HIGHESTMODSEQ tracking

2014-07-15 Thread Michael M Slusarz
Quoting Kostya Vasilyev kmans...@gmail.com: 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

Re: TRANSLATION extension to the NAMESPACE response supported?

2014-07-15 Thread Michael M Slusarz
Quoting Stephan Bosch step...@rename-it.nl: 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

Re: Changed IMAP MOVE behavior in Dovecot 2.2.x

2014-07-14 Thread Michael M Slusarz
Quoting Iavor Stoev ia...@icdsoft.com: 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

Re: HIGHESTMODSEQ tracking

2014-07-14 Thread Michael M Slusarz
Quoting Kostya Vasilyev kmans...@gmail.com: 2014-07-10 4:05 GMT+04:00 Michael M Slusarz slus...@curecanti.org: Quoting Kostya Vasilyev kmans...@gmail.com: 2014-07-10 1:37 GMT+04:00 Michael M Slusarz slus...@curecanti.org: Quoting Kostya Vasilyev kmans...@gmail.com: These days, you

Re: HIGHESTMODSEQ tracking

2014-07-09 Thread Michael M Slusarz
Quoting Kostya Vasilyev kmans...@gmail.com: 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

Re: HIGHESTMODSEQ tracking

2014-07-09 Thread Michael M Slusarz
Quoting Kostya Vasilyev kmans...@gmail.com: 2014-07-10 1:37 GMT+04:00 Michael M Slusarz slus...@curecanti.org: Quoting Kostya Vasilyev kmans...@gmail.com: These days, you *really* should be using QRESYNC instead though. There are some mail servers that support CONDSTORE but not QRESYNC

Re: Imaptest script testing

2014-07-01 Thread Michael M Slusarz
Quoting kaustubh kaust...@mithi.com: http://www.imapwiki.org/ImapTest/ 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

Re: [Dovecot] BINARY FETCH conversion issue

2014-05-02 Thread Michael M Slusarz
Quoting Timo Sirainen t...@iki.fi: On 30.4.2014, at 0.27, Michael M Slusarz slus...@curecanti.org 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

[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 UID

Re: [Dovecot] CONTEXT=SORT

2014-05-02 Thread Michael M Slusarz
Quoting Michael M Slusarz slus...@curecanti.org: 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

[Dovecot] BINARY FETCH conversion issue

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

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

2014-03-17 Thread Michael M Slusarz
Quoting Aleve Sicofante asicofa...@gmail.com: 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

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

2014-03-05 Thread Michael M Slusarz
Quoting Aleve Sicofante asicofa...@gmail.com: 2014-03-05 6:59 GMT+01:00 Michael M Slusarz slus...@curecanti.org: Quoting Aleve Sicofante asicofa...@gmail.com: I'm talking about this: http://wiki2.dovecot.org/Plugins/Virtual Every client can take advantage of them. From a client's

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

2014-03-04 Thread Michael M Slusarz
Quoting Aleve Sicofante asicofa...@gmail.com: 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 da-dovecotlist...@abelonline.de: 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

Re: [Dovecot] IMAP ANNOTATE Extension RFC5257

2014-01-23 Thread Michael M Slusarz
Quoting Ed W li...@wildgooses.com: 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

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

2014-01-22 Thread Michael M Slusarz
Quoting Eric Wong normalper...@yhbt.net: 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

Re: [Dovecot] IMAP ANNOTATE Extension RFC5257

2014-01-22 Thread Michael M Slusarz
Quoting Robert Schetterer r...@sys4.de: 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

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

2014-01-16 Thread Michael M Slusarz
Quoting Julian PG dev+dove...@psyrium.com.au: 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 wdeh...@exalondelft.nl: 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\)

Re: [Dovecot] Horde + dovecot metadata support

2013-12-19 Thread Michael M Slusarz
Quoting Timo Sirainen t...@iki.fi: On 19.12.2013, at 12.23, Andreas Schulze andreas.schu...@datev.de 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:

Re: [Dovecot] Full text search improvements

2013-12-04 Thread Michael M Slusarz
Quoting Timo Sirainen t...@iki.fi: 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

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

2013-11-18 Thread Michael M Slusarz
Quoting Jonathan Siegle jsie...@psu.edu: 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

Re: [Dovecot] Strange output from LIST command

2013-10-17 Thread Michael M Slusarz
Quoting Bron Gondwana br...@fastmail.fm: 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

Re: [Dovecot] Strange output from LIST command

2013-10-14 Thread Michael M Slusarz
Quoting azurIt azu...@pobox.sk: 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

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

2013-09-03 Thread Michael M Slusarz
Quoting Urban Loesch b...@enas.net: 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

Re: [Dovecot] CATENATE/literal8 issue

2013-06-13 Thread Michael M Slusarz
Quoting Timo Sirainen t...@iki.fi: On Wed, 2013-05-22 at 09:38 -0600, Michael M Slusarz wrote: Quoting Michael M Slusarz slus...@curecanti.org: Quoting Timo Sirainen t...@iki.fi: Anyway .. the BINARY APPEND converts only the MIME parts that you send with Content-Transfer-Encoding: binary

Re: [Dovecot] CATENATE/literal8 issue

2013-06-13 Thread Michael M Slusarz
Quoting Michael M Slusarz slus...@curecanti.org: 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

[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

Re: [Dovecot] THREAD REFERENCES bug

2013-06-12 Thread Michael M Slusarz
Quoting A.L.E.C a...@alec.pl: 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

Re: [Dovecot] CATENATE/literal8 issue

2013-05-22 Thread Michael M Slusarz
Quoting Michael M Slusarz slus...@curecanti.org: Quoting Timo Sirainen t...@iki.fi: 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

[Dovecot] CATENATE/literal8 issue

2013-05-21 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 that

Re: [Dovecot] CATENATE/literal8 issue

2013-05-21 Thread Michael M Slusarz
Quoting Timo Sirainen t...@iki.fi: On 21.5.2013, at 9.40, Michael M Slusarz slus...@curecanti.org 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-CTE

Re: [Dovecot] CATENATE/literal8 issue

2013-05-21 Thread Michael M Slusarz
Quoting Timo Sirainen t...@iki.fi: 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

[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 Timo Sirainen t...@iki.fi: On 30.4.2013, at 0.12, Timo Sirainen t...@iki.fi 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

Re: [Dovecot] CATENATE allows empty messages

2013-05-02 Thread Michael M Slusarz
Quoting Mike Abbott michael.abb...@apple.com: 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

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

2013-04-07 Thread Michael M Slusarz
Quoting Rich Wales ri...@richw.org: 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

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

2013-03-27 Thread Michael M Slusarz
Quoting Timo Sirainen t...@iki.fi: On 27.3.2013, at 5.15, Pablo Vieira pa...@vieira.es 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

Re: [Dovecot] IMAP folders sort order

2013-03-01 Thread Michael M Slusarz
Quoting Valery V. Sedletski valer...@afterlogic.com: 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

Re: [Dovecot] IMAP folders sort order

2013-02-28 Thread Michael M Slusarz
Quoting Valery V. Sedletski valer...@afterlogic.com: 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

Re: [Dovecot] Disallow Deletion from Trash Folder

2013-02-28 Thread Michael M Slusarz
Quoting Bradley Rintoul brint...@sbcglobal.net: 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

Re: [Dovecot] Possible sort optimization (?)

2013-02-24 Thread Michael M Slusarz
Quoting Timo Sirainen t...@iki.fi: On 6.2.2013, at 1.02, Michael M Slusarz slus...@curecanti.org 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

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

2013-02-05 Thread Michael M Slusarz
Quoting Patrick Ben Koetter p...@sys4.de: 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*

[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

Re: [Dovecot] Gmail style conversations

2012-12-03 Thread Michael M Slusarz
Quoting Romer Ventura rvent...@h-st.com: 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

Re: [Dovecot] Issues with VANISHED CHANGEDSINCE

2012-11-07 Thread Michael M Slusarz
Quoting Timo Sirainen t...@iki.fi: 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

Re: [Dovecot] Issues with VANISHED CHANGEDSINCE

2012-11-07 Thread Michael M Slusarz
Quoting Timo Sirainen t...@iki.fi: 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.

Re: [Dovecot] Issues with VANISHED CHANGEDSINCE

2012-11-07 Thread Michael M Slusarz
Quoting Michael M Slusarz slus...@curecanti.org: 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

Re: [Dovecot] Issues with VANISHED CHANGEDSINCE

2012-11-07 Thread Michael M Slusarz
Quoting Timo Sirainen t...@iki.fi: 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

Re: [Dovecot] Issues with VANISHED CHANGEDSINCE

2012-11-07 Thread Michael M Slusarz
Quoting Timo Sirainen t...@iki.fi: On 8.11.2012, at 0.34, Michael M Slusarz wrote: Quoting Michael M Slusarz slus...@curecanti.org: 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

Re: [Dovecot] Issues with VANISHED CHANGEDSINCE

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

Re: [Dovecot] Issues with VANISHED CHANGEDSINCE

2012-11-05 Thread Michael M Slusarz
Quoting Michael J Rubinsky mrubi...@horde.org: 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

Re: [Dovecot] Save/restore IMAP session state

2012-10-30 Thread Michael M Slusarz
Quoting Timo Sirainen t...@iki.fi: 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).

Re: [Dovecot] Disconnected for inactivity time.

2012-10-17 Thread Michael M Slusarz
Quoting Robert JR roundcube...@alaadin.org: 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

Re: [Dovecot] Search for substring in header?

2012-10-15 Thread Michael M Slusarz
Quoting Dave Abrahams d...@boostpro.com: on Mon Oct 15 2012, Dave Abrahams dave-AT-boostpro.com wrote: on Sun Oct 14 2012, Michael M Slusarz slusarz-AT-curecanti.org wrote: Quoting Dave Abrahams d...@boostpro.com: Hi, According to the IMAP spec (http://tools.ietf.org/html/rfc2060#page-37

Re: [Dovecot] Search for substring in header?

2012-10-14 Thread Michael M Slusarz
Quoting Dave Abrahams d...@boostpro.com: 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

Re: [Dovecot] Namespace Prefix Tutorial?

2012-10-08 Thread Michael M Slusarz
Quoting Marc Perkel m...@perkel.com: 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

Re: [Dovecot] Getting rid of the subscription file

2012-10-04 Thread Michael M Slusarz
Quoting Marc Perkel m...@perkel.com: 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

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

2012-09-16 Thread Michael M Slusarz
Quoting Mostafa Rokooie mostafa.roko...@gmail.com: 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

Re: [Dovecot] Search extensions

2012-08-21 Thread Michael M Slusarz
Quoting Timo Sirainen t...@iki.fi: 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

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

2012-06-26 Thread Michael M Slusarz
Quoting Timo Sirainen t...@iki.fi: 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

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

2012-06-26 Thread Michael M Slusarz
Quoting Wojciech Puchar woj...@wojtek.tensor.gdynia.pl: 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

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

2012-06-26 Thread Michael M Slusarz
Quoting Timo Sirainen t...@iki.fi: 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

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

2012-06-21 Thread Michael M Slusarz
Quoting Timo Sirainen t...@iki.fi: 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

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

2012-06-21 Thread Michael M Slusarz
Quoting Ed W li...@wildgooses.com: 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.

[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

Re: [Dovecot] LIST-STATUS issue

2012-03-02 Thread Michael M Slusarz
Quoting Timo Sirainen t...@iki.fi: 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

[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)) ((NIL NIL

Re: [Dovecot] LIST-STATUS issue

2012-03-02 Thread Michael M Slusarz
Quoting Timo Sirainen t...@iki.fi: 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 I have

[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

Re: [Dovecot] LIST-STATUS issue

2012-03-01 Thread Michael M Slusarz
Quoting Timo Sirainen t...@iki.fi: 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

Re: [Dovecot] LIST-STATUS issue

2012-03-01 Thread Michael M Slusarz
Quoting Michael M Slusarz slus...@curecanti.org: Quoting Timo Sirainen t...@iki.fi: 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

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

2012-02-13 Thread Michael M Slusarz
Quoting Jan-Frode Myklebust janfr...@tanso.net: 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

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

2012-02-13 Thread Michael M Slusarz
Quoting Jan-Frode Myklebust janfr...@tanso.net: 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

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

2012-02-13 Thread Michael M Slusarz
Quoting Timo Sirainen t...@iki.fi: 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

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

2012-02-13 Thread Michael M Slusarz
Quoting Timo Sirainen t...@iki.fi: 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

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

2012-02-13 Thread Michael M Slusarz
Quoting Timo Sirainen t...@iki.fi: 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

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

2012-02-06 Thread Michael M Slusarz
Quoting Dinh Le d...@flic.net: * 89 FETCH (ENVELOPE (29 Oct 2008 15:44:03 -0500 {65} 2nd Edition of Brennesholtz/Stupp Projection Displays Available ((Insight Media NIL administrator insightmedia.info)) ((Insight Media NIL administrator insightmedia.info)) ((Insight Media NIL

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

2012-02-06 Thread Michael M Slusarz
Quoting Timo Sirainen t...@iki.fi: 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

Re: [Dovecot] Persistence of UIDs

2012-01-24 Thread Michael M Slusarz
Quoting Jean-Daniel Beaubien jd.beaub...@gmail.com: I have a question concerning UIDs. How persistant are they? [snip] So to come back to my question, can I store the UIDs and reuse those UIDs later on to obtain the body of the email??? Or can the UIDs change on the server and they will not

  1   2   >