[Dovecot] Upload / migrate old mails: iPhone shows oldest mails first

2012-12-19 Thread Denny Schierz
hi, I've got a very strange behavior: I uploaded old mails from a local folder (thunderbird / osx) to my Dovecot (Debian Squeeze) and now, the iphone (ios6) show the oldest mails first. The only thing I can imagine is, that Dovecot got from Thunderbird the newest mails first and last the old

[Dovecot] Path for fixing sequence lookup of newly created mails in transaction view

2012-12-19 Thread Potapov Sergey
Hi! It seem that tview_lookup_seq_range works incorret, if I request uids from 3 to 3, and I have new uids 1,2,4,5 it will return seq for uid=4. Fixing patch is included as attach. -- Sergey Potapov # HG changeset patch # User lion@ubuntu.ubuntu-domain # Date 1354855835 -14400 # Node ID

[Dovecot] Dsync help, new attempt

2012-12-19 Thread Torbjorn Astlind
I observe that dsync fills Maildir correctly incl. cur, if I delete Maildir just before dsync runs. Can the failed mbox to Maildir conversion be caused by dovecot creating Maildir automatically if a client connects to dovecot? Should dovecot be shutdown when running dsync? All the best,

Re: [Dovecot] Too many imap connections in state idling

2012-12-19 Thread Urban Loesch
Can you see other strange symptoms on that machine? For example very high system load but not high I/O? We had similar issues with imap processes that are hanging in D state some months ago. The problem was, or is a bug in the inotify mechanism in the linux kernel. Not shure if the bug has

Re: [Dovecot] dovecot-lda (2.1.12) segfaults

2012-12-19 Thread Joseph Tam
Timo Sirainen writes: Can you still reproduce this in any way? Yes, I have 6 sets of user INBOX index caches that will crash dovecot-lda. The actual content of the INBOX is irrelevant (crash probably happens before INBOX is opened). I found two bugs, would be nice to know if they solve it:

Re: [Dovecot] dovecot-lda (2.1.12) segfaults

2012-12-19 Thread Timo Sirainen
On 19.12.2012, at 12.47, Joseph Tam jtam.h...@gmail.com wrote: Can you still reproduce this in any way? Yes, I have 6 sets of user INBOX index caches that will crash dovecot-lda. The actual content of the INBOX is irrelevant (crash probably happens before INBOX is opened). Could you send

Re: [Dovecot] dovecot-lda (2.1.12) segfaults

2012-12-19 Thread Timo Sirainen
On 19.12.2012, at 12.59, Timo Sirainen t...@iki.fi wrote: On 19.12.2012, at 12.47, Joseph Tam jtam.h...@gmail.com wrote: Can you still reproduce this in any way? Yes, I have 6 sets of user INBOX index caches that will crash dovecot-lda. The actual content of the INBOX is irrelevant (crash

Re: [Dovecot] dovecot index errors since 2.1.12

2012-12-19 Thread Morten Stevens
On 19.12.2012 00:22, Morten Stevens wrote: On 18.12.2012 23:44, Timo Sirainen wrote: On 19.12.2012, at 0.40, Morten Stevens mstev...@imt-systems.com wrote: Dec 10 15:21:04 mail dovecot: imap(u...@example.org): Error: Cached message size smaller than expected (5010 8192) Dec 10 15:21:04 mail

Re: [Dovecot] Path for fixing sequence lookup of newly created mails in transaction view

2012-12-19 Thread Timo Sirainen
On Wed, 2012-12-19 at 09:02 +, Potapov Sergey wrote: It seem that tview_lookup_seq_range works incorret, if I request uids from 3 to 3, and I have new uids 1,2,4,5 it will return seq for uid=4. Fixing patch is included as attach. Thanks. I committed it in two parts:

Re: [Dovecot] Upload / migrate old mails: iPhone shows oldest mails first

2012-12-19 Thread Timo Sirainen
On Wed, 2012-12-19 at 09:49 +0100, Denny Schierz wrote: hi, I've got a very strange behavior: I uploaded old mails from a local folder (thunderbird / osx) to my Dovecot (Debian Squeeze) and now, the iphone (ios6) show the oldest mails first. The only thing I can imagine is, that Dovecot got

Re: [Dovecot] dovecot index errors since 2.1.12

2012-12-19 Thread Timo Sirainen
On 19.12.2012, at 15.35, Morten Stevens mstev...@imt-systems.com wrote: I see the error again. (this is a newly created folder) Dec 19 14:20:45 mail dovecot: imap-login: Login: user=us...@example.org, method=PLAIN, rip=109.90.118.156, lip=81.30.145.131, mpid=16599, TLS,

Re: [Dovecot] dovecot index errors since 2.1.12

2012-12-19 Thread Morten Stevens
On 19.12.2012 16:15, Timo Sirainen wrote: On 19.12.2012, at 15.35, Morten Stevens mstev...@imt-systems.com wrote: I see the error again. (this is a newly created folder) Dec 19 14:20:45 mail dovecot: imap-login: Login: user=us...@example.org, method=PLAIN, rip=109.90.118.156,

[Dovecot] environment variables not set

2012-12-19 Thread Nikolai Tsvetkov
hi, all! I try to use relay-ctrl with dovecot's imap, but with no luck. I think that the problem is with environment variables. Here are some information: dovecot --version 2.1.12 dovecot -n # 2.1.12: /usr/local/etc/dovecot/dovecot.conf # OS: Linux 3.2.29-smp i686 Slackware 14.0 auth_mechanisms

Re: [Dovecot] environment variables not set

2012-12-19 Thread Nikolai Tsvetkov
Sorry for double posting. :( So, when I export environment variables, received in dovecot-settcpremoteip, there are no USER, IP etc., but only standard SLACKWARE variables. I don't know whether it is related, but dovecot.log is full of such errors (in fact on every login): Dec 19 17:36:51 imap:

Re: [Dovecot] environment variables not set

2012-12-19 Thread Timo Sirainen
On 19.12.2012, at 17.37, Nikolai Tsvetkov k...@cybcom.net wrote: I try to use relay-ctrl with dovecot's imap, but with no luck. I think that the problem is with environment variables. Here are some information: dovecot --version 2.1.12 service imap { executable = /usr/local/bin/envdir

Re: [Dovecot] environment variables not set

2012-12-19 Thread Nikolai Tsvetkov
Thank you! I tried, but only with first line and it didn't work. Now everything is fine. Here is a snippet if anyone gets in trouble like me: . service imap { executable = imap relayctl } service relayctl { executable = script-login /usr/local/bin/envdir

[Dovecot] migration to dovecot pop3

2012-12-19 Thread Rajesh M
hi i am planning to migrate from qmail pop3 to dovecot pop3 the number of users on the server is large over 5000 also data volume is large - over 3.5 tb -- ie many users several 1000s of emails in their inbox email clients used are outlook / outlook express / windows mail, etc my questions

Re: [Dovecot] namespace subscription problem

2012-12-19 Thread Holger Hegmanns
On Fri, 2012-12-07 at 04:17 +0100, Holger Hegmanns wrote: Hi all, my problem seems to be a cosmetic one (again). According to the docs: subscriptions: yes (default) if this namespace should handle its own subscriptions. If no, then the first parent namespace with subscriptions=yes will

[Dovecot] setting mail_home and vacation

2012-12-19 Thread Andreas Meyer
Hello! dovecot version 2.1.7 I set up vacation with sieve. We have mboxes and maildirs and in dovecot.conf mail_location = mbox:/var/spool/vhosts/%d/dovecotprivate/%n:INBOX=/var/spool/vhosts/%d/%n Error: User arc...@xyz.de doesn't have home dir set, disabling duplicate database Dec 19

Re: [Dovecot] Maildir hardlinks with sieve

2012-12-19 Thread Stephan Bosch
On 12/11/2012 11:42 PM, Stephan Bosch wrote: On 12/9/2012 10:12 PM, Benedetto Vassallo wrote: Def. Quota Benedetto Vassallo benedetto.vassa...@unipa.it: Hi all, As I had no response, I suppose there is no way to have maildir hardlinks work if I set up sieve. Is that correct? Apparently,

Re: [Dovecot] setting mail_home and vacation

2012-12-19 Thread Ben Morrow
At 8PM +0100 on 19/12/12 you (Andreas Meyer) wrote: I set up vacation with sieve. We have mboxes and maildirs and in dovecot.conf mail_location = mbox:/var/spool/vhosts/%d/dovecotprivate/%n:INBOX=/var/spool/vhosts/%d/%n Error: User arc...@xyz.de doesn't have home dir set, disabling

Re: [Dovecot] Maildir hardlinks with sieve

2012-12-19 Thread Benedetto Vassallo
Stephan Bosch step...@rename-it.nl ha scritto: On 12/11/2012 11:42 PM, Stephan Bosch wrote: On 12/9/2012 10:12 PM, Benedetto Vassallo wrote: Def. Quota Benedetto Vassallo benedetto.vassa...@unipa.it: Hi all, As I had no response, I suppose there is no way to have maildir hardlinks work

Re: [Dovecot] Maildir hardlinks with sieve

2012-12-19 Thread Timo Sirainen
On 19.12.2012, at 23.16, Benedetto Vassallo benedetto.vassa...@unipa.it wrote: As I had no response, I suppose there is no way to have maildir hardlinks work if I set up sieve. Is that correct? Apparently, not at this time. I think it should be fixable, but that will require some

Re: [Dovecot] mail_log_events seem to be broken in HG 2.2

2012-12-19 Thread Thomas Leuxner
Am 18.12.2012 um 21:35 schrieb Timo Sirainen t...@iki.fi: On Sun, 2012-12-16 at 10:17 +0100, Thomas Leuxner wrote: It seems along the way of 2.2alpha1 'mail_log_events' quietly stopped working. They don't log expunges etc. anymore. […] mail_log_events = expunge mailbox_delete Dunno.

Re: [Dovecot] setting mail_home and vacation

2012-12-19 Thread Andreas Meyer
Ben Morrow b...@morrow.me.uk wrote: When I set mail_home = mbox:/var/spool/vhosts/%d/%n:INBOX=/var/spool/vhosts/%d/%n I get this for mboxes in the log: Error: user arc...@xyz.de: Relative home directory paths not supported:

Re: [Dovecot] setting mail_home and vacation

2012-12-19 Thread Ben Morrow
At 11PM +0100 on 19/12/12 you (Andreas Meyer) wrote: Ben Morrow b...@morrow.me.uk wrote: When I set mail_home = mbox:/var/spool/vhosts/%d/%n:INBOX=/var/spool/vhosts/%d/%n I get this for mboxes in the log: Error: user arc...@xyz.de: Relative home directory paths not

Re: [Dovecot] setting mail_home and vacation

2012-12-19 Thread Andreas Meyer
Ben Morrow b...@morrow.me.uk wrote: mail_home = /var/spool/vhosts/%d/%n ok, done that. I get this in Error: chdir(/var/spool/vhosts/xyz.de/archiv) failed: Not a directory Error: sieve: failed to stat sieve script: stat(/var/spool/vhosts/xyz.de/archiv/.dovecot.sieve) failed:

Re: [Dovecot] setting mail_home and vacation

2012-12-19 Thread Ben Morrow
At 12AM +0100 on 20/12/12 you (Andreas Meyer) wrote: Ben Morrow b...@morrow.me.uk wrote: Where is that user's home directory, then? (Where is its .dovecot.sieve?) That is the path that mail_home should be set to. It's /var/spool/vhosts/xyz.de/archiv . It's one file, a mbox. There is no

Re: [Dovecot] setting mail_home and vacation

2012-12-19 Thread Daniel Parthey
Andreas Meyer wrote: Ben Morrow b...@morrow.me.uk wrote: mail_home = /var/spool/vhosts/%d/%n ok, done that. I get this in Error: chdir(/var/spool/vhosts/xyz.de/archiv) failed: Not a directory Error: sieve: failed to stat sieve script:

Re: [Dovecot] migration to dovecot pop3

2012-12-19 Thread Joseph Tam
Rajesh M writes: i am planning to migrate from qmail pop3 to dovecot pop3 the number of users on the server is large over 5000 ... also data volume is large - over 3.5 tb -- ie many users several 1000s of emails in their inbox If you stay on the list, you might find some people here whose

Re: [Dovecot] dovecot-lda (2.1.12) segfaults

2012-12-19 Thread Joseph Tam
Timo Sirainen writes: Date: Wed, 19 Dec 2012 12:59:54 +0200 Could you send me those files? Would be the easiest and quickest way to get it fixed :) Date: Wed, 19 Dec 2012 15:02:25 +0200 Okay, fixed: http://hg.dovecot.org/dovecot-2.1/rev/32ce915e046a Yes it is does, and it stops crashing

[Dovecot] Director and forwarding LDAP user as Master user

2012-12-19 Thread Alexandr Sabitov
Hello guys, Would you be able to help me with this little issue. I bet someone has the same config so if you can copy-paste it I will very appreciate it. So main idea is to enable Dovecot director to authenticate a LDAP user with plain or encrypted password and send the user to back-end

Re: [Dovecot] imap dumps core when connecting with mutt

2012-12-19 Thread Arthur Titeica
Hello, Thanks for the reply. On Tuesday 18 December 2012 21:39:57 Timo Sirainen wrote: On Sun, 2012-12-09 at 19:03 +0200, Arthur Titeica wrote: Hello, I'm trying to investigate a problem with dovecot/imap dumping core when connecting connecting mith mutt (everything else works).