Re: [Dovecot] Mail deduplication

2013-05-02 Thread Angel L. Mateo
El 30/04/13 11:22, Jan-Frode Myklebust escribió: Wasn't there also some issue with cleanup of attachments ? Not being able to delete the last copy, or something. I did some testing of using SIS on a In tests I have done (with dovecot 2.1.16) cleanup is done well. When the last copy of the

Re: [Dovecot] Dovecot has no understandable configuration any more

2013-05-02 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 30 Apr 2013, forum wrote: Now i have found the solution. It seems to help to ask you. ;) The solution was to change from listen = [::] to listen = *, [::] There is no explanation for it - just try and error ... Hmm, [::] - in6addr_any

Re: [Dovecot] Dovecot has no understandable configuration any more

2013-05-02 Thread Forum
Hello Steffen, Am 02.05.2013 10:17, schrieb Steffen Kaiser: On Tue, 30 Apr 2013, forum wrote: Now i have found the solution. It seems to help to ask you. ;) The solution was to change from listen = [::] to listen = *, [::] There is no explanation for it - just try and error ... Hmm, [::]

[Dovecot] XFS vs EXT4 for mail storage

2013-05-02 Thread Charles Marcus
Hello, I'm in the process of finalizing the spec for my new dovecot VM, and this is the last question I need to address... I've read until I'm just about decided on XFS, but I have no experience with it (been using reiserfs on my old box (@ 8 yrs old now), and never had a problem (knock on

Re: [Dovecot] Mail deduplication

2013-05-02 Thread Charles Marcus
On 2013-04-30 8:00 PM, Tim Groeneveld t...@timgws.com.au wrote: After thinking about it a little bit more, I have determined that just recombining the messages to send them to the client will be too intensive, and will cause extra latencies when retrieving emails. Scratching my head trying to

Re: [Dovecot] XFS vs EXT4 for mail storage

2013-05-02 Thread Luigi Rosa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Charles Marcus said the following on 02/05/2013 13:16: So, anyone (Stan?) have any suggestions? Should I go with EXT4? Or XFS with just the defaults? Or XFS with one or more tuned parameters? Expecially when you are working in virtual

Re: [Dovecot] XFS vs EXT4 for mail storage

2013-05-02 Thread Alessio Cecchi
Il 02/05/2013 13:16, Charles Marcus ha scritto: Hello, I'm in the process of finalizing the spec for my new dovecot VM, and this is the last question I need to address... I've read until I'm just about decided on XFS, but I have no experience with it (been using reiserfs on my old box (@ 8 yrs

Re: [Dovecot] Dovecot vs MBox

2013-05-02 Thread Charles Marcus
First - I'm subscribed to the list, please don't reply all and send people two copies of your email. On 2013-05-01 11:00 AM, Gregory Sloop gr...@sloop.net wrote: I don't have to shotgun a million lines of logs and other irrelevant data for people here to troll through. Why would anyone need

Re: [Dovecot] XFS vs EXT4 for mail storage

2013-05-02 Thread lst_hoe02
Zitat von Charles Marcus cmar...@media-brokers.com: Hello, I'm in the process of finalizing the spec for my new dovecot VM, and this is the last question I need to address... I've read until I'm just about decided on XFS, but I have no experience with it (been using reiserfs on my old

Re: [Dovecot] XFS vs EXT4 for mail storage

2013-05-02 Thread Charles Marcus
Thanks for the replies... On 2013-05-02 7:54 AM, Luigi Rosa li...@luigirosa.com wrote: The I/O cascading is in essence the muptiplying factor of each disk write at application level. Consider a SQL UPDATE statement: you have date written on database and trasaction log. Each file will have its

Re: [Dovecot] XFS vs EXT4 for mail storage

2013-05-02 Thread Reindl Harald
Am 02.05.2013 15:17, schrieb Charles Marcus: but what I'm still unsure of for a VM environment is the delaylog and nobarrier options. Are these recommended/optimal for a VM? Running on ESXi (does it matter what hypervisor ie being used)? barriers does not help you much or are implicit

Re: [Dovecot] XFS vs EXT4 for mail storage

2013-05-02 Thread Alessio Cecchi
Il 02/05/2013 15:17, Charles Marcus ha scritto: man mount doesn't show delaylog, nobarrier or noquota as valid mount options... ? Yes, they are available on RHEL 6.x. since 2.6.35, xfs had a new mount option '-o delaylog', which improved a lot metadata operations. From 2.6.39 this option is

Re: [Dovecot] XFS vs EXT4 for mail storage

2013-05-02 Thread Charles Marcus
On 2013-05-02 9:12 AM, lst_ho...@kwsoft.de lst_ho...@kwsoft.de wrote: IMHO if you say VM than the filesystem inside the guest doesn't matter that much. Well... my understanding is that things can break rather badly if you use reiserfs for the host, and then use reiserfs for one of the

Re: [Dovecot] XFS vs EXT4 for mail storage

2013-05-02 Thread Charles Marcus
On 2013-05-02 9:51 AM, Alessio Cecchi ales...@skye.it wrote: Il 02/05/2013 15:17, Charles Marcus ha scritto: man mount doesn't show delaylog, nobarrier or noquota as valid mount options... ? Yes, they are available on RHEL 6.x. since 2.6.35, xfs had a new mount option '-o delaylog', which

Re: [Dovecot] CATENATE doesn't support literal+ url

2013-05-02 Thread Timo Sirainen
On 30.4.2013, at 0.06, Timo Sirainen t...@iki.fi wrote: On 29.4.2013, at 23.43, Mike Abbott michael.abb...@apple.com wrote: Dovecot-2.2.1 does not appear to support URLs specified via non-synchronizing literals Or synchronizing literals either: b2 append inbox catenate (url {8} b2

Re: [Dovecot] CATENATE allows zero parts

2013-05-02 Thread Timo Sirainen
On 29.4.2013, at 21.37, Mike Abbott michael.abb...@apple.com wrote: I'm pleased to see that dovecot-2.2 includes support for RFCs 4467 and 4469 (URLAUTH and CATENATE). I have begun testing these features (in dovecot-2.2.1) and comparing their functionality against Apple's implementation.

Re: [Dovecot] CATENATE allows empty messages

2013-05-02 Thread Timo Sirainen
On 30.4.2013, at 0.12, Timo Sirainen t...@iki.fi wrote: On 29.4.2013, at 21.40, Mike Abbott michael.abb...@apple.com wrote: Dovecot-2.2.1 allows empty messages to be APPENDed when using CATENATE: b1 append inbox catenate (text {0+} ) b1 OK [APPENDUID 1366726248 12] Append completed.

Re: [Dovecot] imap crash during URLFETCH

2013-05-02 Thread Timo Sirainen
On 30.4.2013, at 4.07, Mike Abbott michael.abb...@apple.com wrote: Dovecot-2.2.1's imap processes crash reliably when they use an IMAP URL with an invalid access specifier. A backtrace and some debug output follows. The crash is likely caused by imap_urlauth_fetch_parsed() returning 0

Re: [Dovecot] XFS vs EXT4 for mail storage

2013-05-02 Thread Reindl Harald
Am 02.05.2013 17:31, schrieb Charles Marcus: On 2013-05-02 10:45 AM, Reindl Harald h.rei...@thelounge.net wrote: man mount is very generic and doe snot cover any option there is also no man mount.ntfs while mount.ntfs command exists ? man mount, at least mine, shows first the FILESYSTEM

Re: [Dovecot] Slow DNS warnings (proxy/auth)

2013-05-02 Thread Timo Sirainen
On 26.4.2013, at 11.57, Christian Balzer ch...@gol.com wrote: Apr 25 17:19:09 pp11 dovecot: auth: Warning: proxy(redac...@gol.com,xx.xx.xx.xx,26hUEivbfQBlMrMS): DNS lookup for mb04.dentaku.gol.com took 5.002 s --- Now this machine at that time was handling a load of about 2 logins per

Re: [Dovecot] search and UTF-8 normalization forms (NFD)

2013-05-02 Thread Timo Sirainen
On 25.4.2013, at 16.39, Lutz Preßler lutz.press...@sernet.de wrote: on a system with dovecot 2.2 I've got a mailbox containing multiple mails from a person called Krüger, but From: header encoded differently. Some are encoded in UTF-8 normalization form decomposed (as used by Mac OSX), that

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 Mike Abbott
It's the inconsistency that bothers me. Plain old APPEND doesn't allow empty messages but CATENATE does?

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

[Dovecot] Tuning!

2013-05-02 Thread Rafael VOlpe TI
Hi Buddies, I have 2 servers running dovecot + postfix for pop/imap users. The users mailbox are in a Nfs storage. The load of server is ranging at 3.0 to 15.0. I really dont know what happened.. I read a lot about tuning of dovecot, and the changes are applied, how you can see. The Hardware of

Re: [Dovecot] Dovecot vs MBox

2013-05-02 Thread Gregory Sloop
SH On 4/30/2013 1:07 PM, Kyle Wheeler wrote: On Tuesday, April 30 at 08:04 AM, quoth Gregory Sloop: Any ideas where to look next, what I might do to force dovecot to forget message ID's etc - that might force it to read the whole mailbox file again? Find the dovecot.index files for that

Re: [Dovecot] XFS vs EXT4 for mail storage

2013-05-02 Thread Gedalya
On 05/02/2013 10:21 AM, Charles Marcus wrote: On 2013-05-02 9:51 AM, Alessio Cecchi ales...@skye.it wrote: Il 02/05/2013 15:17, Charles Marcus ha scritto: man mount doesn't show delaylog, nobarrier or noquota as valid mount options... ? Yes, they are available on RHEL 6.x. since 2.6.35,

Re: [Dovecot] Tuning!

2013-05-02 Thread Gedalya
Dovecot is probably waiting for your storage to respond, you should probably take a more detailed look at your NFS link and at the conditions on the NFS server side. On 05/02/2013 01:00 PM, Rafael VOlpe TI wrote: Hi Buddies, I have 2 servers running dovecot + postfix for pop/imap users. The

Re: [Dovecot] Tuning!

2013-05-02 Thread Robert Schetterer
Am 02.05.2013 19:54, schrieb Gedalya: Dovecot is probably waiting for your storage to respond, you should probably take a more detailed look at your NFS link and at the conditions on the NFS server side. On 05/02/2013 01:00 PM, Rafael VOlpe TI wrote: Hi Buddies, I have 2 servers running

Re: [Dovecot] sieve: deleteheader sometimes fails [bug]

2013-05-02 Thread Stephan Bosch
On 5/1/2013 9:23 PM, Stephan Bosch wrote: On 5/1/2013 4:58 PM, Daniel Piddock wrote: On 01/05/13 14:51, Stephan Bosch wrote: Hi Stephan, I'm totally sure. The mails end up with two Subject headers so the addheader line is executing correctly. The bug doesn't even need the fileinto and stop

Re: [Dovecot] XFS vs EXT4 for mail storage

2013-05-02 Thread lst_hoe02
Zitat von Charles Marcus cmar...@media-brokers.com: On 2013-05-02 9:12 AM, lst_ho...@kwsoft.de lst_ho...@kwsoft.de wrote: IMHO if you say VM than the filesystem inside the guest doesn't matter that much. Well... my understanding is that things can break rather badly if you use reiserfs

Re: [Dovecot] XFS vs EXT4 for mail storage

2013-05-02 Thread Charles Marcus
On 2013-05-02 4:18 PM, lst_ho...@kwsoft.de lst_ho...@kwsoft.de wrote: For ESXi with its own filesystem (vmfs) it still shouldn't matter that much. As said the basic task of the Hypervisor is to abstract the hardware used, so no chance for the guest OS to really optimize for the hardware used.

[Dovecot] URLAUTH assertion failures in 2.2.1

2013-05-02 Thread Mike Abbott
Testing URLAUTH in dovecot-2.2.1 plus Timo's recent CATENATE and URLAUTH fixes eventually trips some assertions. No simple sequence of commands always hits these; they appear to be timing-dependent. The first one is: May 02 17:47:17 imap(pid 50490 user submit): Panic: file imap-client.c: line

[Dovecot] CATENATE mis-reads literal after bad URL

2013-05-02 Thread Mike Abbott
Dovecot-2.2.1 plus Timo's recent CATENATE and URLAUTH fixes mishandles literals after bad URLs. (As before remember that the foobar text below is really foobarCRLF hence the length of 8. Also, last time some MTA discarded an important single leading space character in the snippet I quoted so

Re: [Dovecot] CATENATE doesn't support literal+ url

2013-05-02 Thread Mike Abbott
Dovecot-2.2.1 does not appear to support URLs specified via non-synchronizing literals http://hg.dovecot.org/dovecot-2.2/rev/8e5ff6809d75 should fix this Looks better, thanks.

Re: [Dovecot] CATENATE allows zero parts

2013-05-02 Thread Mike Abbott
CATENATE with no message parts works but, IMO, shouldn't: Changed: http://hg.dovecot.org/dovecot-2.2/rev/5e2fa592c268 Confirmed. Thanks.

Re: [Dovecot] imap crash during URLFETCH

2013-05-02 Thread Mike Abbott
without having set *mpurl_r to NULL Right, fixed: http://hg.dovecot.org/dovecot-2.2/rev/24aa10efe132 That fixes it, thanks, but I wonder if it's incomplete? I notice that these also sometimes don't set *mpurl_r: imap_msgpart_url_create() imap_msgpart_url_parse() imap_urlauth_fetch() That

[Dovecot] quota and dict

2013-05-02 Thread Jeff Gustafson
I have a question about using dict and quotas. I want dovecot to send quota queries to a custom dict server over a socket. I'm doing this because I can't do group quotas based on domain since a customer can have each of their users associated with different domains under a single account.

Re: [Dovecot] XFS vs EXT4 for mail storage

2013-05-02 Thread Michael Weissenbacher
Hi Marcus! Should I go with EXT4? Or XFS with just the defaults? Or XFS with one or more tuned parameters? ... I'm not using quotas, and understand what inode64 does and am fine with that, but what I'm still unsure of for a VM environment is the delaylog and nobarrier options. I've been

Re: [Dovecot] XFS vs EXT4 for mail storage

2013-05-02 Thread Stan Hoeppner
On 5/2/2013 6:16 AM, Charles Marcus wrote: ... I've decided to use mdbox for storage (been using maildir), and will enable SIS for attachments. So, anyone (Stan?) have any suggestions? Should I go with EXT4? Or XFS with just the defaults? Or XFS with one or more tuned parameters?