delprune on a single mailbox

2015-11-01 Thread Marcus Schopen via Info-cyrus
Hi, globally in cyrus.conf delprune is set to delprunecmd="/usr/sbin/cyrus expire -E 1 -X 7 -D 7" at=0501 For a single mailbox I don't want to keep deleted mails for 7 days, but expire them immediately or once a day per cron. How to do that? Ciao! Cyrus Home Page:

Re: delprune on a single mailbox

2015-11-02 Thread Marcus Schopen via Info-cyrus
Hi, Am Montag, den 02.11.2015, 10:58 -0500 schrieb Adam Tauno Williams via Info-cyrus: > On Sun, 2015-11-01 at 14:40 +0100, Marcus Schopen via Info-cyrus wrote: > > Am Sonntag, den 01.11.2015, 13:35 +0100 schrieb Marcus Schopen via > > Info-cyrus: > > > Hi, > > >

Re: delprune on a single mailbox

2015-11-01 Thread Marcus Schopen via Info-cyrus
Am Sonntag, den 01.11.2015, 13:35 +0100 schrieb Marcus Schopen via Info-cyrus: > Hi, > > globally in cyrus.conf delprune is set to > > delprune cmd="/usr/sbin/cyrus expire -E 1 -X 7 -D 7" at=0501 > > For a single mailbox I don't want to keep deleted mail

Re: delprune on a single mailbox

2015-11-04 Thread Marcus Schopen via Info-cyrus
Am Dienstag, den 03.11.2015, 08:24 +0100 schrieb Marcus Schopen via Info-cyrus: > Hi, > > Am Montag, den 02.11.2015, 10:58 -0500 schrieb Adam Tauno Williams via > Info-cyrus: > > On Sun, 2015-11-01 at 14:40 +0100, Marcus Schopen via Info-cyrus wrote: > > > Am Sonntag,

Re: delprune on a single mailbox

2015-11-06 Thread Marcus Schopen via Info-cyrus
Am Mittwoch, den 04.11.2015, 06:36 -0500 schrieb Adam Tauno Williams via Info-cyrus: > globally in cyrus.conf delprune is set to > > > > > delprune cmd="/usr/sbin/cyrus expire -E 1 -X 7 -D 7" > > > > > at=0501 > > > > > For a single mailbox I don't want to keep deleted mails for 7 > > > > >

Re: Replication problem do_folders(): failed to rename

2015-12-14 Thread Marcus Schopen via Info-cyrus
Am Montag, den 14.12.2015, 07:31 -0400 schrieb Patrick Boutilier via Info-cyrus: > On 12/14/2015 06:25 AM, Marcus Schopen via Info-cyrus wrote: > > Am Freitag, den 11.12.2015, 19:10 +0100 schrieb Marcus Schopen via > > Info-cyrus: > >> Hi, > >> > >&

Re: Replication problem do_folders(): failed to rename

2015-12-14 Thread Marcus Schopen via Info-cyrus
Hi, Am Montag, den 14.12.2015, 12:53 +0100 schrieb Michael Menge via Info-cyrus: > Hi, > > > Quoting Patrick Boutilier via Info-cyrus <info-cyrus@lists.andrew.cmu.edu>: > > > On 12/14/2015 06:25 AM, Marcus Schopen via Info-cyrus wrote: > >> Am Freitag,

strange difference between master and replica account

2015-12-14 Thread Marcus Schopen via Info-cyrus
Hi, another problem on another account: on the master on the file system there is an IMAP account with about 6000 mails inside its INBOX (~ 5,8 GB account size). Connecting with an IMAP client shows 60 mails and an "unexpunge -l" shows 400 delete mails in the INBOX. On replica side the INBOX

Re: strange difference between master and replica account

2015-12-14 Thread Marcus Schopen via Info-cyrus
Hi, Am Montag, den 14.12.2015, 16:36 +0100 schrieb venc: > On 2015-12-14 16:16, Marcus Schopen via Info-cyrus wrote: > > > Hi, > > > > another problem on another account: on the master on the file system > > there is an IMAP account with about 6000 mails inside i

Re: Replication problem do_folders(): failed to rename

2015-12-11 Thread Marcus Schopen via Info-cyrus
Hi, forgot the cyrus version: 2.4.12 on Ubuntu 12.04 LTS Ciao! Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

Replication problem do_folders(): failed to rename

2015-12-11 Thread Marcus Schopen via Info-cyrus
Hi, I have a problem with a single mailbox. The user's Outlook crashed and since then the sync_client is running wild on this user account and produces high load on the master. I stopped sync_client on master side for the moment. When I try to sync the user by hand /bin/su - cyrus -c

migrating mails between two cyrus servers keeping seen states

2015-12-18 Thread Marcus Schopen via Info-cyrus
Hi, I'm planning to move some mailboxes from a cyrus server (2.1.18 - which is a kind of mail archive) to another one (2.4.17+caldav~beta9-3). Playing around on a test system with copying a user's mailbox and doing a following "reconstruct -r" came out with a mailbox without seen states on read

Re: Replication problem do_folders(): failed to rename

2015-12-14 Thread Marcus Schopen via Info-cyrus
Am Freitag, den 11.12.2015, 19:10 +0100 schrieb Marcus Schopen via Info-cyrus: > Hi, > > I have a problem with a single mailbox. The user's Outlook crashed and > since then the sync_client is running wild on this user account and > produces high load on the master. I stopped sync_c

Re: strange difference between master and replica account

2015-12-14 Thread Marcus Schopen via Info-cyrus
Am Montag, den 14.12.2015, 16:16 +0100 schrieb Marcus Schopen via Info-cyrus: > Hi, > > another problem on another account: on the master on the file system > there is an IMAP account with about 6000 mails inside its INBOX (~ 5,8 > GB account size). Connecting with an IMAP client

Re: migrating mails between two cyrus servers keeping seen states

2015-12-18 Thread Marcus Schopen via Info-cyrus
Am Freitag, den 18.12.2015, 14:09 +0100 schrieb Michael Menge via Info-cyrus: > Hi, > > > Quoting Marcus Schopen via Info-cyrus <info-cyrus@lists.andrew.cmu.edu>: > > > Hi, > > > > I'm planning to move some mailboxes from a cyrus server (2.1.18 - which &g

backup cyrus spool with bup

2016-04-26 Thread Marcus Schopen via Info-cyrus
Hi, may be a helpful hint for all who are looking for a really fast method to backup the cyrus spool: during the last weeks a I tested bup [1] as an alternativ to my current backup setup based up on rsnaphot and rdiff-backup. Combining bup with lvm snapshots it's a great way to backup big mail

Re: cannot unlink .... mboxkey: No such file or directory

2016-11-08 Thread Marcus Schopen via Info-cyrus
Hi Bron, Thanks for your time! Am Dienstag, den 08.11.2016, 23:56 +1100 schrieb Bron Gondwana via Info-cyrus: > If you're running rolling replication, it SHOULD have logged both the old > mailbox name and the DELETED mailbox name, and calculate the move when > syncing. > > If you're running

Re: cannot unlink .... mboxkey: No such file or directory

2016-11-09 Thread Marcus Schopen via Info-cyrus
nt) > > Anyway, you didn't say which Cyrus version you're using there. If it's pre > 2.4 all bets are off! Pretty sure this was solid in 2.4.0 and above though, > with rolling replication. > > On Tue, 8 Nov 2016, at 23:36, Marcus Schopen via Info-cyrus wrote: > > Hi, &

expire and remove deleted mailboxes from DELETED.user

2016-11-09 Thread Marcus Schopen via Info-cyrus
Hi, is there a way to immediately remove deleted mailboxes from DELETED.user without calling expire? su - cyrus -c "/usr/sbin/cyrus expire -E 1 -X 0 -D 0 -v -p DELETED.user.testuser" needs about 10 minutes because of "-E 1". Cyrus: 2.4.12 Ciao Marcus Cyrus Home Page:

cannot unlink .... mboxkey: No such file or directory

2016-11-08 Thread Marcus Schopen via Info-cyrus
Hi, I'm running cyrus in master and slave. When deleting a user's mailbox I see the following error on master and slave log: Nov 8 12:00:44 master cyrus/imap[26104]: cannot unlink /var/lib/cyrus/user/t/test20161108.mboxkey: No such file or directory Another strange thing is, that the deleted

limit max child per user or IP

2016-10-28 Thread Marcus Schopen via Info-cyrus
Hi, I'm running cyrus behind a perdition proxy and from time to time one of my users is eating up "maxchild" which is set to 500 (it's just a small server for friends and family) and no further connections are accepted for other users. I checked /var/run/cyrus/proc and mostly "Archives" folders

Re: fetching spam from users junk folder

2016-12-07 Thread Marcus Schopen via Info-cyrus
Hi Nic, Am Dienstag, den 06.12.2016, 11:25 -0600 schrieb Nic Bernstein: > Marcus, > In my original response I forgot to mention that for this, or any > similar approach, to work, you need to use the misnamed "proxyservers" > setting in imapd.conf to grant access to an administrative user. >

Re: fetching spam from users junk folder

2016-12-07 Thread Marcus Schopen via Info-cyrus
Hi Vladki, Am Dienstag, den 06.12.2016, 22:22 +0100 schrieb Vladislav Kurz via Info-cyrus: > Dne Út 6. prosince 2016 08:34:39, Marcus Schopen via Info-cyrus napsal(a): > > Hi, > > > > I'm looking for an easy way to fetch spams, which were moved into a > > spec

Re: cyr_expire on 2.3.16

2016-12-10 Thread Marcus Schopen via Info-cyrus
Am Samstag, den 10.12.2016, 14:15 + schrieb Ken Smith via Info-cyrus: > Hi All, > > I'm running 2.3.16 cyrus-imap on Centos 6. > > Following a mother board failure on our primary Cyrus server we have > been using a standby server that normally gets a daily backup from the > primary. I now

Re: cyr_expire on 2.3.16

2016-12-11 Thread Marcus Schopen via Info-cyrus
Hi Ken, Am Samstag, den 10.12.2016, 14:52 + schrieb Ken Smith: > Thank you for your quick reply Marcus > > When I run that (like this for Centos) I get > > su cyrus -c "/usr/lib/cyrus-imapd/cyr_expire -E 1 -X 0 -D 0 -v -p user.kens" > > Expunged 0 out of 0 messages from 0 mailboxes > > I

fetching spam from users junk folder

2016-12-05 Thread Marcus Schopen via Info-cyrus
Hi, I'm looking for an easy way to fetch spams, which were moved into a special junk subfolder by users in their accounts. I'd like to move those messages from there to my account, so I can analyse them to adjust anti spam rules. How would you do that? Ciao! -- "It's great to have a friend

limit connections

2016-12-23 Thread Marcus Schopen via Info-cyrus
Hi Bron, I have a user, who logs in every 3 seconds(!) to pop3s with 20 accounts, completely resistent to change his pop interval. I'd like to limit him in the way to allow 20 new connections within 5 minutes, then block his IP for 5 minutes (he is using a static IP) and open the port after five

Re: limit connections

2016-12-23 Thread Marcus Schopen via Info-cyrus
Hi Shawn, Am Freitag, den 23.12.2016, 16:01 + schrieb Shawn Bakhtiar via Info-cyrus: > Well... you really should take this to the Ubuntu iptables; Start > there and they may be able to give you a better mail list that deals > specifically with iptables: >