Re: [Dovecot] BEWARE: you might be supporting the lists owner!!

2012-05-19 Thread Charles Marcus
On 2012-05-18 10:18 PM, Tamsy dovecot-l...@mohtex.net wrote: This thread has already evolved into an ideological conflict. Better to leave it now since every word, every further argument is just heating the atmosphere up and is scaring other users off the list… Best just to PLONK Noel, as I

Re: [Dovecot] BEWARE: you might be supporting the lists owner!!

2012-05-19 Thread Jerry
On Sat, 19 May 2012 11:36:24 +1000 Noel Butler articulated: non-event? You wouldnt be saying that if certain other operators with their products did that. I've seen you bitch and whinge about far far far less over the years Jerry. Hell I bitch about a lot of things; however, that does not change

[Dovecot] dovecot fts_lucene indexes not being updated

2012-05-19 Thread Joe Beaubien
Hi everyone, I have a dovecot 2.1.6 setup with fts_lucene. The lucene indexes get created/updated fine when I do a manual search thru telnet. However, if I run a webapp that uses the php::imap_search function, the index never gets created/updated. I run indo the same problem with thunderbird

Re: [Dovecot] dovecot fts_lucene indexes not being updated

2012-05-19 Thread Joe Beaubien
Sorry for double-posting, but i forgot to mention something: If I run php::imap_search() AFTER having manually updated the lucene indexes (thru a telnet command), I see a HUGE gain in search performance compared to before creating the lucene indexes (at least 1 order of magnitude). -Joe On

Re: [Dovecot] dovecot fts_lucene indexes not being updated

2012-05-19 Thread Timo Sirainen
On Sat, 2012-05-19 at 13:19 -0400, Joe Beaubien wrote: I have a dovecot 2.1.6 setup with fts_lucene. The lucene indexes get created/updated fine when I do a manual search thru telnet. So you run SEARCH TEXT or SEARCH BODY? However, if I run a webapp that uses the php::imap_search

Re: [Dovecot] Best way to change index location on mdbox

2012-05-19 Thread Timo Sirainen
On Fri, 2012-05-18 at 23:44 +0200, Patrick Westenberg wrote: right now my index directory is part of the users home directory: mail_home = /var/mail/%d/%n mail_location = mdbox:~/mdbox I want the indexes to be stored in a different location: mail_home = /var/mail/%d/%n mail_location =

Re: [Dovecot] Only method=PLAIN

2012-05-19 Thread Timo Sirainen
On Thu, 2012-05-17 at 22:10 +0100, Tim Smith wrote: Interesting - just so I have this clear in my own head. The password scheme is the way the password is encrypted Yes. but the authentication mechanism is whether the password is sent encrypted as well? Something like that. It's about

Re: [Dovecot] Only method=PLAIN

2012-05-19 Thread Timo Sirainen
Sendmail configuration isn't relevant with Dovecot. Set auth_debug_passwords=yes to debug why the authentication isn't working. On Fri, 2012-05-18 at 09:19 +0200, Manuel Fernández Panzuela wrote: Then, which is the correct configuration ? Are my config files ok ? Openldap stores passwords

Re: [Dovecot] Migration between namespaces breaks outlook on mac's

2012-05-19 Thread Timo Sirainen
On Thu, 2012-05-17 at 15:59 +0300, Mark Zealey wrote: We're now migrating customers onto a dovecot-2 platform, switching from Maildir to sdbox (using dsync mirror) changing the namespace at the same time. New namespace configuration looks like (as taken from

[Dovecot] Maildir - Need script to delete old unread messages

2012-05-19 Thread Marc Perkel
Trying to clean out old undead messages from users to reduce disk space. Need a script that will recurse all the user directories and delete all unread email that is over 90 days old. Anyone have that?

Re: [Dovecot] Dovecot usage values differ from actual disk usage

2012-05-19 Thread Timo Sirainen
On Thu, 2012-05-17 at 20:11 +0200, Daniel Parthey wrote: Maybe this is not the original problem, but here is some way to reproduce a similar behaviour. This behavior is intentional. # # Move Email around # # Move Email two times between Trash and

Re: [Dovecot] Best way to change index location on mdbox

2012-05-19 Thread Patrick Westenberg
Timo Sirainen schrieb: You must not lose indexes with mdbox or you'll lose message flags and mails may also end up going to wrong mailboxes. Yes, have been there but this behaviour is confusing me as I find conflicting information in the wiki: http://wiki2.dovecot.org/IndexFiles If index

Re: [Dovecot] Public mailboxes

2012-05-19 Thread Timo Sirainen
On Fri, 2012-05-18 at 14:31 +0200, Frank Bonnet wrote: I'm trying to setup a server with public mailboxes only but I cannot succeed. Do you still have specific users? Do you want the users to have subscriptions? Do you need ACLs? If it's simply a fully public server, you wouldn't really need

Re: [Dovecot] Maildir - Need script to delete old unread messages

2012-05-19 Thread Timo Sirainen
On Sat, 2012-05-19 at 11:41 -0700, Marc Perkel wrote: Trying to clean out old undead messages from users to reduce disk space. Need a script that will recurse all the user directories and delete all unread email that is over 90 days old. Anyone have that? doveadm -A expunge mailbox '*'

Re: [Dovecot] Best way to change index location on mdbox

2012-05-19 Thread Timo Sirainen
On Sat, 2012-05-19 at 20:43 +0200, Patrick Westenberg wrote: Timo Sirainen schrieb: You must not lose indexes with mdbox or you'll lose message flags and mails may also end up going to wrong mailboxes. Yes, have been there but this behaviour is confusing me as I find conflicting

Re: [Dovecot] namespace from snapshots

2012-05-19 Thread Timo Sirainen
On Wed, 2012-05-16 at 12:39 +0200, Lazy wrote: May 16 12:11:36 thebe2 dovecot: imap(lazy): Error: open(/snapshot/h1/vmail/la/lazy/Maildir/.SPAM/dovecot-uidlist.lock) failed: Read-only file system Does the attached patch help? maybe it will be easier to move all dovecot metadata to separate

Re: [Dovecot] Authentication with AD and quick mbox question

2012-05-19 Thread Timo Sirainen
On Wed, 2012-05-16 at 09:32 +0100, Kaya Saman wrote: I managed to find this on the wiki: http://wiki2.dovecot.org/HowTo/ActiveDirectoryNtlm and followed it - though I don't think it's for Dovecot2 even though it's on the portion of the Wiki for Dovecot v2. lot's of references to

Re: [Dovecot] Very High Load on Dovecot 2 and Errors in mail.err.

2012-05-19 Thread Timo Sirainen
On Wed, 2012-05-16 at 08:59 +0200, Urban Loesch wrote: The Server was running about 1 year without any problems. 15Min Load was between 0,5 and max 8. No high IOWAIT. CPU Idletime about 98%. .. # iostat -k Linux 3.0.28-vs2.3.2.3-rol-em64t (mailstore4) 16.05.2012 _x86_64_

Re: [Dovecot] ..::MBOX ISSUE::..

2012-05-19 Thread Timo Sirainen
With IMAP the users must have a mail directory. So you should create home directories for the users. Also see http://wiki2.dovecot.org/VirtualUsers/Home On Tue, 2012-05-15 at 09:12 -0500, Alfonso Alejandro Reyes Jimenez wrote: There are no home directory for those users, I think I should start

Re: [Dovecot] [PATCH] dovecot-lda with expire plugin segfaults if dict failed

2012-05-19 Thread Timo Sirainen
On Tue, 2012-05-15 at 15:08 +0200, Lazy wrote: Program received signal SIGSEGV, Segmentation fault. 0x7f1975cccdee in expire_mailbox_transaction_commit (t=value optimized out, changes_r=value optimized out) at expire-plugin.c:169 169 } else if (strcmp(value, 0)

Re: [Dovecot] Maildir filename has wrong S value

2012-05-19 Thread Timo Sirainen
On Tue, 2012-05-15 at 12:23 +0200, Wouter de Geus wrote: Hello folks, This morning I tried to open an old archive mail folder using Mutt. However, while fetching headers it aborted. Checking the dovecot log gave me this: @40004fb21996267d37d4 imap(benv): Error: Cached message size

Re: [Dovecot] High level of pop3 popping causing server to become unresponsive

2012-05-19 Thread Timo Sirainen
On Fri, 2012-05-18 at 09:21 -0400, Root Kev wrote: During the last time that the load went up, it became unable to login / su to root for the entire period that dovecot was running, we had to kill dovecot and go back to Popa3d until the mailq was cleared up. We are running CentOS 5.6 server.

Re: [Dovecot] wrong search results with fts_solr

2012-05-19 Thread Timo Sirainen
On Wed, 2012-05-16 at 16:39 -0400, Joe Beaubien wrote: I am getting some very weird search results with fts_solr. 1) when I do a search for testin I get 0 results. 2) when I do a search for testing i get 44 results. The problem is that I am expecting only 1 result. Solr uses stemming for

Re: [Dovecot] Dovecot usage values differ from actual disk usage

2012-05-19 Thread Daniel Parthey
Timo Sirainen wrote: This behavior is intentional. Move Email two times between Trash and INBOX (4 moves in total). There is still only one physical message, just moved it around a bit. You're not moving a message, you're copying and setting \deleted flag for the original message.

Re: [Dovecot] Public mailboxes

2012-05-19 Thread Frank Bonnet
Le 19/05/2012 20:44, Timo Sirainen a écrit : On Fri, 2012-05-18 at 14:31 +0200, Frank Bonnet wrote: I'm trying to setup a server with public mailboxes only but I cannot succeed. Do you still have specific users? Do you want the users to have subscriptions? Do you need ACLs? yes I need

Re: [Dovecot] dovecot fts_lucene indexes not being updated

2012-05-19 Thread Joe Beaubien
See answers inline. I just want to add that i also tried the parameter fts_index_timeout = 10 in the plugin section. Unfortunately the logs never showed me any indexing taking place. I also tried fts_index_timeout = 10s in case i had the wrong syntax. I also tried doveadm fts rescan -u my_user.

Re: [Dovecot] dovecot fts_lucene indexes not being updated

2012-05-19 Thread Timo Sirainen
On 19.5.2012, at 23.40, Joe Beaubien wrote: Ok, I enabled rawlog and noticed the code was only sending SEARCH FROM. I modified it to also send a SEARCH TEXT and it triggered the fts index update. However, in my use case, that's not the search that needs to be done. The search needed is

Re: [Dovecot] Public mailboxes

2012-05-19 Thread Timo Sirainen
On 19.5.2012, at 23.40, Frank Bonnet wrote: Le 19/05/2012 20:44, Timo Sirainen a écrit : On Fri, 2012-05-18 at 14:31 +0200, Frank Bonnet wrote: I'm trying to setup a server with public mailboxes only but I cannot succeed. Do you still have specific users? Do you want the users to have

Re: [Dovecot] dovecot fts_lucene indexes not being updated

2012-05-19 Thread Joe Beaubien
Answers inline. On Sat, May 19, 2012 at 4:47 PM, Timo Sirainen t...@iki.fi wrote: On 19.5.2012, at 23.40, Joe Beaubien wrote: Ok, I enabled rawlog and noticed the code was only sending SEARCH FROM. I modified it to also send a SEARCH TEXT and it triggered the fts index update.

Re: [Dovecot] Maildir filename has wrong S value

2012-05-19 Thread Wouter de Geus
* Timo Sirainen t...@iki.fi [2012-05-19 22:17:01 +0300]: My question here is: Why does dovecot abort? Isn't the issue fixed after the rename? That file was fixed, but you probably have tons of them and it aborts after each one. With IMAP protocol there's really no other good way to do

Re: [Dovecot] Best way to change index location on mdbox

2012-05-19 Thread Patrick Westenberg
Timo Sirainen schrieb: But you really don't want any of this with mdbox, not deleting index files or having per-backend index files. What is the director/backend-stuff useful for if per-backend index files is not recommended? As far as I understood, that's what it's all about. Patrick

Re: [Dovecot] Best way to change index location on mdbox

2012-05-19 Thread Timo Sirainen
On 20.5.2012, at 1.03, Patrick Westenberg wrote: Timo Sirainen schrieb: But you really don't want any of this with mdbox, not deleting index files or having per-backend index files. What is the director/backend-stuff useful for if per-backend index files is not recommended? As far as I

Re: [Dovecot] dovecot fts_lucene indexes not being updated

2012-05-19 Thread Timo Sirainen
On 20.5.2012, at 0.12, Joe Beaubien wrote: You can run doveadm index -u user to get new mails indexed. Awesome, this does seem to work. 2 last questions: - Does it update both indexes (dovecot and fts) or only dovecot.index.cache? I ask because I didn't see any index messages in log

Re: [Dovecot] Best way to change index location on mdbox

2012-05-19 Thread Patrick Westenberg
Timo Sirainen schrieb: No. Director is simply about making sure that more than one server won't access the same user's mailbox simultaneously. I'm not recommending per-backend index files to any kind of setups. Perhaps the NFS wiki page should be changed also. So using a director it should

Re: [Dovecot] Best way to change index location on mdbox

2012-05-19 Thread Timo Sirainen
On 20.5.2012, at 1.23, Patrick Westenberg wrote: Timo Sirainen schrieb: No. Director is simply about making sure that more than one server won't access the same user's mailbox simultaneously. I'm not recommending per-backend index files to any kind of setups. Perhaps the NFS wiki page

Re: [Dovecot] BEWARE: you might be supporting the lists owner!!

2012-05-19 Thread Noel Butler
On Sat, 2012-05-19 at 08:25 -0400, Jerry wrote: Hell I bitch about a lot of things; however, that does not change the facts of the case. Only a subset of this list received the message in question - Likely to see how many people bitched before the rest - and I was not one of them.

Re: [Dovecot] BEWARE: you might be supporting the lists owner!!

2012-05-19 Thread Timo Sirainen
There haven't been any new points raised in this thread since the first day. There's no point in replying to to this thread anymore.

Re: [Dovecot] dovecot fts_lucene indexes not being updated

2012-05-19 Thread Joe Beaubien
On Sat, May 19, 2012 at 6:16 PM, Timo Sirainen t...@iki.fi wrote: On 20.5.2012, at 0.12, Joe Beaubien wrote: You can run doveadm index -u user to get new mails indexed. Awesome, this does seem to work. 2 last questions: - Does it update both indexes (dovecot and fts) or only

Re: [Dovecot] dovecot fts_lucene indexes not being updated

2012-05-19 Thread Timo Sirainen
On 20.5.2012, at 5.15, Joe Beaubien wrote: Is it normal to not get output in the normal log files in this case, or did i miss something? Before looking into it further, what's your doveconf -n output?