[Dovecot] virtual folder - crash while searching

2012-08-01 Thread Matthias Rieber
Hi, I've upgraded from dovecot 2.0 to 2.1. When I perform a header search in a virtual folder dovecot crashes. Here's the stacktrace: http://pastebin.com/urSDDzku Regards, Matthias

[Dovecot] imap(xxxxxxxx): Error: opendir(/user/xxxxxxxx/.imap) failed: No such file or directory

2012-08-01 Thread Frank Bonnet
hello I see this message in the dovecot error log every time a user connect to IMAP service. imap(): Error: opendir(/user//.imap) failed: No such file or directory In the server's config I've this mail_location = mbox:%h/:INBOX=/var/mail/%u:INDEX=/var/spool/dovecot/index/%u

[Dovecot] Erroneous operation not permitted when deleting mailbox with mdbox

2012-08-01 Thread Nikolai Schupbach
I'm seeing the following error in our logs when removing mailboxes (we are using mdbox and dovecot 2.1.8): Aug 1 20:03:36 msgsrv dovecot: imap(t...@test.com): Error: stat(/mailstore/domains/test.com/test/mdbox/mailboxes/Spam) failed: Operation not permitted Aug 1 20:03:36 msgsrv dovecot:

Re: [Dovecot] ntlm auth / usernames with white spaces

2012-08-01 Thread Matthias Lay
works the same way! at least for ntlm but should do the same for spnego. thx. didnt see your strarray join function. On Tue, 2012-07-31 at 22:10 +0300, Timo Sirainen wrote: On 27.7.2012, at 17.32, Matthias Lay wrote: we experienced some problems with white spaces in usernames (this was

Re: [Dovecot] virtual folder - crash while searching

2012-08-01 Thread Charles Marcus
On 2012-08-01 2:09 AM, Matthias Rieber ml-dove...@zu-con.org wrote: I've upgraded from dovecot 2.0 to 2.1. When I perform a header search in a virtual folder dovecot crashes. Sorry, our crystal ball is broken, although Timo can sometimes get his to work, how I don't know... ;) doveconf -n

Re: [Dovecot] imap(xxxxxxxx): Error: opendir(/user/xxxxxxxx/.imap) failed: No such file or directory

2012-08-01 Thread Charles Marcus
Please help us help you. Always provide bare minimum system/config/error details, like: Full doveconf -n output (don't 'describe' your config with a one line copy/paste from some random config file) Full (untrimmed) logs exhibiting the problem On 2012-08-01 3:19 AM, Frank Bonnet

Re: [Dovecot] doveadm director move behaviour

2012-08-01 Thread Timo Sirainen
On 1.8.2012, at 7.32, Daniel Parthey wrote: Do you see any errors in logs? Especially: director: Error: connect(ipc) failed: Permission denied Looks very familiar to me. I'm having the same problem as Angel with director move that I have to kick the user logged into the proxy. Plus

Re: [Dovecot] imap(xxxxxxxx): Error: opendir(/user/xxxxxxxx/.imap) failed: No such file or directory

2012-08-01 Thread Frank Bonnet
Yes sorry I forgot :-( See attached the doveconf -n output Thanks On 08/01/2012 12:56 PM, Charles Marcus wrote: Please help us help you. Always provide bare minimum system/config/error details, like: Full doveconf -n output (don't 'describe' your config with a one line copy/paste from

Re: [Dovecot] imap(xxxxxxxx): Error: opendir(/user/xxxxxxxx/.imap) failed: No such file or directory

2012-08-01 Thread Charles Marcus
On 2012-08-01 7:03 AM, Frank Bonnet f.bon...@esiee.fr wrote: Yes sorry I forgot :-( See attached the doveconf -n output Logs? On 08/01/2012 12:56 PM, Charles Marcus wrote: Please help us help you. Always provide bare minimum system/config/error details, like: Full doveconf -n output

[Dovecot] can't recieve emails to inbox

2012-08-01 Thread Rafael Nathan
Hi, I am unable to send emails to virtual users I created. Here is my output for dovecot -n # 1.0.7: /etc/dovecot.conf log_path: /var/log/dovecot.log info_log_path: /var/log/dovecot-info.log ssl_disable: yes login_dir: /var/run/dovecot/login login_executable(default):

Re: [Dovecot] zlib plugin maildir broken ?/ Cached message size smaller than expected

2012-08-01 Thread Robert Schetterer
Am 01.08.2012 07:36, schrieb Robert Schetterer: Am 31.07.2012 23:44, schrieb Timo Sirainen: On 1.8.2012, at 0.29, Robert Schetterer wrote: Cached message size smaller than expected and Maildir filename has wrong S value and Corrupted index cache file in dove 2.1.8 i can reproduce the

Re: [Dovecot] imap(xxxxxxxx): Error: opendir(/user/xxxxxxxx/.imap) failed: No such file or directory

2012-08-01 Thread Frank Bonnet
On 08/01/2012 01:16 PM, Charles Marcus wrote: On 2012-08-01 7:03 AM, Frank Bonnet f.bon...@esiee.fr wrote: Yes sorry I forgot :-( See attached the doveconf -n output Logs? All lines are IDENTICALS except the user id I put MY login but it happen for ALL users when they connect Aug 01

Re: [Dovecot] Erroneous operation not permitted when deleting mailbox with mdbox

2012-08-01 Thread Timo Sirainen
On 1.8.2012, at 11.13, Nikolai Schupbach wrote: I'm seeing the following error in our logs when removing mailboxes (we are using mdbox and dovecot 2.1.8): Aug 1 20:03:36 msgsrv dovecot: imap(t...@test.com): Error: stat(/mailstore/domains/test.com/test/mdbox/mailboxes/Spam) failed:

Re: [Dovecot] imap(xxxxxxxx): Error: opendir(/user/xxxxxxxx/.imap) failed: No such file or directory

2012-08-01 Thread Timo Sirainen
On 1.8.2012, at 14.21, Frank Bonnet wrote: Aug 01 13:06:09 imap(bonnetf): Error: opendir(/user/bonnetf/.imap) failed: No such file or directory I don't see any obvious way for this to happen. Can you reproduce it by running imap process directly and talking imap protocol? Something like this

Re: [Dovecot] imap(xxxxxxxx): Error: opendir(/user/xxxxxxxx/.imap) failed: No such file or directory

2012-08-01 Thread Frank Bonnet
On 08/01/2012 01:27 PM, Timo Sirainen wrote: On 1.8.2012, at 14.21, Frank Bonnet wrote: Aug 01 13:06:09 imap(bonnetf): Error: opendir(/user/bonnetf/.imap) failed: No such file or directory I don't see any obvious way for this to happen. Can you reproduce it by running imap process directly

Re: [Dovecot] imap(xxxxxxxx): Error: opendir(/user/xxxxxxxx/.imap) failed: No such file or directory

2012-08-01 Thread Frank Bonnet
On 08/01/2012 01:27 PM, Timo Sirainen wrote: On 1.8.2012, at 14.21, Frank Bonnet wrote: Aug 01 13:06:09 imap(bonnetf): Error: opendir(/user/bonnetf/.imap) failed: No such file or directory I don't see any obvious way for this to happen. Can you reproduce it by running imap process directly

Re: [Dovecot] zlib plugin maildir broken ?/ Cached message size smaller than expected

2012-08-01 Thread Timo Sirainen
See what you get by running the maildir through: http://dovecot.org/tools/maildir-size-check.sh

Re: [Dovecot] imap(xxxxxxxx): Error: opendir(/user/xxxxxxxx/.imap) failed: No such file or directory

2012-08-01 Thread Timo Sirainen
On Wed, 2012-08-01 at 14:00 +0200, Frank Bonnet wrote: where the make gdb stop will probably work if you do something like: a list * b lsub * c select inbox if not, check what IMAP commands your IMAP client sends when it fails. http://wiki2.dovecot.org/Debugging/Rawlog I

Re: [Dovecot] imap(xxxxxxxx): Error: opendir(/user/xxxxxxxx/.imap) failed: No such file or directory

2012-08-01 Thread Frank Bonnet
On 08/01/2012 02:07 PM, Timo Sirainen wrote: On Wed, 2012-08-01 at 14:00 +0200, Frank Bonnet wrote: where the make gdb stop will probably work if you do something like: a list * b lsub * c select inbox if not, check what IMAP commands your IMAP client sends when it fails.

Re: [Dovecot] zlib plugin maildir broken ?/ Cached message size smaller than expected

2012-08-01 Thread Robert Schetterer
Am 01.08.2012 14:06, schrieb Timo Sirainen: See what you get by running the maildir through: http://dovecot.org/tools/maildir-size-check.sh tons of i.e Freunde/cur/1321795242.M359794P29783.mail02,S=2647728:2,S: Wrong S=2647728 value, should be S=3838835 -- Best Regards MfG Robert

Re: [Dovecot] zlib plugin maildir broken ?/ Cached message size smaller than expected

2012-08-01 Thread Timo Sirainen
On 1.8.2012, at 15.12, Robert Schetterer wrote: Am 01.08.2012 14:06, schrieb Timo Sirainen: See what you get by running the maildir through: http://dovecot.org/tools/maildir-size-check.sh tons of i.e Freunde/cur/1321795242.M359794P29783.mail02,S=2647728:2,S: Wrong S=2647728 value,

Re: [Dovecot] imap(xxxxxxxx): Error: opendir(/user/xxxxxxxx/.imap) failed: No such file or directory

2012-08-01 Thread Timo Sirainen
On 1.8.2012, at 15.10, Frank Bonnet wrote: On 08/01/2012 02:07 PM, Timo Sirainen wrote: On Wed, 2012-08-01 at 14:00 +0200, Frank Bonnet wrote: where the make gdb stop will probably work if you do something like: a list * b lsub * c select inbox if not, check what IMAP commands your

Re: [Dovecot] zlib plugin maildir broken ?/ Cached message size smaller than expected

2012-08-01 Thread Robert Schetterer
Am 01.08.2012 14:17, schrieb Timo Sirainen: On 1.8.2012, at 15.12, Robert Schetterer wrote: Am 01.08.2012 14:06, schrieb Timo Sirainen: See what you get by running the maildir through: http://dovecot.org/tools/maildir-size-check.sh tons of i.e

Re: [Dovecot] imap(xxxxxxxx): Error: opendir(/user/xxxxxxxx/.imap) failed: No such file or directory

2012-08-01 Thread Frank Bonnet
On 08/01/2012 02:19 PM, Timo Sirainen wrote: On 1.8.2012, at 15.10, Frank Bonnet wrote: On 08/01/2012 02:07 PM, Timo Sirainen wrote: On Wed, 2012-08-01 at 14:00 +0200, Frank Bonnet wrote: where the make gdb stop will probably work if you do something like: a list * b lsub * c select inbox

Re: [Dovecot] zlib plugin maildir broken ?/ Cached message size smaller than expected

2012-08-01 Thread Robert Schetterer
Am 01.08.2012 14:25, schrieb Robert Schetterer: Am 01.08.2012 14:17, schrieb Timo Sirainen: On 1.8.2012, at 15.12, Robert Schetterer wrote: Am 01.08.2012 14:06, schrieb Timo Sirainen: See what you get by running the maildir through: http://dovecot.org/tools/maildir-size-check.sh tons of

Re: [Dovecot] can't recieve emails to inbox

2012-08-01 Thread Thomas Leuxner
On Wed, Aug 01, 2012 at 04:48:01PM +0530, Rafael Nathan wrote: I am unable to send emails to virtual users I created. Here is my output for dovecot -n I sent an email to us...@mydomain.com from gmail.com but can view it anywhere. Your MTA logs will most likely show. Anyway this version is

Re: [Dovecot] zlib plugin maildir broken ?/ Cached message size smaller than expected

2012-08-01 Thread Robert Schetterer
Am 01.08.2012 14:58, schrieb Timo Sirainen: On 1.8.2012, at 15.43, Robert Schetterer wrote: If you don't mind the messages' IMAP UIDs changing, you could give the -f parameter to fix those. i will try things couldn not get more worst ./maildir-size-check.sh -f maildir is an unknown

Re: [Dovecot] imap(xxxxxxxx): Error: opendir(/user/xxxxxxxx/.imap) failed: No such file or directory

2012-08-01 Thread Frank Bonnet
On 08/01/2012 02:19 PM, Timo Sirainen wrote: On 1.8.2012, at 15.10, Frank Bonnet wrote: On 08/01/2012 02:07 PM, Timo Sirainen wrote: On Wed, 2012-08-01 at 14:00 +0200, Frank Bonnet wrote: where the make gdb stop will probably work if you do something like: a list * b lsub * c select inbox

Re: [Dovecot] virtual folder - crash while searching

2012-08-01 Thread Timo Sirainen
On 1.8.2012, at 9.09, Matthias Rieber wrote: I've upgraded from dovecot 2.0 to 2.1. When I perform a header search in a virtual folder dovecot crashes. Here's the stacktrace: http://pastebin.com/urSDDzku Looks like fts-squat isn't currently compatible with virtual folders. I'd suggest

[Dovecot] v2.1.9 released

2012-08-01 Thread Timo Sirainen
http://dovecot.org/releases/2.1/dovecot-2.1.9.tar.gz http://dovecot.org/releases/2.1/dovecot-2.1.9.tar.gz.sig I've again mostly finished reading and answering most of the mails in Dovecot mailing list. There are a couple annoyingly difficult / time consuming bugreport mails that I haven't replied

Re: [Dovecot] doveadm director move behaviour

2012-08-01 Thread Daniel Parthey
Timo Sirainen wrote: On 1.8.2012, at 7.32, Daniel Parthey wrote: Do you see any errors in logs? Especially: director: Error: connect(ipc) failed: Permission denied Looks very familiar to me. I'm having the same problem as Angel with director move that I have to kick the user

Re: [Dovecot] doveadm director move behaviour

2012-08-01 Thread Timo Sirainen
On 1.8.2012, at 21.09, Daniel Parthey wrote: I added a note about it to http://wiki2.dovecot.org/Director#Other_settings doveadm director move needs to be able to connect to the ipc socket. Make sure the director process can do it. service ipc { unix_listener ipc { user = dovecot

Re: [Dovecot] v2.1.9 released

2012-08-01 Thread ml
the recurring problems of these minor errors that often appear timesmap. I almost successful make them disappear with an ultra clean install. they appearing more generally for L INBOX Trash Le 2012-08-01 19:58, Timo Sirainen a écrit : http://dovecot.org/releases/2.1/dovecot-2.1.9.tar.gz

Re: [Dovecot] virtual folder - crash while searching

2012-08-01 Thread Matthias Rieber
Hello, Am 01.08.2012 19:24, schrieb Timo Sirainen: On 1.8.2012, at 9.09, Matthias Rieber wrote: I've upgraded from dovecot 2.0 to 2.1. When I perform a header search in a virtual folder dovecot crashes. Here's the stacktrace: http://pastebin.com/urSDDzku Looks like fts-squat isn't

Re: [Dovecot] virtual folder - crash while searching

2012-08-01 Thread Timo Sirainen
On 1.8.2012, at 21.13, Matthias Rieber wrote: Is lucence the better choice? According to the wiki Solr seems to be the most preferred solution. Solr and Lucene both work. Solr has a newer Lucene version, but it requires running a Solr server.

Re: [Dovecot] v2.1.9 released

2012-08-01 Thread Timo Sirainen
On 1.8.2012, at 21.12, ml wrote: the recurring problems of these minor errors that often appear timesmap. I almost successful make them disappear with an ultra clean install. they appearing more generally for L INBOX Trash Sorry, but that doesn't make any sense. What errors?

Re: [Dovecot] virtual folder - crash while searching

2012-08-01 Thread Matthias Rieber
Hi, Am 01.08.2012 19:24, schrieb Timo Sirainen: On 1.8.2012, at 9.09, Matthias Rieber wrote: I've upgraded from dovecot 2.0 to 2.1. When I perform a header search in a virtual folder dovecot crashes. Here's the stacktrace: http://pastebin.com/urSDDzku Looks like fts-squat isn't currently

[Dovecot] doveadm purge -A via doveadm-proxy director fails after some users

2012-08-01 Thread Daniel Parthey
Daniel Parthey wrote: Timo Sirainen wrote: On 29.6.2012, at 19.21, Daniel Parthey wrote: Jun 29 15:40:31 10.129.3.249 dovecot: doveadm(use...@domain1.example.org): Error: user use...@domain1.example.org: Error reading configuration: net_connect_unix(/var/run/dovecot/config) failed:

Re: [Dovecot] virtual folder - crash while searching

2012-08-01 Thread Timo Sirainen
On 1.8.2012, at 22.21, Matthias Rieber wrote: here are the crashes with fts_solr: .. Crash 1 Aug 1 21:05:40 smtp dovecot: imap(matthias): Error: fts_solr: Lookup failed: 413 FULL head The crash happens because the Solr lookup failed. I don't know what this Solr error means. Anyway, the

Re: [Dovecot] doveadm purge -A via doveadm-proxy director fails after some users

2012-08-01 Thread Timo Sirainen
On 1.8.2012, at 22.32, Daniel Parthey wrote: Jun 29 15:40:31 10.129.3.249 dovecot: doveadm(use...@domain1.example.org): Error: user use...@domain1.example.org: Error reading configuration: net_connect_unix(/var/run/dovecot/config) failed: Permission denied The change in 2.1.8 didn't fix it

Re: [Dovecot] virtual folder - crash while searching

2012-08-01 Thread Matthias Rieber
Hi, Am 01.08.2012 21:45, schrieb Timo Sirainen: On 1.8.2012, at 22.21, Matthias Rieber wrote: here are the crashes with fts_solr: .. Crash 1 Aug 1 21:05:40 smtp dovecot: imap(matthias): Error: fts_solr: Lookup failed: 413 FULL head The crash happens because the Solr lookup failed. I

Re: [Dovecot] doveadm purge -A via doveadm-proxy director fails after some users

2012-08-01 Thread Timo Sirainen
On 1.8.2012, at 22.56, Timo Sirainen wrote: On 1.8.2012, at 22.32, Daniel Parthey wrote: Jun 29 15:40:31 10.129.3.249 dovecot: doveadm(use...@domain1.example.org): Error: user use...@domain1.example.org: Error reading configuration: net_connect_unix(/var/run/dovecot/config) failed:

Re: [Dovecot] virtual folder - crash while searching

2012-08-01 Thread Timo Sirainen
On 1.8.2012, at 23.06, Matthias Rieber wrote: here are the crashes with fts_solr: .. Crash 1 Aug 1 21:05:40 smtp dovecot: imap(matthias): Error: fts_solr: Lookup failed: 413 FULL head The crash happens because the Solr lookup failed. I don't know what this Solr error means. Anyway,

[Dovecot] Problem with preserving MIME format with Dovecot IMAP and Outlook

2012-08-01 Thread Peter Grimmond

Re: [Dovecot] virtual folder - crash while searching

2012-08-01 Thread Matthias Rieber
Am 01.08.2012 22:16, schrieb Timo Sirainen: On 1.8.2012, at 23.06, Matthias Rieber wrote: here are the crashes with fts_solr: .. Crash 1 Aug 1 21:05:40 smtp dovecot: imap(matthias): Error: fts_solr: Lookup failed: 413 FULL head The crash happens because the Solr lookup failed. I don't

Re: [Dovecot] doveadm purge -A via doveadm-proxy director fails after some users

2012-08-01 Thread Daniel Parthey
Timo Sirainen wrote: On 1.8.2012, at 22.32, Daniel Parthey wrote: Jun 29 15:40:31 10.129.3.249 dovecot: doveadm(use...@domain1.example.org): Error: user use...@domain1.example.org: Error reading configuration: net_connect_unix(/var/run/dovecot/config) failed: Permission denied The

Re: [Dovecot] doveadm purge -A via doveadm-proxy director fails after some users

2012-08-01 Thread Timo Sirainen
On 1.8.2012, at 23.25, Daniel Parthey wrote: The error is still the same config permission denied shown above? I found that also from my server and added a debug patch, but it hasn't crashed yet. Could you try the attached patch and getting a gdb backtrace from the resulting core file? (Or

Re: [Dovecot] Problem with preserving MIME format with Dovecot IMAP and MS Outlook client

2012-08-01 Thread Timo Sirainen
On 1.8.2012, at 23.53, Peter Grimmond wrote: have installed Dovecot 2.0.19 on Ubuntu 12.04 LTS. I have set up a very basic IMAP configuration. I have two different laptops running MS Outlook (one MacOS, one Windows 7) and I have configured both to connect to the Dovecot service. My

Re: [Dovecot] imap(xxxxxxxx): Error: opendir(/user/xxxxxxxx/.imap) failed: No such file or directory

2012-08-01 Thread Daniel Parthey
Timo Sirainen wrote: On Wed, 2012-08-01 at 14:00 +0200, Frank Bonnet wrote: where the make gdb stop will probably work if you do something like: a list * b lsub * c select inbox if not, check what IMAP commands your IMAP client sends when it fails.