Re: [Dovecot] doveadm delete folders ? / unsubscribe ?

2024-02-19 Thread Aki Tuomi via dovecot
> On 19/02/2024 22:17 EET Ryan Ford wrote: > > > Hello, > Would you be able to show what you did in order to make this command > unsubscribe as well? The link provided with the answer, no longer works. > > Thank you, Ryan > doveadm mailbox unsubscribe -u Aki

Re: [Dovecot] doveadm delete folders ? / unsubscribe ?

2024-02-19 Thread Ryan Ford
Hello, Would you be able to show what you did in order to make this command unsubscribe as well? The link provided with the answer, no longer works. Thank you, Ryan ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to

Re: [Dovecot] Doveadm sometimes failed "to iterate through some users" after upgrade to 2.2

2021-05-03 Thread Robert Dinse
I am having the same issue with 2.3.11.3

Re: Dovecot/doveadm quota

2020-02-12 Thread Martynas Bendorius
In webhosting customers usually see their physical disk usage used (quota on filesystem), and it causes a lot of confusion when numbers don't match with doveadm quota at all. What's your opinion on these: 1) Should indexes (including FTS indexes stored in Maildir) be counted in the mail quota?

Re: Dovecot/doveadm quota

2020-02-12 Thread Aki Tuomi
I think that most admins do not really care about physical disk usage as long as it's not exceeded, and most service providers prefer calculating quota against apparent usage instead of real usage, so they can charge you for that. Aki On 8.2.2020 18.16, Martynas Bendorius wrote: > Doesn't it

Re: Dovecot/doveadm quota

2020-02-08 Thread Martynas Bendorius
Doesn't it currently confuse them? Because they'd reach their quota, while actually there would be a lot of disk space left :) + their whole mailbox could take a lot more space due to indexes and other files in the filesystem, and quota would not be reached. Also, I've dovecot is using fstat's

Re: Dovecot/doveadm quota

2020-02-08 Thread Max Kostikov
I think these changes will confuse users because calculated quota wouldn't be equals with total messages sizes. Marsistynas Bendorius писал 2020-02-07 11:07: Is there any reason why dovecot relies on S= instead of real disk size email takes? 1) compressed mails take less than than the S=

Dovecot/doveadm quota

2020-02-07 Thread Martynas Bendorius
Hello, Is there any reason why dovecot relies on S= instead of real disk size email takes? 1) compressed mails take less than than the S= specified 2) we could avoid using "S=" for the lookups and count every file there, including indexes and mails without S=... if we'd read filesizes Eample:

Migrating from external server to Dovecot (doveadm sync issues)

2019-04-12 Thread Sven Strickroth via dovecot
Hi, I'm experiencing serious issues when using doveadm sync not working at all or do not properly sync. I wanted to use this for migrating external mailboxes to my server (in order to overcome the time when some servers/clients still use the old server and some already the my server). I tried to

Re: Dovecot (doveadm, ssl, sync) - SSL error

2019-01-08 Thread Philipp Faeustlin
for replication. Thanks in advance. dovecot: doveadm: Error: safe_mkstemp(/tmp/dovecot.doveadm.) failed: Permission denied Arkadiusz Majewski From: Arkadiusz Majewski Sent: Sunday, December 3, 2017 7:38 PM To: 'dovecot@dovecot.org' Subject: Dovecot (doveadm, ssl, sync) - SSL error Hello

RE: Dovecot (doveadm, ssl, sync) - SSL error

2018-03-03 Thread Arkadiusz Majewski
. dovecot: doveadm: Error: safe_mkstemp(/tmp/dovecot.doveadm.) failed: Permission denied Arkadiusz Majewski From: Arkadiusz Majewski <maje...@gmail.com> Sent: Sunday, December 3, 2017 7:38 PM To: 'dovecot@dovecot.org' <dovecot@dovecot.org> Subject: Dovecot (doveadm, ssl,

Dovecot (doveadm, ssl, sync) - SSL error

2017-12-03 Thread Arkadiusz Majewski
: 2.2.33.2_2 and the older one dovecot-2.2.32.1_1 (or similar) - build by ports. OpenSSL: 1.0.2k-freebsd 26 Jan 2017 dovecot: doveadm(10.18.1.15): Error: doveadm client disconnected before handshake: SSL_accept() failed: error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol

[Dovecot] Doveadm sometimes failed to iterate through some users after upgrade to 2.2

2014-12-12 Thread David Davidov
Yes, after an upgrade works fine. Hello, Unfortunately this issue hits again. I installed the latest stable version 2.2.15 and got the following error # doveadm expunge -u ^o^@dave.s484.qa-team.net mailbox 'INBOX.Junk Mail' SAVEDBEFORE 7d doveadm(^o^@dave.s484.qa-team.net): Error: userdb

Re: [Dovecot] Doveadm sometimes failed to iterate through some users after upgrade to 2.2

2014-12-12 Thread Robert Schetterer
Am 12.12.2014 um 14:45 schrieb David Davidov: Yes, after an upgrade works fine. Hello, Unfortunately this issue hits again. I installed the latest stable version 2.2.15 and got the following error # doveadm expunge -u ^o^@dave.s484.qa-team.net mailbox 'INBOX.Junk Mail' SAVEDBEFORE 7d

Re: [Dovecot] doveadm index - Bug or expected behaviour?

2014-06-13 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 5 Jun 2014, Bruno Galindro da Costa wrote: My ldap config is using the variable %d in base search for domain replacement when dovecot will search for users in LDAP. Its works fine for dovecot operation. But, for doveadm index, not. It

Re: [Dovecot] doveadm index - Bug or expected behaviour?

2014-06-06 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 5 Jun 2014, Bruno Galindro da Costa wrote: My ldap config is using the variable %d in base search for domain replacement when dovecot will search for users in LDAP. Its works fine for dovecot operation. When an user logs into Dovecot, the

Re: [Dovecot] doveadm index - Bug or expected behaviour?

2014-06-06 Thread Bruno Galindro da Costa
ok tks! 2014-06-06 3:16 GMT-03:00 Steffen Kaiser skdove...@smail.inf.fh-brs.de: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 5 Jun 2014, Bruno Galindro da Costa wrote: My ldap config is using the variable %d in base search for domain replacement when dovecot will search for

[Dovecot] doveadm index - Bug or expected behaviour?

2014-06-05 Thread Bruno Galindro da Costa
My ldap config is using the variable %d in base search for domain replacement when dovecot will search for users in LDAP. Its works fine for dovecot operation. But, for doveadm index, not. It ignores that variable and tries to pass a base search without domain. So, the search will not working.

[Dovecot] doveadm fetch fetches mails twice?

2014-06-01 Thread Peer Heinlein
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 As far as I understood fetch -u p.heinl...@jpberlin.de hdr mailbox-guid [...]93d5 uid 58175 should fetch exactly the header of the specified mail. But on my Dovecot 2.2.12 it fetches the header *twice* (same with body, same with text).

[Dovecot] doveadm fts optimize CRASH

2014-05-30 Thread Larry Rosenman
/local/lib/dovecot/doveadm/lib10_doveadm_sieve_plugin.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/dovecot/doveadm/lib10_doveadm_sieve_plugin.so Reading symbols from /usr/local/lib/dovecot-2.2-pigeonhole/libdovecot-sieve.so.0...(no debugging symbols found)...done

[Dovecot] doveadm fts: mbox/lucene-indexes, and other errors

2014-05-27 Thread Larry Rosenman
I turned on fts_autoindex today, and wanted to rescan all my mailboxes Ran doveadm -Dv fts rescan, and garnered: thebighonker.lerctr.org /home/ler/mail $ doveadm -Dv fts rescan doveadm(ler): Debug: Loading modules from directory: /usr/local/lib/dovecot doveadm(ler): Debug: Module loaded

Re: [Dovecot] Doveadm sometimes failed to iterate through some users after upgrade to 2.2

2014-05-09 Thread Alessio Cecchi
Il 09/05/2014 11:50, Timo Sirainen ha scritto: On 9.5.2014, at 10.21, Alessio Cecchi ales...@skye.it wrote: I'm running every week in cron doveadm expunge -A mailbox Spam before 30d and monthly doveadm quota recalc -A. After the upgrade to dovecot 2.2.12 (from 2.1.17), doveadm -A sometimes

Re: [Dovecot] doveadm auth and the nologin extra field

2014-05-05 Thread Timo Sirainen
Not intentional, and since it can cause confusion I removed it: http://hg.dovecot.org/dovecot-2.2/rev/3a5304b63f88 On 18.4.2014, at 10.54, Axel Luttgens axel.luttg...@skynet.be wrote: Hello, Still busy with details... Considering, as in my previous example, a password_query returning '!'

Re: [Dovecot] doveadm auth and the nologin extra field

2014-05-05 Thread Axel Luttgens
Le 5 mai 2014 à 15:25, Timo Sirainen a écrit : Not intentional, and since it can cause confusion I removed it: http://hg.dovecot.org/dovecot-2.2/rev/3a5304b63f88 Hmmm... this was a too easy one. ;-) Once again, many thanks Timo, Axel

Re: [Dovecot] doveadm import : Error creating new mailbox

2014-04-29 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 29 Apr 2014, Administrator BCS wrote: Now trying to manually import some mbox files from the old server into dovecot. Copied a mbox file to the new system, converted it to Maildir with mb2md resulting in a directory containing the new, cur

Re: [Dovecot] doveadm import : Error creating new mailbox

2014-04-29 Thread Administrator BCS
Citeren Steffen Kaiser skdove...@smail.inf.fh-brs.de: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 29 Apr 2014, Administrator BCS wrote: Now trying to manually import some mbox files from the old server into dovecot. Copied a mbox file to the new system, converted it to Maildir

Re: [Dovecot] doveadm import : Error creating new mailbox

2014-04-29 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 29 Apr 2014, Administrator BCS wrote: On Tue, 29 Apr 2014, Administrator BCS wrote: Now trying to manually import some mbox files from the old server into dovecot. Copied a mbox file to the new system, converted it to Maildir with mb2md

Re: [Dovecot] doveadm import : Error creating new mailbox

2014-04-29 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 29 Apr 2014, Administrator BCS wrote: mail_location = maildir:/home/vmail/%d/%n userdb {   args = /etc/dovecot/dovecot-sql.conf.ext   driver = sql } BTW: What home directory are you using? It is not recommended to run with mail (dir)

Re: [Dovecot] doveadm import : Error creating new mailbox

2014-04-29 Thread Administrator BCS
Citeren Steffen Kaiser skdove...@smail.inf.fh-brs.de: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 29 Apr 2014, Administrator BCS wrote: mail_location = maildir:/home/vmail/%d/%n userdb {   args = /etc/dovecot/dovecot-sql.conf.ext   driver = sql } BTW: What home directory are

Re: [Dovecot] doveadm import : Error creating new mailbox

2014-04-29 Thread Steffen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Administrator BCS wrote: Citeren Steffen Kaiser skdove...@smail.inf.fh-brs.de: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 29 Apr 2014, Administrator BCS wrote: mail_location = maildir:/home/vmail/%d/%n userdb { args =

[Dovecot] doveadm auth and the nologin extra field

2014-04-18 Thread Axel Luttgens
Hello, Still busy with details... Considering, as in my previous example, a password_query returning '!' or NULL for the nologin column, depending on an account's status (suspended or not). Let's consider a suspended user some.user. In the case of a successful authentication, one has:

Re: [Dovecot] Doveadm?

2014-03-12 Thread Tommy Berglund
2014-03-11 20:41, Gedalya skrev: doveadm search -u jane@example.org mailbox INBOX | cut -d -f2 | head -n -200 | tr '\n' , | xargs -n1 doveadm expunge -u jane@example.org mailbox INBOX uid basically, get all uid's and use head to cut out all but the last 200, turn that into a comma

[Dovecot] Doveadm?

2014-03-11 Thread Tommy Berglund
I have a question? Is it possible that with doveadm delete all but the last x-number of messages in a folder. For example to retain the last 200 messages in the folder. If it is possible, how do you do it? Something like doveadm expunge -u jane@example.org mailbox xxx Thank you! --

Re: [Dovecot] Doveadm?

2014-03-11 Thread Gedalya
doveadm search -u jane@example.org mailbox INBOX | cut -d -f2 | head -n -200 | tr '\n' , | xargs -n1 doveadm expunge -u jane@example.org mailbox INBOX uid basically, get all uid's and use head to cut out all but the last 200, turn that into a comma separated list, and pass to dovadm

[Dovecot] doveadm mailbox command in multi instance setup

2014-02-22 Thread Peer Heinlein
We're running Dovecot in a multipe instance cluster with individual userdb-querys to different LDAP-Servers. As far as I can see there's no way to use the doveadm mailbox command with different Auth-Sockets or different configurations. While root@dobby4:/etc/dovecot# doveadm user -a /var/run

[Dovecot] doveadm stats top exit with error

2014-01-23 Thread Andreas Schulze
Hello, looks like a cosmetical problem but I like to mention it though: doveadm stats top is interactive. To exit I press as usual CTRL+C and get ^Cdoveadm(root): Error: close(-1[doveadm-stats.c:496]) failed: Interrupted system call It's dovecot-2.2.10. Andreas

[Dovecot] doveadm table formatter: hidden titles may cause misaligned headers

2013-12-01 Thread Julian Reich
Hello, I recently noticed a small bug in the doveadm table formatter: hidden titles may cause the headers to be misaligned. The behavior in question was introduced by commit http://hg.dovecot.org/dovecot-2.2/rev/210282ae46e1 and doveadm -f table quota get -A may be used to reproduce it. Most

Re: [Dovecot] Doveadm with a 2nd Instance

2013-11-03 Thread Chris Lasater
On 11/02/2013 08:32 AM, Timo Sirainen wrote: On 26.9.2013, at 16.11, Chris Lasater vorg...@gmail.com wrote: While testing some more I found out something else. I have an alias set for doveadm so it was running with sudo and that ended up being part of the issue. If doveadm is run as a

Re: [Dovecot] doveadm can't import his own mdboxes

2013-11-02 Thread Timo Sirainen
On 2.10.2013, at 16.46, Peer Heinlein p.heinl...@heinlein-support.de wrote: As you can see, our namespace seperator is . and not /: The problem is, that doveadm isn't able to import his own mdbox-directory: # doveadm import -u max.muster mdbox:mdbox BACKUP all doveadm(max.muster): Error:

Re: [Dovecot] Doveadm with a 2nd Instance

2013-11-02 Thread Timo Sirainen
On 26.9.2013, at 16.11, Chris Lasater vorg...@gmail.com wrote: While testing some more I found out something else. I have an alias set for doveadm so it was running with sudo and that ended up being part of the issue. If doveadm is run as a regular user then the problem goes away

[Dovecot] doveadm: Fatal: open(/dev/tty)

2013-10-22 Thread Dan Langille
I received this message today, and remembered, you can't do that... $ doveadm pw -s SHA512-CRYPT Enter new password: doveadm(dan): Fatal: open(/dev/tty) failed: No such file or directory /pre It seems if you have no tty, you can't create a password. Surely there is a better way to do this?

Re: [Dovecot] doveadm: Fatal: open(/dev/tty)

2013-10-22 Thread Frank de Bot
Hi, It sounds you have forgotten to mount /dev in the jail. You can consult http://www.freebsd.org/doc/handbook/jails-build.html for all steps to do this. Regards, Frank de Bot Dan Langille wrote: I received this message today, and remembered, you can't do that... $ doveadm pw -s

Re: [Dovecot] doveadm: Fatal: open(/dev/tty)

2013-10-22 Thread Dan Langille
On 2013-10-22 14:54, Frank de Bot wrote: Dan Langille wrote: I received this message today, and remembered, you can't do that... $ doveadm pw -s SHA512-CRYPT Enter new password: doveadm(dan): Fatal: open(/dev/tty) failed: No such file or directory /pre It seems if you have no tty, you can't

Re: [Dovecot] doveadm: Fatal: open(/dev/tty)

2013-10-22 Thread Dan Langille
On 2013-10-22 14:52, Dan Langille wrote: I received this message today, and remembered, you can't do that... $ doveadm pw -s SHA512-CRYPT Enter new password: doveadm(dan): Fatal: open(/dev/tty) failed: No such file or directory /pre It seems if you have no tty, you can't create a password.

Re: [Dovecot] doveadm can't import his own mdboxes

2013-10-13 Thread Peer Heinlein
Hi, I'd like to remind to my question / bug-report some days ago. Can anybody help? Peer Original-Nachricht Betreff: [Dovecot] doveadm can't import his own mdboxes Datum: Wed, 02 Oct 2013 15:46:12 +0200 Von: Peer Heinlein p.heinl...@heinlein-support.de An: Dovecot Mailing

Re: [Dovecot] Doveadm with a 2nd Instance

2013-10-11 Thread /dev/rob0
On Wed, Oct 09, 2013 at 02:24:04PM -0400, Chris Lasater wrote: I figured this one out. The bug is associated with the default run/dovecot base_dir. If you move both instances to a different location then (or at least the one named dovecot) it works fine and I can control both instances

Re: [Dovecot] Doveadm with a 2nd Instance

2013-10-09 Thread Chris Lasater
Hey Rob, I figured this one out. The bug is associated with the default run/dovecot base_dir. If you move both instances to a different location then (or at least the one named dovecot) it works fine and I can control both instances properly. Chris On 09/26/2013 09:02 AM, /dev/rob0

[Dovecot] doveadm can't import his own mdboxes

2013-10-02 Thread Peer Heinlein
We're running Dovecot 2.1.17 on Debian: # 2.1.17 (9efbc0731929): /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-042stab078.27.debug i686 Debian 7.1 simfs and we're having this namespace configuration: mail_location = mdbox:/var/mail/%Ld/%Ln/mdbox namespace inbox { disabled = no hidden = no

Re: [Dovecot] Doveadm with a 2nd Instance

2013-09-30 Thread Chris Lasater
Could this bug have reappeared or not been passed to the 2.2.x release? On 09/26/2013 07:06 PM, Daniel Parthey wrote: Hi, this bug should have been fixed by Timo in some 2.1.x release. The issue should be in the list archives too. Which version are you using? BTW: I'm still using doveadm -c

Re: [Dovecot] Doveadm with a 2nd Instance

2013-09-26 Thread /dev/rob0
On Thu, Sep 26, 2013 at 12:45:01AM -0400, Chris Lasater wrote: I am trying to use 2 instances of Dovecot on the same server so I can have a Director managing my connections, everything appears to be working, but I can not use doveadm to control my 2nd instance, but doveconf seems to work

Re: [Dovecot] Doveadm with a 2nd Instance

2013-09-26 Thread Chris Lasater
While testing some more I found out something else. I have an alias set for doveadm so it was running with sudo and that ended up being part of the issue. If doveadm is run as a regular user then the problem goes away [user@server ~]$ doveadm -i Director log find Debug:

Re: [Dovecot] Doveadm with a 2nd Instance

2013-09-26 Thread Daniel Parthey
Hi, this bug should have been fixed by Timo in some 2.1.x release. The issue should be in the list archives too. Which version are you using? BTW: I'm still using doveadm -c /etc/dovecot-director/dovecot- director.conf director status to address the director instance. Regards Daniel

Re: [Dovecot] Doveadm with a 2nd Instance

2013-09-26 Thread Chris
I upgraded to 2.2.6 yesterday and was one 2.2.5 before. On 09/26/2013 07:06 PM, Daniel Parthey wrote: Hi, this bug should have been fixed by Timo in some 2.1.x release. The issue should be in the list archives too. Which version are you using? BTW: I'm still using doveadm -c

[Dovecot] Doveadm with a 2nd Instance

2013-09-25 Thread Chris Lasater
Hi Guys, I am trying to use 2 instances of Dovecot on the same server so I can have a Director managing my connections, everything appears to be working, but I can not use doveadm to control my 2nd instance, but doveconf seems to work fine. [user@server logs]$ doveconf -i Director | grep

[Dovecot] doveadm mailbox create error codes

2013-09-23 Thread Micah Anderson
Hello, I'm trying to find out what the different 'doveadm mailbox create' error codes are. I've been looking through the source, but I can't seem to find them. I did determine that '65' happens when Error: Can't create mailbox x: Mailbox already exists, but I've also received error 67, and the

[Dovecot] doveadm sync only creates directories, don't sync messages?

2013-09-21 Thread Matthew Kaufman
Running Dovecot 2.1.7. I'm trying to migrate from an environment with mbox files to a maildir configuration. I remove all vestiges of my maildir over in /var/mail I put my old mailboxes in ./Mail and my old inbox in ./matthew. I issue this command: doveadm sync -u matt...@matthew.at

Re: [Dovecot] doveadm expunge problems

2013-09-06 Thread nicolasfo
I just tried the doveadm search command : doveadm search -u *@mydomain.fr MAILBOX Junk : this command lists all emails in Junk users folders : OK doveadm search -u *@mydomain.fr MAILBOX Junk savedbefore 1d : don't lists anything.. What am I missed ? Is this the good way to change file date

Re: [Dovecot] doveadm expunge problems

2013-09-06 Thread Joseph Tam
nicolasfo wrote: doveadm search -u *@mydomain.fr MAILBOX Junk savedbefore 1d : don't lists anything.. What am I missed ? Is this the good way to change file date (touch) and by this way, have results to savedbefore command ? No. The date.saved value is (I think) stored in its indices, and

Re: [Dovecot] doveadm move command

2013-06-24 Thread Timo Sirainen
On 21.6.2013, at 17.50, vincent truc vincent_graphi...@hotmail.com wrote: I want to transfer an email from us...@domain.com to put it in a folder of another user: us...@domain.com For that, it seems to me appropriate to use 'doveadm move' command, but I can not get the right result. Can

[Dovecot] doveadm move command

2013-06-21 Thread vincent truc
Hello I want to transfer an email from us...@domain.com to put it in a folder of another user: us...@domain.com For that, it seems to me appropriate to use 'doveadm move' command, but I can not get the right result. Can you help me? syntax: doveadm move [-u user|-A] [-S socket_path]

[Dovecot] doveadm move syntax

2013-06-20 Thread vincent truc
Hello I want to forward an email to us...@domain.com box to the box us...@domain.com For this I try to use 'doveadm move', but I'm having problems with the syntax. Could you give me an example please? thanks

Re: [Dovecot] doveadm move syntax

2013-06-20 Thread Thomas Harold
On 6/19/2013 10:25 PM, vincent truc wrote: Hello I want to forward an email to us...@domain.com box to the box us...@domain.com For this I try to use 'doveadm move', but I'm having problems with the syntax. Could you give me an example please? Assuming that you looked at man doveadm-move

Re: [Dovecot] doveadm index crashes when indexing shared mailboxes

2013-06-18 Thread W. de Hoog
Hi, We store our mail archive in a tree of subfolders. I am trying to speed up text searching on our mail archive but when running doveadm -D -v index -u neil shared/Exalon/Aandeelhouders the following output is produced: .. doveadm(neil): Panic: file mbox-storage.c: line 711

Re: [Dovecot] doveadm index crashes when indexing shared mailboxes

2013-06-16 Thread Timo Sirainen
On 10.6.2013, at 14.56, W. de Hoog wdeh...@exalondelft.nl wrote: We store our mail archive in a tree of subfolders. I am trying to speed up text searching on our mail archive but when running doveadm -D -v index -u neil shared/Exalon/Aandeelhouders the following output is produced: ..

Re: [Dovecot] doveadm altmove to gzipped-mdbox

2013-05-20 Thread Claus
Timo, thanks for your answer. If i understand this correctly than it's not possible to work in primary storage with uncompressed mdbox (because of better performance) and move older Mails to alternate storage in compressed Format. Am 19.05.2013 21:34, schrieb Timo Sirainen: On Fri,

Re: [Dovecot] doveadm altmove to gzipped-mdbox

2013-05-19 Thread Timo Sirainen
On Fri, 2013-05-17 at 15:59 +0200, Claus wrote: Hi, im wondering if it's possible to store old messages in a compressed mdbox on alternate storage. The main storage is uncompressed mdbox. I tried something like: doveadm -Dv -o plugin/zlib_save=gz altmove -u testuser sentbefore 8d

[Dovecot] doveadm altmove to gzipped-mdbox

2013-05-17 Thread Claus
Hi, im wondering if it's possible to store old messages in a compressed mdbox on alternate storage. The main storage is uncompressed mdbox. I tried something like: doveadm -Dv -o plugin/zlib_save=gz altmove -u testuser sentbefore 8d Could someone tell me if it's possible and give me a hint

Re: [Dovecot] doveadm search causes replication error message

2013-05-06 Thread Timo Sirainen
On 25.4.2013, at 11.51, Oli Schacher dove...@lists.wgwh.ch wrote: # 2.2.1 (83d83f55e5c2+) / dsync replicated setup I just noticed that 'doveadm search' apparently tries to replicate mailboxes and spits out errors if a mailbox in the search query is not found: #doveadm search -u

Re: [Dovecot] doveadm search causes replication error message

2013-05-06 Thread Oli Schacher
On Mon, 6 May 2013 17:30:51 +0300 Timo Sirainen t...@iki.fi wrote: Not related to replication, but yeah, probably better to just ignore nonexistent mailboxes. Changed in hg. ah, sorry, I thought Syncing mailbox meant dsync. Anyway, thanks for the fix! -- message transmitted on 100%

[Dovecot] doveadm search causes replication error message

2013-04-25 Thread Oli Schacher
Hi # 2.2.1 (83d83f55e5c2+) / dsync replicated setup I just noticed that 'doveadm search' apparently tries to replicate mailboxes and spits out errors if a mailbox in the search query is not found: #doveadm search -u u...@example.com mailbox Spamreport doveadm(u...@example.com): Error: Syncing

Re: [Dovecot] doveadm mailbox list/stats etc. and shared mailboxes/ACLs

2013-04-04 Thread Timo Sirainen
On 2.4.2013, at 15.37, Lutz Preßler lutz.press...@sernet.de wrote: Only user1.test and user1.test.test2 have ACLs that allow testuser to access them. host:~# doveadm mailbox status -u testuser all INBOX.shared.user1.privat INBOX.shared.user1.privat messages=37 recent=0 uidnext=70

Re: [Dovecot] doveadm mailbox list/stats etc. and shared mailboxes/ACLs

2013-04-04 Thread Lutz Preßler
Hello Timo, On Thu, 04 Apr 2013, Timo Sirainen wrote: On 2.4.2013, at 15.37, Lutz Preßler lutz.press...@sernet.de wrote: Only user1.test and user1.test.test2 have ACLs that allow testuser to access them. host:~# doveadm mailbox status -u testuser all INBOX.shared.user1.privat

Re: [Dovecot] doveadm mailbox list/stats etc. and shared mailboxes/ACLs

2013-04-04 Thread Timo Sirainen
On 5.4.2013, at 0.48, Lutz Preßler lutz.press...@sernet.de wrote: Only user1.test and user1.test.test2 have ACLs that allow testuser to access them. host:~# doveadm mailbox status -u testuser all INBOX.shared.user1.privat INBOX.shared.user1.privat messages=37 recent=0 uidnext=70

[Dovecot] doveadm mailbox list/stats etc. and shared mailboxes/ACLs

2013-04-02 Thread Lutz Preßler
Hello, 2.2.0rc3: host:~# doveadm mailbox list -u testuser INBOX INBOX.test INBOX.bla INBOX.bla.blubb INBOX.shared INBOX.virtual INBOX.shared.user1 INBOX.shared.user1.privat INBOX.shared.user1.test INBOX.shared.user1.test.test2 INBOX.shared.user1.Trash INBOX.shared.user1.in2009 [... all mailboxes

Re: [Dovecot] doveadm with multiple commands

2013-03-25 Thread Timo Sirainen
On Mon, 2012-09-24 at 23:24 +0200, Daniel Parthey wrote: Timo Sirainen wrote: doveadm multi [-A | -u wildcards] separator string comand 1 [separator string command 2 [...]] .. Ok, so how about batch? It reads a series of commands and collects them into one batch job which is then

[Dovecot] doveadm password check

2013-03-11 Thread Thomas Pries
Hi, I want to write some php code that users can change there dovecot password via a roundcube plugin. I'm using php function crypt(...) to generate the hashes and everything works well so far. I'm using doveadm pw to generate testhashes e.g.: srv:~ # doveadm pw -r 5 -s BLF-CRYPT -p abc

Re: [Dovecot] doveadm password check

2013-03-11 Thread Professa Dementia
On 3/11/2013 12:20 PM, Thomas Pries wrote: Hi, I want to write some php code that users can change there dovecot password via a roundcube plugin. I'm using php function crypt(...) to generate the hashes and everything works well so far. I'm using doveadm pw to generate testhashes e.g.: srv:~

Re: [Dovecot] doveadm password check

2013-03-11 Thread Pascal Volk
On 03/11/2013 08:20 PM Thomas Pries wrote: Hi, I want to write some php code that users can change there dovecot password via a roundcube plugin. I'm using php function crypt(...) to generate the hashes and everything works well so far. I'm using doveadm pw to generate testhashes

Re: [Dovecot] doveadm password check

2013-03-11 Thread Thomas Pries
Hi, On 11.03.2013 22:41, Pascal Volk wrote: On 03/11/2013 08:20 PM Thomas Pries wrote: I expected an ok ... Usage would be: doveadm pw -t '{BLF-CRYPT}$2a$05$W82/Vw4ZEcHBC00M8cNwe.g8fOHuAeV7L5Q/q4W6VWl9V5kjoiz8y' Your shell expands $2a and $05$W8… to empty strings Thanks, sometimes

Re: [Dovecot] doveadm search not showing expected results

2013-02-26 Thread btb
On Feb 25, 2013, at 01.45, Timo Sirainen t...@iki.fi wrote: On 25.2.2013, at 4.50, b...@bitrate.net wrote: i'm running doveadm search: doveadm search -A mailbox sent savedbefore 365d and it's returning no results. a similar command does return some results: doveadm search -A

[Dovecot] doveadm search not showing expected results

2013-02-24 Thread btb
i'm running doveadm search: doveadm search -A mailbox sent savedbefore 365d and it's returning no results. a similar command does return some results: doveadm search -A mailbox sent savedbefore 120d | grep -iF 'jdoe' jdoe 7b9a8b0b7d37504fe72c55e4fe9a 65 jdoe

Re: [Dovecot] doveadm search not showing expected results

2013-02-24 Thread Timo Sirainen
On 25.2.2013, at 4.50, b...@bitrate.net wrote: i'm running doveadm search: doveadm search -A mailbox sent savedbefore 365d and it's returning no results. a similar command does return some results: doveadm search -A mailbox sent savedbefore 120d | grep -iF 'jdoe' jdoe

Re: [Dovecot] doveadm user error messages

2013-02-22 Thread Thomas Leuxner
* Timo Sirainen t...@iki.fi 2013.02.22 14:35: $ doveadm user foo $ echo $? 67 Fixed: http://hg.dovecot.org/dovecot-2.2/rev/bf817bc963f7 Looks good now. Thanks. signature.asc Description: Digital signature

[Dovecot] doveadm -D quota get -u user

2013-02-16 Thread Robert Schetterer
Hi Timo, just running into problems with doveadm -D quota get -u user doveadm(root): Debug: Loading modules from directory: /usr/lib/dovecot/modules doveadm(root): Debug: Module loaded: /usr/lib/dovecot/modules/lib01_acl_plugin.so doveadm(root): Debug: Module loaded:

Re: [Dovecot] doveadm -D quota get -u user

2013-02-16 Thread Daniel Parthey
Hi Robert, Robert Schetterer wrote: dovecot --version 2.1.12 (abcc9959b757) just running into problems with doveadm -D quota get -u user doveadm(root): Fatal: Unknown command 'quota', but plugin quota exists. Try to set mail_plugins=quota should mail_plugins=quota really be set ?

Re: [Dovecot] doveadm -D quota get -u user

2013-02-16 Thread Robert Schetterer
Am 16.02.2013 17:27, schrieb Daniel Parthey: Hi Robert, Robert Schetterer wrote: dovecot --version 2.1.12 (abcc9959b757) just running into problems with doveadm -D quota get -u user doveadm(root): Fatal: Unknown command 'quota', but plugin quota exists. Try to set mail_plugins=quota

[Dovecot] doveadm migration: Warning: I/O leak

2013-01-28 Thread Gedalya
This seems to be happening only when using the pop3c plugin. Any advice? root@imap01:/etc/dovecot# doveadm -D -o imapc_user=chat_l...@xx.com -o 'imapc_password=***' -o pop3c_user=chat_l...@xx.com -o 'pop3c_password=*' backup -u chat_l...@xx.com -R imapc: doveadm(root

Re: [Dovecot] doveadm migration: Warning: I/O leak

2013-01-28 Thread Gedalya
On 01/28/2013 11:55 PM, Gedalya wrote: This seems to be happening only when using the pop3c plugin. I meant the pop3_migration plugin.

[Dovecot] doveadm user error messages

2013-01-27 Thread Thomas Leuxner
I use 'doveadm user' in some scripts and the exit codes are fine for my purposes. During tests it transpired that Dovecot 2.1 would give an error message when querying for non-existent users. Dovecot 2.2 just exits without a word. Not sure this is intended behaviour: $ doveadm user foo $ echo

Re: [Dovecot] doveadm acl recalc (was Re: v2.1.11 soon)

2013-01-14 Thread Timo Sirainen
On Wed, 2012-11-28 at 10:42 +0100, Steffen Kaiser wrote: On Tue, 27 Nov 2012, Timo Sirainen wrote: Just to let you know: I'm planning on releasing v2.1.11 today/tomorrow. If you wish to get something fixed for it, ask quickly. :) doveadm acl recalc -u user to update ACL backend

Re: [Dovecot] doveadm backup issue with ACL plugin enabled

2013-01-04 Thread Thomas Leuxner
Am 04.01.2013 um 04:30 schrieb Timo Sirainen t...@iki.fi: http://hg.dovecot.org/dovecot-2.1/rev/721aba9128b9 I'll pull it to v2.2 among other changes today/tomorrow. Thanks. This makes me wonder what concept will be used for replicating/backing up ACLs going forward? Ideally those should

Re: [Dovecot] doveadm backup issue with ACL plugin enabled

2013-01-04 Thread Timo Sirainen
On Fri, 2013-01-04 at 12:19 +0100, Thomas Leuxner wrote: Am 04.01.2013 um 04:30 schrieb Timo Sirainen t...@iki.fi: http://hg.dovecot.org/dovecot-2.1/rev/721aba9128b9 I'll pull it to v2.2 among other changes today/tomorrow. Thanks. This makes me wonder what concept will be used for

Re: [Dovecot] doveadm backup issue with ACL plugin enabled

2013-01-04 Thread Thomas Leuxner
Am 04.01.2013 um 22:38 schrieb Timo Sirainen t...@iki.fi: Yeah.. I guess dsync will need to handle them. I've thought about this for a few years and always thought hopefully I won't need to implement that soon. :) One of the steps surely beneficial to this would be implementing single file

Re: [Dovecot] doveadm backup issue with ACL plugin enabled

2013-01-04 Thread Timo Sirainen
On 5.1.2013, at 0.50, Thomas Leuxner t...@leuxner.net wrote: Am 04.01.2013 um 22:38 schrieb Timo Sirainen t...@iki.fi: Yeah.. I guess dsync will need to handle them. I've thought about this for a few years and always thought hopefully I won't need to implement that soon. :) One of the

Re: [Dovecot] doveadm backup issue with ACL plugin enabled

2013-01-03 Thread Timo Sirainen
On 2.1.2013, at 13.41, Thomas Leuxner t...@leuxner.net wrote: when trying to backup mailboxes I noticed some hiccups when the ACL plugin is enabled. It works fine with ACL disabled: $ doveadm -o plugin/quota= backup -u t...@leuxner.net mdbox:/home/backups/tlx/mdbox However, enabled

[Dovecot] doveadm backup issue with ACL plugin enabled

2013-01-02 Thread Thomas Leuxner
Hi, when trying to backup mailboxes I noticed some hiccups when the ACL plugin is enabled. It works fine with ACL disabled: $ doveadm -o plugin/quota= backup -u t...@leuxner.net mdbox:/home/backups/tlx/mdbox However, enabled (and w/ a mailbox actually using ACLs) the following error occurs:

Re: [Dovecot] doveadm-lda - segfault

2012-12-20 Thread Kamil Jońca
Timo Sirainen t...@iki.fi writes: On Tue, 2012-12-11 at 23:15 +0100, Kamil Jońca wrote: #0 0x7f99d591fe6f in mail_storage_try_copy (mail=0x198dbb0, _ctx=0x7fff8914fc28) at mail-copy.c:56 56 mail-copy.c: No such file or directory. raw-storage's envelope_sender is NULL. Fixed Dovecot

[Dovecot] doveadm-lda - segfault

2012-12-11 Thread Kamil Jońca
I have simple old message: --8---cut here---start-8--- X-Mozilla-Status: 0011 X-Mozilla-Status2: Date: Wed, 26 Jan 2000 13:38:41 +0100 From: Kamil Jonca kjonca@localhost.localdomain To: Somebody X x...@tiger.com.pl Subject: Re: Opisy Message-ID:

Re: [Dovecot] doveadm-lda - segfault

2012-12-11 Thread Pascal Volk
On 12/11/2012 11:18 AM Kamil Jońca wrote: When I try to dovecot-lda message.txt (for sieve refiltering) I got segmentation fault. Does it is bug in lda, or message does not keep standards? KJ I've saved your example message and delivered it twice (Dovecot 2.1.11 and 2.0.21). I'm

Re: [Dovecot] doveadm-lda - segfault

2012-12-11 Thread Kamil Jońca
Pascal Volk user+dove...@localhost.localdomain.org writes: On 12/11/2012 11:18 AM Kamil Jońca wrote: When I try to dovecot-lda message.txt (for sieve refiltering) I got segmentation fault. Does it is bug in lda, or message does not keep standards? KJ I've saved your example message

  1   2   3   4   5   >