Re: Reprocessing MDBOX account to reduce m.* file count

2016-12-13 Thread Timo Sirainen
On 14 Dec 2016, at 0.44, Ricardo Branco wrote: > > Is there a way to force dovecot to reprocess a user account to refile the m.* > files based on new config for max file size. > > Ive got one account at 22k files due to a 2M split. dsync elsewhere and mv them back?

random mmap_anon Cannot allocate memory in log

2016-12-13 Thread Ricardo Branco
I am getting lots of these error messages in the log file, any idea why? vsz_limit = 512M Dec 14 00:50:12 lmtp(i...@wenn.com)(i...@wenn.com): Error: mmap_anon(211079168) failed: Cannot allocate memory -- The information contained in or attached to this email is intended only for the use of

Reprocessing MDBOX account to reduce m.* file count

2016-12-13 Thread Ricardo Branco
Is there a way to force dovecot to reprocess a user account to refile the m.* files based on new config for max file size. Ive got one account at 22k files due to a 2M split.

Re: mailboxes and capitalisation

2016-12-13 Thread Timo Sirainen
On 13 Dec 2016, at 11.48, Thorsten Hater wrote: > > Dear all, > > I have set up a series of special-use mailboxes in the default namespace > differing by capitalisation of the names, mainly to capture multiple > mailboxes > with autoexpunge > > namespace inbox { >

Re: Reprocessing MDBOX account to reduce m.* file count

2016-12-13 Thread Ricardo Branco
Hmm, thanks, ile give that a try. Would be nice (if possible, I have no idea of internals) to have some in-place method for certain things like this that does not affect any connected clients, ie they can stay connected and the indexes are updated while moving all data to new storage files. On

Re: random mmap_anon Cannot allocate memory in log

2016-12-13 Thread Aki Tuomi
On 14.12.2016 02:53, Ricardo Branco wrote: > I am getting lots of these error messages in the log file, any idea why? > > vsz_limit = 512M > > Dec 14 00:50:12 lmtp(i...@wenn.com)(i...@wenn.com): Error: > mmap_anon(211079168) failed: Cannot allocate memory > You are probably running out of

FW: postlogin script

2016-12-13 Thread Michael Fox
No response seen yet. Trying again. Surely someone knows how the postlogin scripts work and can answer these questions easily... Anyone? Thanks, Michael -Original Message- From: dovecot [mailto:dovecot-boun...@dovecot.org] On Behalf Of Michael Fox Sent: Sunday, December 11, 2016

Re: LDAP cache clear ??

2016-12-13 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 13 Dec 2016, Günther J. Niederwimmer wrote: Can any tell me a way to clear the passwords in dovecot when I have to change a password in LDAP? auth_cache_ttl: is not working what do you mean with "is not working", does the passwords time

mailboxes and capitalisation

2016-12-13 Thread Thorsten Hater
Dear all, I have set up a series of special-use mailboxes in the default namespace differing by capitalisation of the names, mainly to capture multiple mailboxes with autoexpunge namespace inbox { ... mailbox Trash { auto= no autoexpunge = 30d special_use = \Trash }

replication and backend vpopmail

2016-12-13 Thread Havrla
Heloo, please I need "replicate" dovecot / dsync. Prerequisite: doveadm user '*' [Root @ joe ~] # doveadm user '' ' Error: User listing Returned failure Fatal: user listing failed It probably does not work because I have: userdb{ args = cache_key =% u quota_template quota_rule = = *:

Re: JMAP support in Dovecot

2016-12-13 Thread Tanstaafl
Hi Aki, Someone just asked in the bug for Thunderbird for this, so... Is there a git branch that they could use to start playing with what is there? If not, any idea when that might happen? It sounds like someone following the Thunderbird bug is interested in working on this, but they obviously

Re: mailboxes and capitalisation

2016-12-13 Thread Tanstaafl
On 12/13/2016 4:48 AM, Thorsten Hater wrote: > I have set up a series of special-use mailboxes in the default namespace > differing by capitalisation of the names, mainly to capture multiple > mailboxes > with autoexpunge > > namespace inbox { > ... > mailbox Trash

Re: mailboxes and capitalisation

2016-12-13 Thread Thorsten Hater
As far as I understand IMAP folders are -- largely -- case-sensitive, so I need to plan for Trash and trash (and worse), as there is no standard. Further, I cannot really expect all MUAs to honor special-use flags. My intention is to cover the most likely cases with autoexpunge. I am still

Re: mailboxes and capitalisation

2016-12-13 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 13 Dec 2016, Tanstaafl wrote: On 12/13/2016 4:48 AM, Thorsten Hater wrote: I have set up a series of special-use mailboxes in the default namespace differing by capitalisation of the names, mainly to capture

public folder subscriptions sync issue with ldap user/group in dovecot-acl

2016-12-13 Thread Mike Fröhner
Hello people, I am having an issue with 'doveadm sync'. I am currently trying to have two dovecots behind an haproxy (works fine). Therefore I configured these two dovecot server (imap-1/imap-2) to sync throught dsync. This works just partly. The sync of the maiboxes is fine, but the sync of

Re: Simple way to get mailbox size by folder.

2016-12-13 Thread Vijay Sarvepalli
Hello Mike and Aki, Thanks for the response. I had been using FETCH 1:* in my IMAP module, but found it slow with folders with lots of messages or even large-sized messages folder. The doveadm seems elegant and faster but I hate to fork a command line from web-UI, for obvious security and

Re: Simple way to get mailbox size by folder.

2016-12-13 Thread Aki Tuomi
Hi! You could use doveadm http api instead. See http://wiki2.dovecot.org/Design/DoveadmProtocol/HTTP It takes same parameters as command line. Aki > On December 13, 2016 at 6:25 PM Vijay Sarvepalli wrote: > > > Hello Mike and Aki, > > Thanks for the response. I had

Re: Simple way to get mailbox size by folder.

2016-12-13 Thread Aki Tuomi
Hi! You could use doveadm http api instead. See http://wiki2.dovecot.org/Design/DoveadmProtocol/HTTP It takes same parameters as command line. Aki > On December 13, 2016 at 6:25 PM Vijay Sarvepalli wrote: > > > Hello Mike and Aki, > > Thanks for the response. I had

Re: Simple way to get mailbox size by folder.

2016-12-13 Thread Sami Ketola
Hi, In that case you might be better of using the doveadm http api for accessing the information over http/json interface: http://wiki2.dovecot.org/Design/DoveadmProtocol/HTTP Sami > On 14 Dec 2016, at 1.25, Vijay Sarvepalli wrote: > > Hello Mike and Aki, > > Thanks

LDAP cache clear ??

2016-12-13 Thread Günther J . Niederwimmer
Hello, I have a big problem to clear the ldap cache ? Can any tell me a way to clear the passwords in dovecot when I have to change a password in LDAP? auth_cache_ttl: is not working thanks for a answer, -- mit freundlichen Grüßen / best regards, Günther J. Niederwimmer