Re: [Dovecot] pigeonhole and utf-8 error

2010-08-19 Thread Xavier Pons

 El 19/08/2010 6:18, Pascal Volk escribió:

On 08/18/2010 04:22 PM Timo Sirainen wrote:

Oh. The code has been buggy since v1.1. I think it also caused some
search results to be broken. Added the fix for v1.1, v1.2 and v2.0 code
trees.

http://hg.dovecot.org/dovecot-2.0/rev/8c46bf2c5176

Hm, didn't solve the problem.

master: Info: Dovecot v2.0.0 (706f30fa4028) starting up
lmtp(…): Error: …: sieve: msgid=…: failed to store into mailbox '→FølЀ®←': 
mailbox name not utf-8: →FølЀ®←


Regards,
Pascal

Hi,
I have tried the patch, and now it's working ok in our systems.
Recognize correctly the utf8 folder name in filter file:

Aug 19 08:59:37 imap2 dovecot: lmtp(29758, xavier): 
xVuVA1nWbEw+dAAAnkSxNQ: sieve: msgid=4c6cd613.9060...@uib.es: stored 
mail into mailbox 'atenciAPM-'



Thanks

Xavier


--
xavier.p...@uib.es
telef.: 917172888
Centre de Tecnologies de la Informació
Universitat Illes Balears




[Dovecot] IMAP connection timeout value?

2010-08-19 Thread Tamas Kadar
So we're having some ISP issues lately, meaning we have to reboot our cable
modem like 2-3 times a day. An unfortunate side-effect I've found is, once
the users max out their connection limit (which I've set to 10, and many
people do), if we reboot the cable modem, they can't log in cause their
connections get 'stuck' until I `doveadm kick` them, or wait for the
connections to timeout which takes ??? minutes. Can I adjust that value to
something like 30 seconds?

Thanks and best regards,
KT



[Dovecot] Weird Problem with subscriptions

2010-08-19 Thread Harry Lachanas


Dovecot Version 1.2.11


Created Public Namespaces and folders

idx and control are created in each users Maildir/
aka

namespace public {
   prefix=Public/
   separator = /
   location = 
maildir:/home/Public-Folders-Mail/Public-RO:INDEX=~/Maildir/p1-idx:CONTROL=~/Maildir/p1-ctrl

   hidden = no
   subscriptions = no
   inbox = no
}

The problem occurs after a user has subscribed to The Folder

dovecot complaints about ...

dovecot: IMAP(grharry): 
open(/home/grharry/Maildir/p1-idx/.production/dovecot.index.log) failed: 
Permission denied (euid=1004(grharry) egid=1000(vmail) missing +x perm: 
/home/grharry/Maildir/p1-idx/.production)


After changing manually the perm in the above dir +x all works fine.

I've tried unsubscribing and deleting the p1-ctl p1-idx dir structures

The same problem occured ( This hapens in the users own Maildir  )

Your help  will be appreciated

Regards

Harry



Re: [Dovecot] IMAP connection timeout value?

2010-08-19 Thread William Blunn

On 19/08/2010 11:04, Tamas Kadar wrote:
So we're having some ISP issues lately, meaning we have to reboot our 
cable modem like 2-3 times a day. An unfortunate side-effect I've 
found is, once the users max out their connection limit (which I've 
set to 10, and many people do), if we reboot the cable modem, they 
can't log in cause their connections get 'stuck' until I `doveadm 
kick` them, or wait for the connections to timeout which takes ??? 
minutes. Can I adjust that value to something like 30 seconds?


Is it:

(a) your server is on the Internet, and your clients are behind the 
dodgy cable modem, or


(b) your mail server behind the dodgy cable modem and the clients are 
out on the Internet


?

Either way I would suggest an improvement to your architecture would be 
to put the mail server on the same side of the dodgy cable modem as the 
majority of users.


If you have a mix of office users and out-of-office users, I would say 
put the mail server on the Internet side. At least then the people 
struggling out in a hotel in the middle of nowhere won't have to fight 
your dodgy cable modem as well as their dodgy foreign internet connection.


Bill


Re: [Dovecot] IMAP connection timeout value?

2010-08-19 Thread Tamas Kadar
(a) the server is on the internet and the clients are behind the dodgy cable
modem. 

Yeah, except there are no alternatives to our ISPs at the moment, so I'd
rather have a kind-of-solution with shorter timeouts...

KT

-Original Message-
From: dovecot-bounces+tamas.kadar=espell@dovecot.org
[mailto:dovecot-bounces+tamas.kadar=espell@dovecot.org] On Behalf Of
William Blunn
Sent: Thursday, August 19, 2010 1:02 PM
To: dovecot@dovecot.org
Subject: Re: [Dovecot] IMAP connection timeout value?

On 19/08/2010 11:04, Tamas Kadar wrote:
 So we're having some ISP issues lately, meaning we have to reboot our 
 cable modem like 2-3 times a day. An unfortunate side-effect I've 
 found is, once the users max out their connection limit (which I've 
 set to 10, and many people do), if we reboot the cable modem, they 
 can't log in cause their connections get 'stuck' until I `doveadm 
 kick` them, or wait for the connections to timeout which takes ???
 minutes. Can I adjust that value to something like 30 seconds?

Is it:

(a) your server is on the Internet, and your clients are behind the dodgy
cable modem, or

(b) your mail server behind the dodgy cable modem and the clients are out on
the Internet

?

Either way I would suggest an improvement to your architecture would be to
put the mail server on the same side of the dodgy cable modem as the
majority of users.

If you have a mix of office users and out-of-office users, I would say put
the mail server on the Internet side. At least then the people struggling
out in a hotel in the middle of nowhere won't have to fight your dodgy cable
modem as well as their dodgy foreign internet connection.

Bill



Re: [Dovecot] \ character in folder name results in strange LIST

2010-08-19 Thread David Woodhouse
On Wed, 2010-08-18 at 12:48 +0200, Samuel Kvasnica wrote:
 This is a very nasty mess. If there are some ancient clients like pine
 or whatever we used on vt100 in the 90th that need broken LIST command,
 there should be a workaround setting for that. 

Hey! I still use pine. With mouse-in-xterm mode enabled it works really
nicely on devices with a touch screen, and it makes excellent use of
small screens and limited network bandwidth.

-- 
dwmw2



Re: [Dovecot] \ character in folder name results in strange LIST

2010-08-19 Thread David Woodhouse
On Sat, 2010-08-14 at 23:36 +0200, Samuel Kvasnica wrote:
 Well, it looks like at least Thunderbird v3.1.2 is buggy then. Are there
 any non-buggy clients anyway ...? 

Evolution (=2.30.2) with the imapx back end gets it right. I know this
because I fixed it myself a few weeks ago.

-- 
David WoodhouseOpen Source Technology Centre
david.woodho...@intel.com  Intel Corporation



Re: [Dovecot] Dovecot dict process privileges

2010-08-19 Thread Timo Sirainen
On Wed, 2010-08-18 at 15:39 -0700, Mike Mimic wrote:
 Hi!
 
 --- On Wed, 8/18/10, Timo Sirainen t...@iki.fi wrote:
  Only with v2.0.
 
 And how is this done with 2.0? I do not see any configuration option here:
 
 http://wiki2.dovecot.org/MainConfig#Dictionary_server_settings

That page is still for v1.x's config.. I think I'll just delete the
page, since I don't really know how to put the current split example
config in there.

Anyway, with v2.0 you can do:

service dict {
  user = whatever
}




Re: [Dovecot] pigeonhole and utf-8 error

2010-08-19 Thread Timo Sirainen
On Thu, 2010-08-19 at 06:18 +0200, Pascal Volk wrote:
 On 08/18/2010 04:22 PM Timo Sirainen wrote:
  Oh. The code has been buggy since v1.1. I think it also caused some
  search results to be broken. Added the fix for v1.1, v1.2 and v2.0 code
  trees.
  
  http://hg.dovecot.org/dovecot-2.0/rev/8c46bf2c5176
 
 Hm, didn't solve the problem.

Yeah, it didn't.. I don't know where I got that entirely wrong UTF-8
checking logic. http://hg.dovecot.org/dovecot-2.0/rev/a83963495e55
should fix it properly.



Re: [Dovecot] Weird Problem with subscriptions

2010-08-19 Thread Timo Sirainen
On Thu, 2010-08-19 at 13:19 +0300, Harry Lachanas wrote:

 namespace public {
 prefix=Public/
 separator = /
 location = 
 maildir:/home/Public-Folders-Mail/Public-RO:INDEX=~/Maildir/p1-idx:CONTROL=~/Maildir/p1-ctrl
 hidden = no
 subscriptions = no
 inbox = no
 }

Looks correct..

 The problem occurs after a user has subscribed to The Folder
 
 dovecot complaints about ...
 
 dovecot: IMAP(grharry): 
 open(/home/grharry/Maildir/p1-idx/.production/dovecot.index.log) failed: 
 Permission denied (euid=1004(grharry) egid=1000(vmail) missing +x perm: 
 /home/grharry/Maildir/p1-idx/.production)
 
 After changing manually the perm in the above dir +x all works fine.

What were the permissions before? What are the permissions
of /home/Public-Folders-Mail/Public-RO/.production?



Re: [Dovecot] Dovecot lda with qmail

2010-08-19 Thread Timo Sirainen
On Thu, 2010-08-19 at 10:37 +0530, Piyush Joshi wrote:

   According to my setup i can not call
 |/var/qmail/bin/preline -f /usr/local/libexec/dovecot/dovecot-lda
 from my /var/qmail/control/defaultdelivery file, Instead making a perl
 file which will call the same for delivery of mails.

Why? What is the perl script going to do that the direct call isn't?

 #!/usr/bin/perl
 |/var/qmail/bin/preline -f /usr/local/libexec/dovecot/dovecot-lda

That's not a valid perl script.




Re: [Dovecot] pigeonhole and utf-8 error

2010-08-19 Thread Pascal Volk
On 08/19/2010 07:07 PM Timo Sirainen wrote:
 … http://hg.dovecot.org/dovecot-2.0/rev/a83963495e55
 should fix it properly.

Yes, looks good:
 ... stored mail into mailbox 'IZI-FAPg-lANAgrACuIZA-'


Regards,
Pascal
-- 
The trapper recommends today: fabaceae.1023...@localdomain.org


Re: [Dovecot] Dovecot 2.0 and BSDI 4.X

2010-08-19 Thread Timo Sirainen
On Wed, 2010-08-18 at 23:37 -0600, The Doctor wrote:
 Aug 18 23:25:31 doctor dovecot: log: Error: net_accept() failed: Invalid 
 argument

http://hg.dovecot.org/dovecot-2.0/rev/565f18727209 fixes this?

 Aug 18 23:25:31 doctor dovecot: master: Warning: service(anvil): 
 process_limit reached, client connections are being dropped

I'm not really sure about this.. This still happens with the above
change? Anything else logged before it? Do you even have anvil process?

 listen = *
..
 service imap-login {
   inet_listener imaps {
 address = 204.209.81.1
   }

Better to set the address in the listen setting instead of explicitly
for different inet_listeners.



Re: [Dovecot] Disable APOP challenge in POP3 login greeting

2010-08-19 Thread Timo Sirainen
On Wed, 2010-08-18 at 13:11 -0700, Brad Davidson wrote:

 It looks like get_apop_challenge in 1.2 returns NULL if APOP isn't
 supported, which causes auth_client_ready to omit the banner... but I
 see no such check (in fact, no way for get_apop_challenge to return
 NULL) in 2.0, even though pop3_client_send_greeting tests for it.

Yeah, I removed the check because it wasn't anymore needed. I didn't
realize it was also there to check if APOP was disabled. Added back in
another way: http://hg.dovecot.org/dovecot-2.0/rev/eed1426f55a9




Re: [Dovecot] 1.2.13 QRESYNC crash.

2010-08-19 Thread Timo Sirainen
On Wed, 2010-08-18 at 22:27 +0100, David Woodhouse wrote:
 Aug 18 22:07:31 twosheds IMAP(dwmw2): : Panic: file mail-index-transaction.c:
  line 637 (mail_index_transaction_lookup): assertion failed:
  (seq = t-first_new_seq  seq = t-last_new_seq)
 
 A00131 SELECT lists.bluez (QRESYNC (1154090296 1861 1:*
 (1,120,1578,2064,2226,2280,2298 1,120,12037,12523,12685,12739,12757)))

Thanks, fixed: http://hg.dovecot.org/dovecot-1.2/rev/70fa6178380e




Re: [Dovecot] dovecot 1.2 and quota_rules from AD

2010-08-19 Thread Christian Lyra
Hi,

I have some news about my problem with quotaMail field.

 ldap(test...@teste.mydomain): result:
 sAMAccountName(mail=maildir:/var/vmail/%$/Maildir)=maildir:/var/vmail/testeti/Maildir

 But LDAP returns only sAMAccountName, not quotaMail field. So either
 that field doesn't exist in LDAP or it doesn't exist for this user or
 the DN you use to access LDAP doesn't have permissions to it. Or
 something else, in any case the problem isn't with Dovecot
 configuration.

The problem is with the something else. I´m using port 3268 to
connect to AD. I used ldapsearch to reproduce the problem, and found
that if I use port 389 the quotaMail shows up, but using port 3268 it
didnt. I guess that there was a good reason to use port 3268 instead
of 389, or not? Should I just change ports or try to fix AD (i mean,
persuade the AD admin to fix it)?



-- 
Christian Lyra
PoP-PR/RNP


[Dovecot] 2.0 migration weirdnesses: logs and hang

2010-08-19 Thread Kyle Wheeler

Hello,

I'm testing out an upgrade to dovecot 2.0 from 1.2.11, and I've 
stumbled across two weirdnesses that I need help with.


First, I'm only getting one log message:

master: Info: Dovecot v2.0.0 starting up

After that, while I can connect, log in, read mail, etc., no further 
log messages are created.


I have log_path set to /dev/stderr, and no syslog_facility setting, 
so... what could be going wrong?


Second, when I create a new mailbox and copy messages across 
namespaces, dovecot hangs. The mailbox is created and the messages are 
copied successfully, but dovecot simply stops responding. I can't even 
logout!


I'm attaching my config file, if it helps.

~Kyle
--
The effect of liberty to individuals is, that they may do what they 
please; we ought to see what it will please them to do, before we risk 
congratulations.

   -- Edmund Burke
# 2.0.0: ./dovecot.conf-testing-migrate
# OS: Linux 2.6.26-2-686 i686 Debian 5.0.5 
auth_default_realm = memoryhole.net
auth_mechanisms = plain login
base_dir = /var/run/dovecot/memoryhole2
first_valid_gid = 64020
first_valid_uid = 64020
last_valid_gid = 64020
last_valid_uid = 64020
log_path = /dev/stderr
info_log_path = /dev/stderr
log_timestamp = 
login_greeting = There was suppose to be an earth-shattering KA-BOOM!!!
mail_gid = 64020
mail_location = maildir:%h/Maildir
mail_uid = 64020
mbox_write_locks = fcntl
namespace {
  hidden = no
  inbox = yes
  location = maildir:~/Maildir
  prefix = 
  separator = .
  type = private
}
namespace {
  hidden = yes
  inbox = no
  location = 
mbox:~/Maildir/Archive:LAYOUT=maildir++:INDEX=~/Maildir/ArchiveIndexes/
  prefix = INBOX.Archive.
  separator = .
  type = private
}
passdb {
  args = /var/lib/dovecot/dovecot-ldap.conf
  driver = ldap
}
plugin {
  fts = squat
  fts_squat = partial=4 full=4
}
protocols = imap
service auth {
  unix_listener auth-master {
group = vchkpw
mode = 0600
user = vpopmail
  }
  user = vpopmail
}
service imap-login {
  inet_listener imap {
address = imap.memoryhole.net
port = 143
  }
  inet_listener imaps {
address = imap.memoryhole.net
port = 993
  }
  user = dovecot
}
service imap {
  executable = /tmp/dovecottesting/libexec/dovecot/imap
}
service pop3-login {
  user = dovecot
}
ssl_cert = /etc/ssl/certs/imap.memoryhole.net.pem
ssl_key = /etc/ssl/private/imap.memoryhole.net.key
userdb {
  args = uid=64020 gid=64020 home=/var/lib/vpopmail/domains/%Ld/%Ln 
allow_all_users=yes
  driver = static
}
valid_chroot_dirs = /var/lib/vpopmail/domains
verbose_proctitle = yes
protocol imap {
  imap_client_workarounds = tb-extra-mailbox-sep delay-newmail
  imap_logout_format = writebytes=%o, readbytes=%i
  mail_plugins = fts fts_squat zlib
}
protocol lda {
  auth_socket_path = /var/run/dovecot/memoryhole2/auth-master
  hostname = memoryhole.net
  mail_plugins = fts fts_squat
  postmaster_address = postmas...@memoryhole.net
}


signature.asc
Description: Digital signature


Re: [Dovecot] dovecot 1.2 and quota_rules from AD

2010-08-19 Thread Timo Sirainen
On Thu, 2010-08-19 at 14:58 -0300, Christian Lyra wrote:

 The problem is with the something else. I´m using port 3268 to
 connect to AD. I used ldapsearch to reproduce the problem, and found
 that if I use port 389 the quotaMail shows up, but using port 3268 it
 didnt. I guess that there was a good reason to use port 3268 instead
 of 389, or not? Should I just change ports or try to fix AD (i mean,
 persuade the AD admin to fix it)?

The reason why 3268 port was suggested was because some people said that
389 didn't work. I updated the wiki LDAP page now to say:

When connecting to AD, you may need to use port 3268. Then again, not
all LDAP fields are available in port 3268. Use whatever works. 




Re: [Dovecot] 2.0 migration weirdnesses: logs and hang

2010-08-19 Thread Timo Sirainen
On Thu, 2010-08-19 at 12:59 -0500, Kyle Wheeler wrote:

 After that, while I can connect, log in, read mail, etc., no further 
 log messages are created.
 
 I have log_path set to /dev/stderr, and no syslog_facility setting, 
 so... what could be going wrong?

I've never tried logging to /dev/stderr with v2.0. I guess it should be
possible to fix it..

 Second, when I create a new mailbox and copy messages across 
 namespaces, dovecot hangs. The mailbox is created and the messages are 
 copied successfully, but dovecot simply stops responding. I can't even 
 logout!

So you can easily reproduce this? Could you get gdb backtrace from the
hanging process?

gdb -p pid of hanging imap process
bt full




Re: [Dovecot] 2.0 migration weirdnesses: logs and hang

2010-08-19 Thread Kyle Wheeler

On Thursday, August 19 at 07:05 PM, quoth Timo Sirainen:
I have log_path set to /dev/stderr, and no syslog_facility setting, 
so... what could be going wrong?


I've never tried logging to /dev/stderr with v2.0. I guess it should be 
possible to fix it..


:)

Second, when I create a new mailbox and copy messages across 
namespaces, dovecot hangs. The mailbox is created and the messages 
are copied successfully, but dovecot simply stops responding. I 
can't even logout!


So you can easily reproduce this? Could you get gdb backtrace from the 
hanging process?


gdb -p pid of hanging imap process
bt full


Sure thing. By the way, the proctitle is

dovecot/imap [k...@memoryhole.net 64.253.106.173 CLOSE UID COPY]

Here's the backtrace:

#0  0xb7fab424 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb7defff8 in epoll_wait () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#2  0xb7ec51f9 in io_loop_handler_run (ioloop=0x806d360) at ioloop-epoll.c:179
ctx = (struct ioloop_handler_context *) 0x806d480
event = value optimized out
list = value optimized out
io = value optimized out
tv = {tv_sec = 1794, tv_usec = 888651}
t_id = value optimized out
msecs = 1794889
ret = 0
i = value optimized out
j = value optimized out
call = value optimized out
#3  0xb7ec4250 in io_loop_run (ioloop=0x806d360) at ioloop.c:350
No locals.
#4  0xb7eb172a in master_service_run (service=0x806d2b0, callback=0x8060040 
client_connected) at master-service.c:496
No locals.
#5  0x0805ff95 in main (argc=Cannot access memory at address 0x0
) at main.c:358
service_flags = value optimized out
storage_service_flags = value optimized out
postlogin_socket_path = 0x0
username = 0x0
c = value optimized out
set_roots = {0x8062c80, 0x0}

I can recompile without optimization, if that would help (I just used 
the default -O2).


~Kyle
--
The future is here. It's just not widely distributed yet.
 -- William Gibson


signature.asc
Description: Digital signature


Re: [Dovecot] 1.2.13 QRESYNC crash.

2010-08-19 Thread David Woodhouse
On Thu, 2010-08-19 at 18:37 +0100, Timo Sirainen wrote:
 Thanks, fixed: http://hg.dovecot.org/dovecot-1.2/rev/70fa6178380e 

Thanks. Obviously you've been able to test on exactly the same mailbox
I'm using, so you'll not be surprised to hear that the patch works fine
here too.

Do shout if you see anything that could be improved about the client's
behaviour, by the way -- this is Evolution's 'imapx' back end.

It's including sequence numbers working backwards exponentially from the
end of the folder -- so for a folder which had N mails last time we
looked at it, we'll include sequences N-9, N-27, N-81, N-243, N-729,
etc. in the QRESYNC request.

Does that seem reasonable?

-- 
David WoodhouseOpen Source Technology Centre
david.woodho...@intel.com  Intel Corporation



[Dovecot] mailbox utilities

2010-08-19 Thread Terry
Hello,

Are there any utilities that will spit out statistics about some
mailboxes I have on my server?  For example, how many messages are in
each mailbox?  They appear to be in mbox format (default?).

Thanks!


Re: [Dovecot] Dovecot 2.0 and BSDI 4.X

2010-08-19 Thread The Doctor
On Thu, Aug 19, 2010 at 06:22:09PM +0100, Timo Sirainen wrote:
 On Wed, 2010-08-18 at 23:37 -0600, The Doctor wrote:
  Aug 18 23:25:31 doctor dovecot: log: Error: net_accept() failed: Invalid 
  argument
 
 http://hg.dovecot.org/dovecot-2.0/rev/565f18727209 fixes this?
 
  Aug 18 23:25:31 doctor dovecot: master: Warning: service(anvil): 
  process_limit reached, client connections are being dropped
 
 I'm not really sure about this.. This still happens with the above
 change? Anything else logged before it? Do you even have anvil process?
 
  listen = *
 ..
  service imap-login {
inet_listener imaps {
  address = 204.209.81.1
}
 
 Better to set the address in the listen setting instead of explicitly
 for different inet_listeners.


Seems for like porting bugs.

Easy to fix.

-- 
Member - Liberal International  This is doc...@nl2k.ab.ca Ici doc...@nl2k.ab.ca
God, Queen and country! Never Satan President Republic! Beware AntiChrist 
rising! 
http://twitter.com/rootnl2k http://www.facebook.com/dyadallee
Australia!! Vote to throw the REpublicans to the sharks!


Re: [Dovecot] mailbox utilities

2010-08-19 Thread Kádár Tamás
If you happen to use Postfix, you can use pflogsumm which is crude,  but works.
--Original Message--
From: Terry
Sender: dovecot-bounces+tamas.kadar=espell@dovecot.org
To: dovecot@dovecot.org
Subject: [Dovecot] mailbox utilities
Sent: Aug 19, 2010 21:25

Hello,

Are there any utilities that will spit out statistics about some
mailboxes I have on my server?  For example, how many messages are in
each mailbox?  They appear to be in mbox format (default?).

Thanks!


 


Re: [Dovecot] mailbox utilities

2010-08-19 Thread Kádár Tamás
P.S. It's not *exactly* what you are looking for -- but it can still spit you 
out some useful and semi-related statistics.
 

-Original Message-
From: Kádár Tamás tamas.ka...@espell.com
Date: Thu, 19 Aug 2010 19:37:01 
To: dovecot@dovecot.org
Reply-To: tamas.ka...@espell.com
Subject: Re: [Dovecot] mailbox utilities

If you happen to use Postfix, you can use pflogsumm which is crude,  but works.
--Original Message--
From: Terry
Sender: dovecot-bounces+tamas.kadar=espell@dovecot.org
To: dovecot@dovecot.org
Subject: [Dovecot] mailbox utilities
Sent: Aug 19, 2010 21:25

Hello,

Are there any utilities that will spit out statistics about some
mailboxes I have on my server?  For example, how many messages are in
each mailbox?  They appear to be in mbox format (default?).

Thanks!


 

Re: [Dovecot] 1.2.13 QRESYNC crash.

2010-08-19 Thread fakessh
On Thu, 19 Aug 2010 18:37:16 +0100, Timo Sirainen t...@iki.fi wrote:
 On Wed, 2010-08-18 at 22:27 +0100, David Woodhouse wrote:
 Aug 18 22:07:31 twosheds IMAP(dwmw2): : Panic: file mail-index-transaction.c:
  line 637 (mail_index_transaction_lookup): assertion failed:
  (seq = t-first_new_seq  seq = t-last_new_seq)

 A00131 SELECT lists.bluez (QRESYNC (1154090296 1861 1:*
 (1,120,1578,2064,2226,2280,2298 1,120,12037,12523,12685,12739,12757)))
 
 Thanks, fixed: http://hg.dovecot.org/dovecot-1.2/rev/70fa6178380e


your this fix me its clean up : enjoy


Re: [Dovecot] mailbox utilities

2010-08-19 Thread Pascal Volk
On 08/19/2010 09:25 PM Terry wrote:
 Hello,
 
 Are there any utilities that will spit out statistics about some
 mailboxes I have on my server?  For example, how many messages are in
 each mailbox?  They appear to be in mbox format (default?).

Dovecot v2.0.0 provides dovedam. `doveadm mailbox status …`; see:
http://wiki2.dovecot.org/Tools/Doveadm/Mailbox#command_mailbox_status


Regards
Pascal
-- 
The trapper recommends today: face1e55.1023...@localdomain.org


[Dovecot] Director mailserver health monitoring script

2010-08-19 Thread Brad Davidson
Timo et al;

The last bit of functionality that the Dovecot director is missing
compared to our existing load balancers is mailserver health monitoring.
As I understand it, if a mailserver goes down, Dovecot does not take any
action to route connections around the offline node, and will keep
trying to proxy clients to it. Since we're hoping to cut over to
Directors soon, but don't want to lose any functionality, I've hacked up
a script that:

* Polls the local director for a list of mailservers
* Performs health checks against a list of ports on each mailserver
* Disables or enables mailservers (by altering the vhost count) as
necessary

I've published the script on github in hopes that it might be useful to
others:
http://github.com/brandond/poolmon/

Maybe someday Dovecot will do something like this internally and I won't
need the script any more, but for now I'm pretty happy with it.

-Brad


Re: [Dovecot] Disable APOP challenge in POP3 login greeting

2010-08-19 Thread Brad Davidson
Timo,

 -Original Message-
 From: Timo Sirainen [mailto:t...@iki.fi]
 
 Yeah, I removed the check because it wasn't anymore needed. I didn't
 realize it was also there to check if APOP was disabled. Added back in
 another way: http://hg.dovecot.org/dovecot-2.0/rev/eed1426f55a9

Awesome, thanks! Looks good.

-Brad