Batching quota clone updates

2020-04-23 Thread micah anderson
in delivery to every user on the system, then can be quite overwhelming for a sql server to do an update for every user. Thanks! -- micah

Re: LDA-based vacation responses bouncing

2019-05-14 Thread micah anderson via dovecot
> Thanks for any suggestions, Looks like my virtual_mailbox_domains setting in postfix was not doing the proper lookup, so it thought my domain was local. I've fixed that, so this is no longer an issue.

LDA-based vacation responses bouncing

2019-05-14 Thread micah anderson via dovecot
I've got dovecot vacataion auto-responses working via sieve, but when the responses are sent, they are sent as if they are to be locally delivered, which causes them to bounce for domains that I am not local for. How can I get dovecot's sieve vacation response to check the domain is local or

Re: corrupted indexes rebuilding over and over

2017-06-05 Thread micah
s that it cannot be automatically recreated, so if I nuke them, will force-resync be able to re-create them? Is force-resync not 'automatic'? thanks, micah

corrupted indexes rebuilding over and over

2017-06-05 Thread micah
driving users mad, and they keep going over quota as their space fills. thanks! micah

Benchmarking auth

2017-01-25 Thread micah anderson
nd: 1 LOGIN "test" "testpw" - 25 stalled for 16 secs in command: 1 LOGIN "test" "testpw" ... it starts to build up like this, until I hit control-c twice: - 100 stalled for 17 secs in command: 1 LOGIN "test" "testpw" ^CInfo: Received second SIGINT - stopping immediately 11347 118 ms/cmd avg Totals: Logi Logo 100% 100% 130 134 What are these totals? Thanks! micah

making a plugin encrypt index data

2016-12-16 Thread micah anderson
in a plugin? I can turn off those indexes by passing INDEX=MEMORY, but that isn't possible if I use sdbox/mdbox. thanks for any suggestions! micah 0. https://0xacab.org/riseuplabs/tofu-scrambler

Re: overview zlib efficiency?

2016-03-15 Thread micah
Andrew McGlashan writes: > On 16/03/2016 2:01 AM, Götz Reinicke - IT Koordinator wrote: >> Hi, >> >> may be someone has already done that: Do you have a script(?) tool which >> shows the efficiency of the mail compression if zlib is used? >> >> Something

RE: Dovecot Bulletin

2016-02-22 Thread micah
Using doveadm copy is an interesting solution because of the hardlinking. I wonder how fast it is, because almost every time I use the -A flag, the iterations over 100k users takes a long time. We email the 'bulletin' to all of our users, everyone gets a copy, that way an admin doesn't need to

migration from zimbra to dovecot

2015-10-21 Thread micah
Hello, Are there any migration scripts to handle UID conversion for moving from a zimbra setup to dovecot? It would be nice to move all the mail without having re-download it all! thanks! micah ps - asking for a friend

Re: Thanks for Dovecot

2015-10-13 Thread micah
ou! > > Agreed! Thank you! I want to jump on the puppy pile of love... I've used a lot of different IMAP software over the decades, and dovecot has been a breath of fresh air and a huge relief compared to what I've suffered through in the past! Thanks Timo for all your hard work, it really is appreciated! micah

Re: Couldn't set transaction log view (seq 9..13)

2015-05-25 Thread micah
error that doesn't seem to self-heal: # /usr/bin/dsync -u micah backup ssh -i /root/.ssh/id_rsa backmaildir@internal.example /usr/bin/dsync -u micah dsync-remote(micah): Error: /srv/maildirbackups/m/micah/daily.1/mailboxes/INBOX/dbox-Mails/dovecot.index: Couldn't set transaction log view

Re: setting service_count results in Permission denied

2015-04-07 Thread micah
Steffen Kaiser skdove...@smail.inf.fh-brs.de writes: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 6 Apr 2015, Micah Anderson wrote: service imap { service_count = 100 } where do you put this config line? I put it as I indicated in the config block below: service imap

setting service_count results in Permission denied

2015-04-06 Thread Micah Anderson
# this UNIX socket listener must use the same name as given to imap executable unix_listener imap-postlogin { } } This is with dovecot 2.2.13, thanks for any help you can provide! micah

Re: Install process breaks its self by design

2015-04-01 Thread micah
Merlin at Desktop Masters mer...@desktopmasters.com writes: Correct Correct Correct And when I went to the page it lead me here. Whomever is making the .deb packages needs to be made aware of this. Can you please point me into a direction? http://bugs.debian.org Specifically:

Couldn't set transaction log view (seq 9..13)

2015-04-01 Thread micah anderson
backmaildir@internal.example /usr/bin/dsync -u micah dsync-remote(micah): Error: /srv/maildirbackups/m/micah/daily.1/mailboxes/INBOX/dbox-Mails/dovecot.index: Couldn't set transaction log view (seq 9..13) dsync-remote(micah): Error: Failed to read transaction log for mailbox INBOX Re-running the dsync

Limit confusion

2014-07-08 Thread Micah Anderson
Hi, On one of my dovecot servers, i've got a limit problem... and I'm a little confused about which knobs I should adjust to solve it. I've been getting both of these: Error: net_connect_unix(imap) failed: Resource temporarily unavailable - http://wiki2.dovecot.org/SocketUnavailableess This

[Dovecot] default client_limit

2013-09-23 Thread Micah Anderson
to tune it up to do that. micah

[Dovecot] doveadm mailbox create error codes

2013-09-23 Thread Micah Anderson
, and the more mysterious error code 16640. Thanks for any pointers! micah

[Dovecot] Migrating from dovecot 2.1 to 2.2

2013-09-13 Thread Micah Anderson
is all mail is marked as unread, and I get some old index cruft left around in the directories. How can I preserve the seen/unseen flags in such a migration? Thanks! micah

[Dovecot] More fine-grained connection limitations?

2013-09-07 Thread Micah Anderson
to often and connections have been disabled for the next 5 minutes or something. Micah ps - what happens to a user when they hit mail_mx_userip_connections? Further connections are just denied, or dropped?

[Dovecot] Dovecot antispam plugin for 2.2

2013-08-21 Thread Micah Anderson
/micah/debian/dovecot-antispam/dovecot-antispam-2.0+20120225' cc -DHAVE_CONFIG_H -I/usr/include/dovecot/ -I/usr/include/dovecot/src/ -I/usr/include/dovecot/src/lib/ -I/usr/include/dovecot/src/lib-storage/ -I/usr/include/dovecot/src/lib-mail/ -I/usr/include/dovecot/src/lib-imap/ -I/usr/include

Re: [Dovecot] DRAC plugin for Dovecot-2.x

2013-08-19 Thread micah anderson
, but it fails to compile as it is looking for network.h include file, and that doesn't appear to exist any longer in 2.2. Do you have plans to make a newer version of this plugin? thanks, micah

Re: [Dovecot] dsync timeout?

2013-02-08 Thread micah anderson
Sean Kamath kam...@moltingpenguin.com writes: On Jan 30, 2013, at 3:46 PM, micah anderson mi...@riseup.net wrote: Seems that only the above process was still around and no other dsync processes. I have three machines that all have this happening it seems. I wonder if there is a ssh

Re: [Dovecot] dsync timeout?

2013-02-01 Thread micah anderson
Sean Kamath kam...@moltingpenguin.com writes: On Jan 30, 2013, at 3:46 PM, micah anderson mi...@riseup.net wrote: Seems that only the above process was still around and no other dsync processes. I have three machines that all have this happening it seems. I wonder if there is a ssh

[Dovecot] dsync timeout?

2013-01-30 Thread Micah Anderson
that will look for dsync processes that are over a certain amount of time old and then kill them, after I do that I will need to take a shower because that is a very dirty solution :P thanks for any ideas, or help! micah --

[Dovecot] Error: Internal quota calculation error

2012-10-31 Thread Micah Anderson
can provide, dovecot is great! micah -- pgpwF2qsdIGgP.pgp Description: PGP signature

Re: [Dovecot] mailboxes missing after upgrade from 2.1.4 to 2.1.7

2012-07-09 Thread Micah Anderson
Micah Anderson mi...@riseup.net writes: I mentioned this on the #dovecot irc channel, but I thought I would post here so I can provide more details. The basic problem is that when I upgraded from 2.1.4 to 2.1.7, some users no longer are able to see their folders in pine/alpine. The folders

[Dovecot] mailboxes missing after upgrade from 2.1.4 to 2.1.7

2012-07-02 Thread Micah Anderson
: This process must not be run as root it didn't open even the INBOX imap folder I went over the http://wiki2.dovecot.org/Debugging/Rawlog and made sure everything was correct there, but it still didn't work right. Any ideas or suggestions of things to try would be greatly appreciated! thanks, micah --

Re: [Dovecot] Dsync automation

2012-04-02 Thread Micah Anderson
server you will need to decide what to do with the data. I've been rotating it on a daily basis to try and get several daily backups, then some weekly, and monthly. I've been working on a backupninja[0] handler to do dsync backups, but its still rough. micah 0. https://labs.riseup.net/code/projects

[Dovecot] 2.1.3: doveadm mailbox delete lost the -s option

2012-04-02 Thread Micah Anderson
still is shown as valid :) micah --

Re: [Dovecot] dsync redesign

2012-04-02 Thread Micah Anderson
Charles Marcus cmar...@media-brokers.com writes: On 2012-03-27 11:47 AM, Micah Anderson mi...@riseup.net wrote: One would be the ability to perform *intelligent* incremental / rotated backups. I can do this now by running a dsync backup operation and then doing manual hardlinking or moving

Re: [Dovecot] dsync redesign

2012-03-27 Thread Micah Anderson
to fix things! micah

Re: [Dovecot] dovecot 2.1.3 dsync Unexpected finish reply

2012-03-23 Thread Micah Anderson
Micah Anderson mi...@riseup.net writes: dsync-local(u...@example.com): Error: Unexpected finish reply: by ims-d13.mx.aol.com (8.14.1/8.14.1) with ESMTP id q2LEhqXZ017169; dsync-local(u...@example.com): Error: Unexpected reply from server:Wed, 21 Mar 2012 10:43:52 -0400 dsync

[Dovecot] doveadm user -f index

2012-03-23 Thread Micah Anderson
! micah --

[Dovecot] dovecot 2.1.3 dsync Unexpected finish reply

2012-03-22 Thread Micah Anderson
. Running dsync again seems to resolve things, but there seems to be a bug here that is causing unexpected results to leak through to the dsync process? thanks, micah

Re: [Dovecot] Antispam plugin not compatible with Dovecot 2.1

2012-03-20 Thread Micah Anderson
... :) I notice that Johannes hasn't made a 2.1 version of the anti-spam plugin, Eugene were you able to build one successfully? If so, would you be willing to share your changes that were required to make it work? thanks, micah

Re: [Dovecot] dot named folders

2012-03-12 Thread Micah Anderson
Robert Schetterer rob...@schetterer.org writes: Am 08.03.2012 17:27, schrieb Micah Anderson: Willie Gillespie wgillespie+dove...@es2eng.com writes: On 03/07/2012 12:43 PM, Micah Anderson wrote: When a user makes a folder called 'x.y' it actually creates a folder called 'x' with a folder

Re: [Dovecot] mdbox + gzip and rsync

2012-03-12 Thread Micah Anderson
grow infinitely. It does appear that using an rsync backup process for mdbox would not be able to detect this and backups would also grow infinitely. micah --

Re: [Dovecot] dot named folders

2012-03-08 Thread Micah Anderson
Willie Gillespie wgillespie+dove...@es2eng.com writes: On 03/07/2012 12:43 PM, Micah Anderson wrote: When a user makes a folder called 'x.y' it actually creates a folder called 'x' with a folder called 'y' inside, rather than a folder called 'x.y'. I'm guessing this has to do

Re: [Dovecot] seeking advice: dovecot versions; mailbox formats.

2012-03-08 Thread Micah Anderson
Vincent Schut sc...@sarvision.nl writes: Debian currently has dovecot 1.2.15 in its repositories; not that much newer... No, Debian has 1.2.15 in its /stable (squeeze)/ repositories, there are newer versions available in other Debian repositories. micah

[Dovecot] dot named folders

2012-03-07 Thread Micah Anderson
that the conversion is finished? thanks for any suggestions, I've got my head mixed up on this issue, micah --

Re: [Dovecot] expunging

2012-02-18 Thread micah anderson
On Sat, 18 Feb 2012 18:52:57 +0200, Timo Sirainen t...@iki.fi wrote: On 17.2.2012, at 20.25, Micah Anderson wrote: /usr/bin/doveadm expunge -A mailbox Trash* savedbefore 21d /usr/bin/doveadm expunge -A mailbox Spam savedbefore 7d /usr/bin/doveadm expunge -A mailbox Sent savedbefore 120d

Re: [Dovecot] 2.1 upgrade docs?

2012-02-17 Thread Micah Anderson
Marc Perkel m...@perkel.com writes: Just wondering if there's any upgrade docs for 2.1 online? yes there are. (hint: search terms dovecot upgrade)

[Dovecot] expunging

2012-02-17 Thread Micah Anderson
, but unfortuntely, that isn't how these systems were designed. thanks for any ideas, tips etc. micah pgpcDBpKXjq4y.pgp Description: PGP signature

[Dovecot] dovecot-antispam: pipe backend with spamc failing to parse args

2011-12-14 Thread Micah Anderson
code 64 is spamc's exit code for command line usage error - but I can't see exactly the command that is being constructed by dovecot-antispam to know where the error is. Any ideas? micah -- pgpvqEZKd1stL.pgp Description: PGP signature

Re: [Dovecot] overriding userdb connection host for doveadm-user

2011-12-08 Thread micah anderson
On Thu, 08 Dec 2011 06:22:58 +0200, Timo Sirainen t...@iki.fi wrote: On Wed, 2011-12-07 at 13:02 -0500, Micah Anderson wrote: I've got my users in a replicated database setup and dovecot configured with two connect lines in dovecot-sql.conf: connect = host=127.0.0.1 port=3306 dbname

[Dovecot] overriding userdb connection host for doveadm-user

2011-12-07 Thread Micah Anderson
not sure that I can specify one of the specific 'connect' lines in my configuration to check. Is there a way to override that configuration variable to do this test? I tried various incarnations of passing '-o connect=host='... but doveadm user would just ignore them. thanks for any suggestions! micah

Re: [Dovecot] dovecot-lda quota rule

2011-12-01 Thread Micah Anderson
micah anderson mi...@riseup.net writes: On Wed, 16 Nov 2011 11:09:12 -0500, micah anderson mi...@riseup.net wrote: On Tue, 15 Nov 2011 22:27:20 +0200, Timo Sirainen t...@iki.fi wrote: On Thu, 2011-11-10 at 13:59 -0500, Micah Anderson wrote: I really like the feature where you can define

Re: [Dovecot] dovecot-lda quota rule

2011-11-29 Thread micah anderson
On Wed, 16 Nov 2011 11:09:12 -0500, micah anderson mi...@riseup.net wrote: On Tue, 15 Nov 2011 22:27:20 +0200, Timo Sirainen t...@iki.fi wrote: On Thu, 2011-11-10 at 13:59 -0500, Micah Anderson wrote: I really like the feature where you can define quota rules with percents which trigger

Re: [Dovecot] Indexes to MLC-SSD

2011-11-28 Thread Micah Anderson
Dovecot-GDH ghandidrivesahum...@rocketfish.com writes: If I/O performance is a concern, you may be interested in ZFS and Flashcache. Specifically, ZFS' ZIL (ZFS Intent Log) and its L2ARC (Layer 2 Adaptive Read Cache) ZFS does run on Linux http://zfs-fuse.net Flashcache:

[Dovecot] doveadm import assertion failed

2011-11-23 Thread Micah Anderson
/doveadm() [0x40a95d] - /usr/bin/doveadm(doveadm_mail_try_run+0x141) [0x40ad71] - /usr/bin/doveadm(main+0x381) [0x4107e1] - /lib/libc.so.6(__libc_start_main+0xfd) [0x7f0514b2dc4d] - /usr/bin/doveadm() [0x409e59] This is with 2.0.15. Micah -- pgpF07fgRXSq0.pgp Description: PGP signature

Re: [Dovecot] dsync problems

2011-11-17 Thread micah anderson
On Tue, 15 Nov 2011 22:43:24 +0200, Timo Sirainen t...@iki.fi wrote: On Tue, 2011-11-15 at 14:24 -0500, Micah Anderson wrote: When a user renames their username, I am using dsync to copy their mail over to the new username's mail location[0]. Some of the dsyncs are failing with errors

Re: [Dovecot] dovecot-lda quota rule

2011-11-16 Thread micah anderson
On Tue, 15 Nov 2011 22:27:20 +0200, Timo Sirainen t...@iki.fi wrote: On Thu, 2011-11-10 at 13:59 -0500, Micah Anderson wrote: I really like the feature where you can define quota rules with percents which trigger off of the default values[0] (so you can set the Trash to allow for 10% more

Re: [Dovecot] dovecot-lda quota rule

2011-11-16 Thread micah anderson
On Wed, 16 Nov 2011 18:27:20 +0200, Timo Sirainen t...@iki.fi wrote: On Wed, 2011-11-16 at 11:09 -0500, micah anderson wrote: protocol lda { plugin { quota_rule2 = INBOX:storage=200% } } Aha! Just what I was looking for. I presume the number following 'quota_rule

[Dovecot] dsync problems

2011-11-15 Thread Micah Anderson
exit code from dsync, which causes my rename script to bail out. What are these errors, and how can I fix them? Thanks, micah 0. Why use dsync instead of a simple mv operation? This seems to be necessary for two corner cases: 1. dovecot creates the new mailbox automatically when the user logs

[Dovecot] Deleting a mailbox and all its children

2011-11-15 Thread Micah Anderson
to handle this? thanks for any ideas or suggestions! micah -- pgpruGvZod8bb.pgp Description: PGP signature

Re: [Dovecot] Deleting a mailbox and all its children

2011-11-15 Thread micah anderson
On Wed, 16 Nov 2011 03:15:02 +0200, Timo Sirainen t...@iki.fi wrote: On 16.11.2011, at 3.04, Micah Anderson wrote: I'm looking at scripting a mechanism to delete a mailbox, which is easy with 'doveadm mailbox delete' -- however it gets complicated when there are children of arbitrary

[Dovecot] dovecot-lda quota rule

2011-11-10 Thread Micah Anderson
that they need to deal with things, but bouncing is harsh. Is there a way to do this now that I haven't seen? thanks! micah 0. http://wiki2.dovecot.org/Quota/Configuration -- pgpaJaa1mOJFt.pgp Description: PGP signature

Re: [Dovecot] Accessing a strange mailbox

2011-11-07 Thread micah anderson
Hi, thanks for the reply! On Fri, 04 Nov 2011 21:34:03 +0200, Timo Sirainen t...@iki.fi wrote: On Fri, 2011-10-21 at 10:50 -0400, Micah Anderson wrote: I have a user who has a mailbox called: A-B It seemed to work in courier fine, they managed to create it, and there are mails

[Dovecot] Accessing a strange mailbox

2011-10-21 Thread Micah Anderson
I have a user who has a mailbox called: A-B It seemed to work in courier fine, they managed to create it, and there are mails in it. However, dovecot is not letting the user access it, the IMAP server gives an error. I tried to rename it but I would also get an error: # doveadm mailbox

[Dovecot] Safely restoring backups

2011-10-07 Thread Micah Anderson
with the folders. The only problem with this method is the same as method #1: for every backup I restore, mails are duplicated. Is there a way I can restore things from backup and avoid duplicates? Is there another method I should try? thanks for any ideas, pointers, suggestions for improvement, etc. micah

Re: [Dovecot] doveadm mailbox subscribe wildcard

2011-10-07 Thread Micah Anderson
A.L.E.C a...@alec.pl writes: On 2011-10-06 23:23, Micah Anderson wrote: # doveadm mailbox list -s -u bob dovecot* # doveadm mailbox subscribe -u bob dovecot* RFC3501. Wildcards are allowed only in LIST/LSUB commands. Aha, thanks! I'll use the for loop method to achieve what I want. micah

Re: [Dovecot] doveadm mailbox list shows file system directories as mailboxes

2011-10-07 Thread Micah Anderson
the file system directories, that contain only subfolders, as normal mailboxes in the output: archiv archiv/daemon archiv/dovecot Did you perhaps do a 'doveadm mailbox subscribe' with a wildcard and the shell expanded it? micah

[Dovecot] lazy expunge namespaces

2011-10-07 Thread Micah Anderson
could not access them to try and restore them. The server would say that the mailbox did not exist. micah 0. http://wiki2.dovecot.org/Plugins/Lazyexpunge -- pgpLuAxubmLRp.pgp Description: PGP signature

Re: [Dovecot] dsync with quotas

2011-10-06 Thread Micah Anderson
Micah Anderson mi...@riseup.net writes: I have been working on converting people from courier maildir - dovecot mdbox and during some of the dsync runs I'm seeing the quota_exceeded_message be printed as an Error: dsync(user): Error: Can't save message to mailbox INBOX: You are over quota

[Dovecot] dsync with quotas

2011-09-19 Thread Micah Anderson
, then redoing the dsync mirror until it works properly. I wonder if it would be better if I turned off quota entirely during migration so I don't run into this problem? thanks, micah -- pgprlwVpl83vL.pgp Description: PGP signature

Re: [Dovecot] v2.0.15 released

2011-09-18 Thread Micah Anderson
.x transition packages make it into Wheezy (~10 days from now). micah

Re: [Dovecot] convert maildrop filter to sieve

2011-09-16 Thread Micah Anderson
, but in practice quite difficult to do when you have a large number of people with customized mailfilters. micah

Re: [Dovecot] moving mail out of alt storage

2011-09-15 Thread Micah Anderson
Timo Sirainen t...@iki.fi writes: On Wed, 2011-09-14 at 23:17 -0400, Micah Anderson wrote: I moved some mail into the alt storage: doveadm altmove -u jo...@example.com seen savedbefore 1w and now I want to move it back to the regular INBOX, but I can't see how I can do that with either

[Dovecot] movming mail out of alt storage

2011-09-14 Thread Micah Anderson
I moved some mail into the alt storage: doveadm altmove -u jo...@example.com seen savedbefore 1w and now I want to move it back to the regular INBOX, but I can't see how I can do that with either 'altmove' or 'mailbox move'. thanks! micah -- pgpsYHjQ0YeIm.pgp Description: PGP signature

Re: [Dovecot] quota percents

2011-09-13 Thread Micah Anderson
Timo Sirainen t...@iki.fi writes: On 12.9.2011, at 19.17, Micah Anderson wrote: However, it doesn't seem to work in practice, because I have a user that is at 99% of quota, with nothing in the Trash who cannot move a 77KB message into the Trash without getting the quota_exceeded message

Re: [Dovecot] quota percents

2011-09-12 Thread Micah Anderson
Timo Sirainen t...@iki.fi writes: On Fri, 2011-09-09 at 16:05 -0400, Micah Anderson wrote: its incorrect because if you change it to what it suggests ('+10%') it wont work because that wont be 10% more, rather, it is set to bytes=+10: Well, that's a more complex problem. The %% escaping

[Dovecot] quota percents

2011-09-09 Thread Micah Anderson
it. so... how do I get this to work? thanks! micah -- pgpJVKcKQpvwj.pgp Description: PGP signature

[Dovecot] sorting order changed during migration from courier

2011-08-31 Thread Micah Anderson
the mail from the original system to this system via rsync -a. The old system was an i686 machine and ext3, this new one is amd64 and ext4. thanks for any ideas! micah # dovecot -n # 1.2.15: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-5-amd64 x86_64 Debian 6.0.2 protocols: imap imaps pop3 pop3s