Re: [Dovecot] dsync: Invalid mailbox first_recent_uid

2011-06-03 Thread David Jonas
On 6/3/11 7:25 AM, Timo Sirainen wrote: > On Thu, 2011-05-26 at 23:25 -0700, David Jonas wrote: >> dsync-local(djo...@vitalwerks.com): Error: Invalid mailbox input from >> worker server: Invalid mailbox first_recent_uid >> >> The local uid is 8989 and the remote uid is 89. I added "first_valid_

[Dovecot] Outlook2010 + dovecot-1.2.10 - UID FETCH 0 (xxx) Error

2011-06-03 Thread Jin FengMing
Hi all, I'm not so sure it is about to dovecot, but any thoughts will be appreciated. I have an email account configured as IMAP(dovecot-1.2.10) via outlook 2010. If I'm creating a *new* mailbox folder, for example "ttt", and *copying* a mail into *that* mailbox folder, then an error message

Re: [Dovecot] Segmentation fault again

2011-06-03 Thread Jim Knuth
am 03.06.11 14:27 schrieb Timo Sirainen : On Sat, 2011-05-28 at 12:36 +0200, Jim Knuth wrote: Hi, I have the following report after a cron job again? /root/tools/expunge: Zeile 3: 4869 Speicherzugriffsfehler doveadm expunge -A mailbox Spam savedbefore 5d /root/tools/expunge: Zeile 5: 4915

Re: [Dovecot] solr substring schema.xml

2011-06-03 Thread Daniel Miller
On 6/3/2011 5:54 AM, Timo Sirainen wrote: On Sun, 2011-05-29 at 02:09 -0700, Daniel Miller wrote: I'm trying a modified schema.xml with solr - it appears I now have substring searches! How large are your indexes compared to mailbox size? du -c -b /var/mail/domain = 4913315733 du -c -b /var/

[Dovecot] Using Dovecot new version 2.0.13 facing issues.

2011-06-03 Thread गौरव जोशी
Hi, I have configured POP-IMAP server with dovecot 2.0.13 with mysql support. When I am running load test on the same I face issue on IMAP connections. I get "dovecot: imap-login: Error: fd_send(imap, 15) failed: Interrupted system call" followed by "dovecot: imap-login: Internal login failure" in

Re: [Dovecot] unexpected subfolder locaton in Maildir/.INBOX.subfolder

2011-06-03 Thread wulf
Hi Timo, thanks for response. On Fri, Jun 03, 2011 at 04:04:51PM +0300, Timo Sirainen wrote: > You'd access it as imap://user@host/subfolder. that was clear, but I want to make sure clients don't need reconfiguration after migration. > Or alternatively you can create a namespace with INBOX. pr

Re: [Dovecot] Running a dovecot cluster with mixed versions?

2011-06-03 Thread Timo Sirainen
On Fri, 2011-06-03 at 10:56 -0500, Ian Foutch wrote: > I have been trying to find information and possible issues with > running a cluster of dovecot server with different versions without > any luck. > > We have an existing cluster with dovecot v1.1.10 and tried migrating > to a new cluster with

Re: [Dovecot] Problems in auth when switching from PLAIN-MD5

2011-06-03 Thread Timo Sirainen
On Fri, 2011-06-03 at 11:53 -0300, Eduardo Casarero wrote: > i tried with > '{SSHA256.hex}acb600a04d0816cd3242a5489e3ac39b4f9f7c9dedacbd754f93c769ac4829e1db7fae58' > (generated with the php script from the wiki) and i also tried with: > > doveadm pw -s SHA -u u...@domain.com > > {SHA}kLF2K2vi+AxT

[Dovecot] Running a dovecot cluster with mixed versions?

2011-06-03 Thread Ian Foutch
I have been trying to find information and possible issues with running a cluster of dovecot server with different versions without any luck. We have an existing cluster with dovecot v1.1.10 and tried migrating to a new cluster with dovecot v2.0.12. We ran into some issues when we moved traffi

Re: [Dovecot] Problems in auth when switching from PLAIN-MD5

2011-06-03 Thread Eduardo Casarero
2011/6/3 Timo Sirainen > On Thu, 2011-06-02 at 17:41 -0300, Eduardo Casarero wrote: > > Hi, i am running dovecot 2.0.11 (with mysql backend) and until now using > > PLAIN-MD5 as pass default_pass_scheme everything was working fine. > However i > > wanted to change the pass_scheme to something str

Re: [Dovecot] slow squat fts index creation

2011-06-03 Thread Timo Sirainen
On Tue, 2011-05-24 at 17:01 +0200, Cor Bosman wrote: > Hi all, ive been playing with squat indexes. Up to about 300.000 emails in a > single mailbox this was working flawlessly. The search index file is about > 500MB at that time. Ive now added some more emails, and at 450.000 or so > emails im

Re: [Dovecot] Dovecot 1.2 with MySQL limit Trash folder

2011-06-03 Thread Timo Sirainen
On Tue, 2011-05-24 at 20:29 +0200, Damien Robinet wrote: > Hi All, > > I need your help to limit the size of the Trash folder. > I want to exclude the Trash folder in my user quota. But I do not want > the Trash folder can not exceed 10M for example. > I can manage to exclude the size of the Trash

Re: [Dovecot] New IPC features : any configuration doc ?

2011-06-03 Thread Timo Sirainen
On Tue, 2011-05-24 at 16:38 -0500, Joan Moreau wrote: > That shall appear in the doc somewhere, as "default_login_user" is > not a mandatory field, or you shall make this field mandatory I thought it practically was mandatory already.. I guess you managed to get around it. :) In next version it'

Re: [Dovecot] passdb: password contains illegal chars question

2011-06-03 Thread Timo Sirainen
On Thu, 2011-05-26 at 11:21 +0200, Torsten Krah wrote: > Hi, > > some question about passdb backend: > > I'll receive this (using dovecot 2.0.13, pgsql passdb backend) for some users: > > mail dovecot: auth: passdb(account-username,127.0.0.1): Attempted login with > password having illegal char

Re: [Dovecot] doveadm segfault

2011-06-03 Thread Timo Sirainen
On Thu, 2011-05-26 at 08:46 -0500, Joan Moreau wrote: > > Hi, > > Using HG latest version, I get the following in the dmesg : > > > [38041.387112] doveadm[20515]: segfault at 8 ip 0040f51d sp > 7fffb774c010 error 4 in doveadm[40+2a000] > [38041.397966] I guess you're calling d

Re: [Dovecot] dsync: Invalid mailbox first_recent_uid

2011-06-03 Thread Timo Sirainen
On Thu, 2011-05-26 at 23:25 -0700, David Jonas wrote: > > dsync-local(djo...@vitalwerks.com): Error: Invalid mailbox input from > worker server: Invalid mailbox first_recent_uid > > The local uid is 8989 and the remote uid is 89. I added "first_valid_uid > = 89" to the local conf but to no av

Re: [Dovecot] Squat Question!

2011-06-03 Thread Henrique Fernandes
Ohh.. ok, i already got back to the original, I was just worried to see if it would break anything! Thanks []'sf.rique On Fri, Jun 3, 2011 at 10:12 AM, Timo Sirainen wrote: > I'm guessing that it can't find old mails because when you search e.g. > "abcde" it thinks it should exist there, bu

Re: [Dovecot] Error: file_dotlock_create failed: Permission denied

2011-06-03 Thread Timo Sirainen
On Wed, 2011-05-25 at 13:49 +0200, M. Fioretti wrote: > May 25 13:36:06 polaris dovecot: imap(marco): Error: > file_dotlock_open(/home/z/email/marco/dovecot.index.log) failed: > Permission denied (euid=500(marco) egid=500(marco) missing +w perm: > /home/z/email/marco, euid is not dir owner) /hom

Re: [Dovecot] Custom sql query for keeping quota with dict-sql

2011-06-03 Thread Timo Sirainen
On Fri, 2011-06-03 at 15:17 +0200, Marcin Mirosław wrote: > W dniu 03.06.2011 13:51, Timo Sirainen pisze: > Helo Timo! > > You can't define your own SQL queries for dict quota. Besides being able > > to do such query, there's the problem that when recalculating quota it's > > done by deleting a row

Re: [Dovecot] This is appear a fts bug

2011-06-03 Thread Timo Sirainen
On Fri, 2011-05-27 at 10:44 +0200, Antonio Perez-Aranda wrote: > I have checked this on dovecot 2.0.9 and 2.0.13 with fts-solr without > patching. > > If you execute the follow IMAP script, then the imap process die by > and a "assert" > > . select "inbox." This is the first bug. It shouldn't h

Re: [Dovecot] Custom sql query for keeping quota with dict-sql

2011-06-03 Thread Marcin Mirosław
W dniu 03.06.2011 13:51, Timo Sirainen pisze: Helo Timo! > You can't define your own SQL queries for dict quota. Besides being able > to do such query, there's the problem that when recalculating quota it's > done by deleting a row and inserting it back. You wouldn't want to do > that for your user

Re: [Dovecot] Custom sql query for keeping quota with dict-sql

2011-06-03 Thread Duane Hill
Hello Marcin, Friday, June 3, 2011, 4:05:21 AM, you wrote: > Marcus, Duane, thanks for replies! > I'll answer in one mail. > In your config (Duane) quota is defined as 'dict:user::proxy::quota' it > needs dictionary to be configured ( > http://wiki2.dovecot.org/Quota/Dict > ) if i understood corr

Re: [Dovecot] Squat Question!

2011-06-03 Thread Timo Sirainen
I'm guessing that it can't find old mails because when you search e.g. "abcde" it thinks it should exist there, but it doesn't since previously you had limited it to 4 chars. On Fri, 2011-06-03 at 10:09 -0300, Henrique Fernandes wrote: > If i don't what happen? > > []'sf.rique > > > On Fri, Jun

Re: [Dovecot] v2.0.13 released

2011-06-03 Thread Timo Sirainen
On Sun, 2011-05-29 at 23:39 -0400, Sean Donelan wrote: > After configure and compiling dovecot-2.0.13, running "make check" fails > on a few tests on sparc/solaris > > net_is_in_network(11) : > FAILED > net_is_in_network(12) ..

Re: [Dovecot] Squat Question!

2011-06-03 Thread Henrique Fernandes
If i don't what happen? []'sf.rique On Fri, Jun 3, 2011 at 9:15 AM, Timo Sirainen wrote: > On Wed, 2011-06-01 at 10:43 -0300, Henrique Fernandes wrote: > > Hello folks, > > > > I use dovecot squat for indexing. > > > > I use to have > > > > fts_squat = partial=4 full=4 > > > > But i change t

Re: [Dovecot] shared folders "invisible" on new setup

2011-06-03 Thread Torsten Harenberg
Am 03.06.2011 um 14:45 schrieb Timo Sirainen: > Yeah, either rename this to /var/mail/public/.fb8/ or add :LAYOUT=fs to > namespace location. Ahh.. that worked :) Thanks a lot!!! I think I wouldn't have found it. Best regards, Torsten -- <><><><><><><><><><><><><><><><><><><><><><><><><><

Re: [Dovecot] unexpected subfolder locaton in Maildir/.INBOX.subfolder

2011-06-03 Thread Timo Sirainen
On Fri, 2011-05-27 at 01:59 +0200, wulf wrote: > Maildir/.subfolder already exists > if I connect to imap://user@host/INBOX.subfolder > I get "folder not found" You'd access it as imap://user@host/subfolder. Or alternatively you can create a namespace with INBOX. prefix. http://wiki.doveco

Re: [Dovecot] Bug: Fixed a duplicate

2011-06-03 Thread Timo Sirainen
On Sat, 2011-05-28 at 21:16 +0200, Tom Sommer wrote: > I restored a dovecot mailserver today, and when I started the server > again, the logs filled up with "Fixed a duplicate" warnings. > > This in itself it not a problem, the problem is that it appears the fix > is not done correct. You shou

Re: [Dovecot] solr substring schema.xml

2011-06-03 Thread Timo Sirainen
On Sun, 2011-05-29 at 02:09 -0700, Daniel Miller wrote: > I'm trying a modified schema.xml with solr - it appears I now have > substring searches! How large are your indexes compared to mailbox size?

Re: [Dovecot] shared folders "invisible" on new setup

2011-06-03 Thread Timo Sirainen
On Fri, 2011-06-03 at 14:37 +0200, Torsten Harenberg wrote: > mailserver# doveadm acl debug -u harenber public.fb8 > doveadm(harenber): Error: Can't open mailbox public.fb8: Mailbox doesn't > exist: fb8 > mailserver# > > Or do I miss here something: > > mailserver# cd /var/mail/public/fb8/

Re: [Dovecot] shared folders "invisible" on new setup

2011-06-03 Thread Torsten Harenberg
Thanks Timo... Am 03.06.2011 um 14:34 schrieb Timo Sirainen: > > doveadm acl debug -u harenber public.fb8 mailserver# doveadm acl debug -u harenber public.fb8 doveadm(harenber): Error: Can't open mailbox public.fb8: Mailbox doesn't exist: fb8 mailserver# Or do I miss here something: mailser

Re: [Dovecot] shared folders "invisible" on new setup

2011-06-03 Thread Timo Sirainen
On Tue, 2011-05-31 at 15:36 +0200, Torsten Harenberg wrote: > mailserver# doveadm mailbox subscribe -u harenber public.fb8 .. > namespace { > list = children > location = maildir:/var/mail/public:INDEX=~/public > prefix = public. > separator = . > subscriptions = no > type = public >

Re: [Dovecot] dbox single instance storage maintenance

2011-06-03 Thread Timo Sirainen
On Tue, 2011-05-31 at 08:53 -0700, Daniel Miller wrote: > Does the "doveadm purge" operation delete unused attachments? With mdbox, yeah. With sdbox they're deleted immediately when the last message pointing to an attachment is expunged.

Re: [Dovecot] Segmentation fault again

2011-06-03 Thread Timo Sirainen
On Sat, 2011-05-28 at 12:36 +0200, Jim Knuth wrote: > Hi, > > I have the following report after a cron job again? > > /root/tools/expunge: Zeile 3: 4869 Speicherzugriffsfehler doveadm > expunge -A mailbox Spam savedbefore 5d > /root/tools/expunge: Zeile 5: 4915 Speicherzugriffsfehler doveadm

Re: [Dovecot] Dovecot 2 + Director: IMAP+GSSAPI and LMTP-proxying

2011-06-03 Thread Timo Sirainen
On Wed, 2011-06-01 at 11:25 +0200, Jahnke-Zumbusch, Dirk wrote: > For now my section for the passdb in the Director instance is > > passdb { > driver = static > args = proxy=y nopassword=y > } > > So the backend will do the authentication of the session. But this setup > inhibits using Kerbe

Re: [Dovecot] Extra plugins vía extrafield in ldap

2011-06-03 Thread Antonio Perez-Aranda
OK thanks. It isn't pretty but is running. 2011/6/3 Timo Sirainen : > On Fri, 2011-06-03 at 12:30 +0200, Antonio Perez-Aranda wrote: > >> And in passwd-ldap.conf I have some like this to add extra plugins: >> >> user_attrs = >> homeDirectory=home,uid=user,mailQuota=quota_rule=*:bytes=%$,mailPlugi

Re: [Dovecot] Squat Question!

2011-06-03 Thread Timo Sirainen
On Wed, 2011-06-01 at 10:43 -0300, Henrique Fernandes wrote: > Hello folks, > > I use dovecot squat for indexing. > > I use to have > > fts_squat = partial=4 full=4 > > But i change to > fts_squat = partial=4 full=8 > > My question is, do i need to delete older indexes to have it consisten

Re: [Dovecot] doveadm "-S " option enabled in 2.0.8?

2011-06-03 Thread Timo Sirainen
On Wed, 2011-06-01 at 16:59 -0700, Kelsey Cummings wrote: > On Thu, Dec 30, 2010 at 01:52:53PM +0200, Timo Sirainen wrote: > > On Tue, 2010-12-21 at 14:55 -0500, David Warden wrote: > > > > > But when I try to get my quota on a different local IP using the -S flag > > > to doveadm: > > > > > > d

Re: [Dovecot] [dovecot] notifications when delivery fails

2011-06-03 Thread Timo Sirainen
On Thu, 2011-06-02 at 10:13 +0200, Héctor Moreno Blanco wrote: > Hello Timo, > > We have dovecot 1.2.13. Is there any way to send notifications to the > postmaster when a delivery fails? Create a script. Instead of running deliver directly, run something like: #!/bin/sh deliver $* err=$? if [ $

Re: [Dovecot] Problems in auth when switching from PLAIN-MD5

2011-06-03 Thread Timo Sirainen
On Thu, 2011-06-02 at 17:41 -0300, Eduardo Casarero wrote: > Hi, i am running dovecot 2.0.11 (with mysql backend) and until now using > PLAIN-MD5 as pass default_pass_scheme everything was working fine. However i > wanted to change the pass_scheme to something stronger than plain-md5, so i > starte

Re: [Dovecot] 2.0: deliver run from multiple uids and configuration files

2011-06-03 Thread Timo Sirainen
On Thu, 2011-06-02 at 23:20 +0200, Arkadiusz Miskiewicz wrote: > I'm trying to run deliver from exim transport in a way that it doesn't need > to > query userdb AND doesn't need to read configuration files. > > The problem is that config files are readable for root only and if I run > deliver w

Re: [Dovecot] Custom sql query for keeping quota with dict-sql

2011-06-03 Thread Timo Sirainen
On Thu, 2011-06-02 at 16:48 +0200, Marcin Mirosław wrote: > i'd like to keep present quota in such two columns: > quota_dict_bytes integer NOT NULL DEFAULT 0, > quota_dict_messages integer NOT NULL DEFAULT 0 > > I read wiki a little and it looks i can't define own sql queries, they > appear to be

Re: [Dovecot] Extra plugins vía extrafield in ldap

2011-06-03 Thread Timo Sirainen
On Fri, 2011-06-03 at 12:30 +0200, Antonio Perez-Aranda wrote: > And in passwd-ldap.conf I have some like this to add extra plugins: > > user_attrs = > homeDirectory=home,uid=user,mailQuota=quota_rule=*:bytes=%$,mailPlugins=mail_plugins This completely overrides mail_plugins setting.. > With t

Re: [Dovecot] LMTP/Sieve/sendmail path

2011-06-03 Thread Timo Sirainen
On Fri, 2011-06-03 at 11:09 +0200, Andreas Schulze wrote: > Would it be possible to configure dovecot lmtp server to use an external > smtp-server to submit > new mails ? v2.0.10+: + Added submission_host setting to send mails via SMTP instead of via sendmail binary.

Re: [Dovecot] LMTP/Sieve/sendmail path

2011-06-03 Thread Dennis Guhl
On Fri, Jun 03, 2011 at 11:09:23AM +0200, Andreas Schulze wrote: > Hello, > > I have a system using postfix multi instance feature. > The first, main postfix-instance is a nullclient as suggested by If you call the default instance (as in http://www.postfix.org/MULTI_INSTANCE_README.html#default_

[Dovecot] Extra plugins vía extrafield in ldap

2011-06-03 Thread Antonio Perez-Aranda
Hi all, I'm using dovecot 2.0.9 and I have a config like this: dovecot.conf: passdb { args = /etc/dovecot/conf.d/passwd-ldap.conf driver = ldap } mail_plugins = $mail_plugins quota plugin { autocreate = INBOX.SPAM autocreate2 = INBOX.NoSPAM autosubscribe = INBOX.SPAM autosubscrib

Re: [Dovecot] LMTP/Sieve/sendmail path

2011-06-03 Thread Robert Schetterer
Am 03.06.2011 11:09, schrieb Andreas Schulze: > Hello, > > I have a system using postfix multi instance feature. > The first, main postfix-instance is a nullclient as suggested by > http://www.postfix.org/MULTI_INSTANCE_README.html#split > > The second instance is for real use. Postfix receive ma

[Dovecot] LMTP/Sieve/sendmail path

2011-06-03 Thread Andreas Schulze
Hello, I have a system using postfix multi instance feature. The first, main postfix-instance is a nullclient as suggested by http://www.postfix.org/MULTI_INSTANCE_README.html#split The second instance is for real use. Postfix receive mail and handover them to the dovecot lmtp server. Thats work

Re: [Dovecot] Custom sql query for keeping quota with dict-sql

2011-06-03 Thread Marcin Mirosław
Marcus, Duane, thanks for replies! I'll answer in one mail. In your config (Duane) quota is defined as 'dict:user::proxy::quota' it needs dictionary to be configured ( http://wiki2.dovecot.org/Quota/Dict ) if i understood correctly. In config snip from Marcus i can't find definition of "quota", wha

Re: [Dovecot] Custom sql query for keeping quota with dict-sql

2011-06-03 Thread Duane Hill
Hello Marcus, Thursday, June 2, 2011, 1:56:58 PM, you wrote: > Duane Hill wrote: > Am 02.06.2011 um 18:40 schrieb Duane Hill: >>> I read wiki a little and it looks i can't define own sql queries, they >>> appear to be hardcoded. Am i wrong? Is it possible to write own queries >>> to get/set qu