Preserve environment variables for doveadm

2017-03-01 Thread Teodor Milkov
Hello, I noticed there are ways to instruct various dovecot processes to preserve particular environment variables. One way is to use import_environment in dovecot.conf and yet another is to export DOVECOT_PRESERVE_ENVS variable – both can contain space delimited list of variables to preserv

doveadm import/sync with read-only source location

2015-11-17 Thread Teodor Milkov
Hello, Currently doveadm tool can't be used with read-only source locations because it's trying to create lock files. I'd guess lock files shouldn't be necessary on a read-only media, because no one else is going to change anything while our doveadm instance is running anyway. Example: dov

doveadm quota get doesn't recalculate quota (Maildir backend)

2015-02-06 Thread Teodor Milkov
Hello, I've noticed that "doveadm quota get" doesn't recalculate quota if maildirsize file is missing for some reason. It just says quota is unknown, usage is 0. In contrast, vpopmail does regenerate maildirsize if it is missing. Reading the Maildir++ specification there is this part: ...

Re: How to quote the special wildcard characters '*' and '?'

2015-01-27 Thread Teodor Milkov
On 15/01/15 11:17, David Davidov wrote: Hello, I am searching for a way to execute doveadm command against mailbox containing a special wildcard character in its name. For example: # doveadm expunge -u 'me?@example.com' mailbox 'INBOX.Junk Mail' SAVEDBEFORE 7 The result is: doveadm(root): Erro

[Dovecot] vpopmail passdb deadlock if tcprules binary is missing

2011-02-07 Thread Teodor Milkov
Hello, I've just found that if vpopmail is compiled with --enable-roaming-users=y, but tcprules binary is missing there is kind of denial of service situation, which is not very obvious for debugging. I know this is result of misconfiguration and I suppose this is more of a vpopmail() bug, but i