2FA and IMAP

2019-04-21 Thread Marcus Schopen
Hi, a friend wants to restrict access to his mailbox with 2FA. As webmailer I use Roundcube, which offers a 2FA plugin. But in the end this is pointless, because besides the webmailer there is also the native IMAP access available. Is it therefore possible to restrict the access to a single IMAP

Upgrade cyrus 2.4.17 to 2.4.18 on Ubuntu

2019-03-25 Thread Marcus Schopen
Hi, I have to upgrade an internal Ubuntu 14.04 LTS with cyrus 2.4.17 to Ubuntu 16.04 LTS, which comes with cyrus 2.4.18. Is there anything to consider when upgrading from cyrus 2.4.17 to 2.4.18 (beside good backup)? Cyrus runs as replica (master/slave). Probably it makes sense to shut down the

disk space used by a mailbox without expunged

2019-02-13 Thread Marcus Schopen
Hi, is there a way to count the disk space used by a mailbox without expunged messages? Ciao M. 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

folder left after dm user.mailboxname, remove by rm ?

2019-02-05 Thread Marcus Schopen
Hi, I've deleted an unused mailbox "dm user.emil" and cleaned up DELETED with 'su - cyrus -c "/usr/sbin/cyrus expire -E 1 -X 0 -D 0 -v -p DELETED.user.emil'. /var/spool/cyrus/mail/u/DELETED/user is empty now and "su - cyrus -c "/usr/sbin/ctl_mboxlist -d" | grep -i emil" doesn't show any

Re: Missing Email & Folders

2018-11-10 Thread Marcus Schopen
Am Mittwoch, den 07.11.2018, 09:16 +0100 schrieb Michael Menge: > Hi, > > Quoting Robert Covell : > > > > If you suspect this is due to a client related problem, you could > > > enable telemetry logging to find out who/what is causeing the > > > emails to go > > > > missing. > > > > > >

Re: Restart after new TLS certificate?

2017-11-01 Thread Marcus Schopen
Am Freitag, den 27.10.2017, 12:51 +0200 schrieb Paul van der Vlis: > Hello, > > I use now a certificate from LetsEncrypt and it is automatically > renewed. Needs Cyrus to be restarted before it sees the new certificate? see answer from Dan White on subject "intermediate certificates" at Wed, 19

sslv3 alert certificate unknown in SSL_accept() -> fail

2017-05-20 Thread Marcus Schopen
Hi, today I changed my SSL certificates to "sha256WithRSAEncryption", because Thunderbird started complaining about me old SHA1 certificates. ;) One pop3s client (it's a kind of java based mailgate) causes a lot of these errors, not at each connect, but on about two of 140 mailbox connects within

Re: Cyrus IMAP 2.4.19 released

2017-05-17 Thread Marcus Schopen
Hi Ellie, thank you! Are there any Ubuntu packages available as I don't think the Debian/Ubuntu maintainers will patch their packages. Ciao Marcus Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe:

Re: removing folders which are not in mailboxes.db

2017-05-16 Thread Marcus Schopen
Am Montag, den 15.05.2017, 07:59 -0300 schrieb Patrick Boutilier: > rm -fr if you are 100% sure you don't need the files. Move if not 100% > sure .:-) > > Since cyrus doesn't know about the folders in mailboxes.db it shouldn't > care either way. That's working. Thanks Marcus Cyrus Home

Re: removing folders which are not in mailboxes.db

2017-05-15 Thread Marcus Schopen
Hi, Am Montag, den 15.05.2017, 07:34 -0300 schrieb Patrick Boutilier: > That will probably work. You can see what will happen by using -n also . > Another option is just to remove the subfolders from the filesystem > using rm . I just tried: su - cyrus -c " /usr/lib/cyrus/bin/reconstruct -r

Re: removing folders which are not in mailboxes.db

2017-05-15 Thread Marcus Schopen
some more info: I did some further checks: those messages are not shown by unexpunge -l. I get a "Failed to open mailbox" if I check the delete subdirs, which is correct to my mind, because these mailbox don't exist any more. The delete subdirs didn't show up in DELETED.user. I use

removing folders which are not in mailboxes.db

2017-05-15 Thread Marcus Schopen
Hi, some time ago I removed several big sized subfolders in a mailbox using my mail client. Yesterday I recognized that for some reasons those folders are still on the file system on master, but not on replica side. Non of those deleted folders are listed in mailboxes.db, which is correct.

Re: Excisting idle connections and changing password

2017-02-22 Thread Marcus Schopen
Hi, Am Mittwoch, den 22.02.2017, 12:45 +0100 schrieb Paul van der Vlis: > Hello, > > When I change the password of a user what's logged in using an IMAP > idle-connection, how long will the connection "stay"? > > My goal is that the user cannot access the mailbox anymore and does not > get "new

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: >

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: cyr_expire on 2.3.16

2016-12-11 Thread Marcus Schopen via Info-cyrus
ed a reconstruct? https://cyrusimap.org/imap/admin/sop/reconstructing.html Ciao Marcus -- , [ Marcus Schopen ] | (0> | //\ | V_/_ D-33602 Bielefeld | ` Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsub

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: fetching spam from users junk folder

2016-12-07 Thread Marcus Schopen via Info-cyrus
al administrator" with access to all mailboxes and put that password in a script. Ciao! -- , [ Marcus Schopen ] | (0> | //\ | V_/_ D-33602 Bielefeld | ` Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/in

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

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

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:

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, &

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

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

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

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: 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

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-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: 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

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: 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-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, > > >

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-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: Migrate from 2.2.13 to 2.4.17 disasters

2015-08-24 Thread Marcus Schopen
Am Sonntag, den 23.08.2015, 20:36 +0200 schrieb Mogens Melander: For a task like this, I would use imapsync, a well documented, well supported and open source tool. https://github.com/imapsync/imapsync I've used imapsync to migrate an internal server from 2.1.18 to 2.4.17 without any

nginx configuration and auth script

2015-07-31 Thread Marcus Schopen
Hi, are here any good auth scripts for nginx imap proxy to cyrus in use? Cheers Marcus 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

Re: force relication to all mailboxes

2015-07-24 Thread Marcus Schopen
Hi Bron, Am Sonntag, den 19.07.2015, 18:19 -0700 schrieb Bron Gondwana: On Sun, Jul 19, 2015, at 12:49, Marcus Schopen wrote: Am Sonntag, den 19.07.2015, 18:16 +0200 schrieb Marcus Schopen: Hi, I set a cyrus (2.4.12 / Ubuntu 12.04 LTS) with existing mailboxes in replication

sendmail cyrusv2.m4 deliver per domain to diffent cyrus

2015-07-23 Thread Marcus Schopen
Hi, is it possible to deliver per domain to different cyrus hosts via lmtp with e.g. two different cyrusv2.m4 macros? Ciao Marcus Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe:

Re: lmtp authentication ignored with tls enabled

2015-07-20 Thread Marcus Schopen
Am Montag, den 20.07.2015, 03:21 +0200 schrieb Marcus Schopen: Hi, I'm trying to deliver mails via lmtp/tcp from sendmail to cyrus running on another machine. sendmail.mc: -- define(`confLOCAL_MAILER', `cyrusv2')dnl define(`CYRUSV2_MAILER_ARGS', `TCP imap.domain.de 2003')dnl

Re: lmtp authentication ignored with tls enabled

2015-07-20 Thread Marcus Schopen
Hi Dan, Am Montag, den 20.07.2015, 08:33 -0500 schrieb Dan White: It appears you may be performing sasl EXTERNAL authentication. Your auth-facility syslog should confirm that. How do I do that? Configuring a restricted mechanism list would prevent that from happening: lmtp_sasl_mech_list:

lmtp authentication ignored with tls enabled

2015-07-19 Thread Marcus Schopen
Hi, I'm trying to deliver mails via lmtp/tcp from sendmail to cyrus running on another machine. sendmail.mc: -- define(`confLOCAL_MAILER', `cyrusv2')dnl define(`CYRUSV2_MAILER_ARGS', `TCP imap.domain.de 2003')dnl -- Without an authentication line in /etc/mail/access

Re: force relication to all mailboxes

2015-07-19 Thread Marcus Schopen
Am Sonntag, den 19.07.2015, 18:16 +0200 schrieb Marcus Schopen: Hi, I set a cyrus (2.4.12 / Ubuntu 12.04 LTS) with existing mailboxes in replication with an cyrus (2.4.12 / Ubuntu 12.04 LTS). Replication works fine, but a sync of existing mailboxes is only triggered on by new incoming mails

force relication to all mailboxes

2015-07-19 Thread Marcus Schopen
Hi, I set a cyrus (2.4.12 / Ubuntu 12.04 LTS) with existing mailboxes in replication with an cyrus (2.4.12 / Ubuntu 12.04 LTS). Replication works fine, but a sync of existing mailboxes is only triggered on by new incoming mails to inboxes or by changes inside subfolders. How to I force an initial

Re: replication: sync_client on master stops after restarting the replica

2015-05-21 Thread Marcus Schopen
Am Donnerstag, den 16.10.2014, 14:57 +0200 schrieb Rudy Gevaert: On Tue, Oct 14, 2014 at 10:28:24PM +0200, Marcus Schopen wrote: Thanks, what a great idea. Is it this script? https://github.com/rgevaert/cyrus-ugent/blob/master/src/cyrus-synccheck Hi, yes it is, I forgot I

Re: Using Roundcube with cyrus?

2015-02-11 Thread Marcus Schopen
Am Dienstag, den 03.02.2015, 10:10 -0600 schrieb Patrick Goetz: On 2/3/2015 9:49 AM, Patrick Boutilier wrote: Roundcube is appending the domain; I'm logging in with pgoetz. http://trac.roundcube.net/wiki/Howto_Config#IMAPserverconnection indicates that username_domain may be set.

sieve vacation with start and end date

2014-12-28 Thread Marcus Schopen
Hi, does sieve vacation understand a start and end date? Something like this does not work: --- require [date, relational, vacation]; if allof(currentdate :value ge date 2007-06-30, currentdate :value le date 2007-07-07) { vacation :days 7 I'm away during the first week in July.; }

Re: restore from cyrdump

2014-12-09 Thread Marcus Schopen
Am Mittwoch, den 10.12.2014, 02:36 +1100 schrieb Bron Gondwana: On Wed, Dec 10, 2014, at 02:03 AM, Willy Offermans wrote: Hello Cyrus Friends, On Sun, Dec 07, 2014 at 01:01:52PM +0100, Willy Offermans wrote: Dear Cyrus friends, I want to simulate a possible crash of the company's

Re: Cyrus connect to an external SMTP server

2014-11-08 Thread Marcus Schopen
Hi, Am Samstag, den 08.11.2014, 10:06 -0200 schrieb Fabio S. Schmidt: Hi, I have deployed Cyrus Aggregator and I noticed that when a Backend server sends a message, an auto response for instance, it connects to the localhost on port 25, which forced me to deploy a SMTP server locally.

hanging POP3 client, how to kill

2014-10-23 Thread Marcus Schopen
Hi, from time to time I have hanging pop3 clients. I've activated telemetry logging (thanks Bron) for that single user to see the interaction between client and server. While downloading messages the client stops suddenly (in middle of the body of a 6 MB big message) but the pop3 process is

Re: replication: sync_client on master stops after restarting the replica

2014-10-14 Thread Marcus Schopen
Hi Rudy, Am Montag, den 13.10.2014, 10:41 +0200 schrieb Rudy Gevaert: On 09/27/14 10:59, Marcus Schopen wrote: Hi, always when I have to reboot the replica or its cyrus the synchronization on master side stops, /var/lib/cyrus/sync/log fills up and I don't see a /usr/lib/cyrus/bin

Re: replication: sync_client on master stops after restarting the replica

2014-10-10 Thread Marcus Schopen
Am Samstag, den 27.09.2014, 10:59 +0200 schrieb Marcus Schopen: Hi, always when I have to reboot the replica or its cyrus the synchronization on master side stops, /var/lib/cyrus/sync/log fills up and I don't see a /usr/lib/cyrus/bin/sync_client -r process anymore. /var/log/mail.err

Re: replication: sync_client on master stops after restarting the replica

2014-10-10 Thread Marcus Schopen
Hi Patrick, Am Freitag, den 10.10.2014, 09:13 -0300 schrieb Patrick Boutilier: On 10/10/2014 09:09 AM, Marcus Schopen wrote: Am Samstag, den 27.09.2014, 10:59 +0200 schrieb Marcus Schopen: Hi, always when I have to reboot the replica or its cyrus the synchronization on master side

pop3: counts: retr=0 top=0 dele=0 mailbox not empty

2014-10-02 Thread Marcus Schopen
Hi, what exactly means counts: retr=0 top=0 dele=0 on a non empty mailbox. The pop3 client is connecting, but doesn't fetch and drop mails. Client problem? Oct 2 06:10:06 master cyrus/pop3[4990]: USAGE testuser-01 user: 0.00 sys: 0.012000 Oct 2 06:10:06 master

delete and expunge delayed and delprune on replica?

2014-10-02 Thread Marcus Schopen
Hi, in a master/slave setup I've activated delete_mode and expunge_mode on master and salve side. imapd.conf: delete_mode: delayed expunge_mode: delayed cyrus.conf: delprunecmd=/usr/sbin/cyrus expire -E 1 -X 7 -D 7 at=0501 Does is make sense to set delete and expunge mode to delayed

replication: sync_client on master stops after restarting the replica

2014-09-27 Thread Marcus Schopen
Hi, always when I have to reboot the replica or its cyrus the synchronization on master side stops, /var/lib/cyrus/sync/log fills up and I don't see a /usr/lib/cyrus/bin/sync_client -r process anymore. /var/log/mail.err on master when restarting replica: Sep 27 10:06:28 master

Remove of supposedly empty directory ... failed: Directory not empty

2014-09-23 Thread Marcus Schopen
Hi, today a saw a lot of messages like this in my mail.log (Cyrus 2.4.12) Sep 23 15:54:04 testserv cyrus/imaps[21530]: Remove of supposedly empty directory /var/spool/cyrus/mail/s/user/test/aaa failed: Directory not empty Those messages come up when renaming folders using eg. Thunderbird: -

old lock files listed at cyrus-imapd startup

2014-09-16 Thread Marcus Schopen
Hi, I do see a lot of .lock file when starting cyrus: /run/cyrus/lock/t/user/test/Drafts.lock [...] This has already been reportet in the Ubuntu bug tracker #1010424 two years ago: https://bugs.launchpad.net/ubuntu/+source/cyrus-imapd-2.4/+bug/1010424 /etc/init.d/cyrus-imapd: # Clean

Re: cyrus/chk_cyrus found messages and deleted messages differs on master and slave

2014-09-16 Thread Marcus Schopen
Hi, Am Montag, den 15.09.2014, 20:08 +0200 schrieb Marcus Schopen: Or another way: just delete user.userxyz.sent_mail subfolder using cyradm. The sent_mail folder will be moved into a subfolder under u/DELETED/user/userxyz/sent_mail/ and will only keep message 1., because all other emails

cyrus/chk_cyrus found messages and deleted messages differs on master and slave

2014-09-15 Thread Marcus Schopen
Hi, since a few days do I see chk_cyrus messages on one single subfolder sent_mail (440 MB) of a user's mailbox in my mail.err each morning at the same time (6:30am): -- Sep 15 06:31:16 grady cyrus/chk_cyrus[25398]: user.userxyz.sent_mail uid 2 found - adding [...] Sep 15

Re: cyrus/chk_cyrus found messages and deleted messages differs on master and slave

2014-09-15 Thread Marcus Schopen
Hi, some more info. I've copied the sent_mail folder to a testmachine and started a chk_cyrus. Same messages in /var/log/mail.err: cyrus/chk_cyrus[15900]: user.userxyz.sent_mail uid 201 found - adding [...] Btw: I figured out that rsyslog skipped some logging. So chk_cyrus reports always the

syncserver suddenly refused connection from master

2014-09-11 Thread Marcus Schopen
Hi, my syncserver suddenly refused connection from its master this evening. The master/slave setup is running without any problems for half a year now. On slave/replica side I found in /var/log/mail.err Sep 11 23:51:19 replica cyrus/syncserver[27328]: refused connection from xxx.xxx.xxx.xxx On

Re: backup rsync

2014-09-06 Thread Marcus Schopen
Hi Bron, Am Samstag, den 06.09.2014, 22:17 +1000 schrieb Bron Gondwana: That's what we do :) Thanks for your feedbeek. What's your workaround for not stopping cyrus before taking a lvm snapshot and run rsnapshot? Ciao Marcus Cyrus Home Page: http://www.cyrusimap.org/ List

Re: backup rsync

2014-09-05 Thread Marcus Schopen
Am Samstag, den 30.08.2014, 17:10 +0200 schrieb Simon Matter: Am Freitag, den 29.08.2014, 07:56 -0700 schrieb David R Bosso: --On August 29, 2014 at 4:27:57 PM +0200 Marcus Schopen li...@localguru.de wrote: Hi, I'm planing to use lvm snaps and rsync for a daily disaster recovery

Re: backup rsync

2014-09-01 Thread Marcus Schopen
Am Samstag, den 30.08.2014, 17:10 +0200 schrieb Simon Matter: Am Freitag, den 29.08.2014, 07:56 -0700 schrieb David R Bosso: --On August 29, 2014 at 4:27:57 PM +0200 Marcus Schopen li...@localguru.de wrote: Hi, I'm planing to use lvm snaps and rsync for a daily disaster recovery

Re: backup rsync

2014-09-01 Thread Marcus Schopen
Am Samstag, den 30.08.2014, 14:37 -0500 schrieb Patrick Goetz: On 8/30/2014 10:10 AM, Simon Matter wrote: I suggest -aH to preserve single instance storage in the backup. Does cyrus use a lot of hard links? I use rsync a lot to create snapshot backups, and use hard links across

Re: backup rsync

2014-08-30 Thread Marcus Schopen
Am Freitag, den 29.08.2014, 07:56 -0700 schrieb David R Bosso: --On August 29, 2014 at 4:27:57 PM +0200 Marcus Schopen li...@localguru.de wrote: Hi, I'm planing to use lvm snaps and rsync for a daily disaster recovery backup on my master cyrus (2.4.12 Ubuntu 12.04 LTS): Have you

backup rsync

2014-08-29 Thread Marcus Schopen
Hi, I'm planing to use lvm snaps and rsync for a daily disaster recovery backup on my master cyrus (2.4.12 Ubuntu 12.04 LTS): ctl_cyrusdb -c ctl_mboxlist -d mailboxes.db.dump stop cyrus lvm snaps start cyrus rsync /var/lib/cyrus/ and /var/spool/cyrus to backup host remove snaps Is there

old dirs with content in /var/spool/cyrus/mail/sync. on replication server

2014-08-26 Thread Marcus Schopen
Hi, on my replication I see about a thousand dirs, many of them a few month old. The total size of /var/spool/cyrus/mail/sync. is about 240 MB. Most of the dirs are empty, about 240 dirs containing files For today for example I do see some dirs which are all empty: drwx-- 1354 cyrus mail

hanging imap with more then 120 connections

2014-08-22 Thread Marcus Schopen
Hi, my cyrus/imap starts hanging (I get timeouts on port 143) whenever a user is connecting to 120 mailboxes from a single IP and holding these connections for some time. The machine (KVM, 4 GB RAM, 4x2,1 GHz CPU) doesn't have hight load or is swapping therefore I'm a little bit surprised about

Re: fetching user_deny.db entry for ...

2014-08-15 Thread Marcus Schopen
Am Donnerstag, den 02.02.2012, 14:26 +0100 schrieb Eric Luyten: On Thu, February 2, 2012 2:20 pm, Marten Lehmann wrote: since my upgrade from cyrus-imapd 2.3.x to 2.4.x mail maillog gets cluttered by entries like this: Feb 2 14:18:07 g112 cyrus/imap[16836]: fetching user_deny.db entry

delprune/cyr_expire on a single maibox

2014-08-09 Thread Marcus Schopen
Hi, my daily delprune in events is configured like this: delprunecmd=/usr/sbin/cyrus expire -E 1 -X 7 -D 7 at=0601 Is this the correct way to clean up all deleted messages in a single box by hand: as user cyrus run /usr/sbin/cyr_expire -E 1 -X 0 -D 0 -p user.testbox -v Ciao!

syncing sieve scripts on Ubuntu 12.04 LTS

2014-03-31 Thread Marcus Schopen
Hi, may be helpful to people running cyrus on Debian/Ubuntu 12.04 TLS: today I ran into a problem creating and syncing sieve scripts from master to slave, which causes tons of following log entries on master and slave: mail.log on master: Mar 31 14:39:43 server cyrus/sync_client[32690]: SIEVE

duplicate inodes after moving messages from Inbox to subfolder

2014-03-30 Thread Marcus Schopen
Hi, a kind of node weirdness which makes me a little nervous. My daily rdiff-backup reports a lot of warning lines like this Warning: Attempt to rename over same inode: /backup/var/spool/cyrus/mail/a/user/archive/nagios/rdiff-backup.tmp.578 to

Re: duplicate inodes after moving messages from Inbox to subfolder

2014-03-30 Thread Marcus Schopen
Am Sonntag, den 30.03.2014, 14:52 +0200 schrieb Marcus Schopen: Is that normal? Seem to be hardlinks. Is this how cyrus arranges the spool in these cases? Ciao! Marcus Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus

cyrus backup and LVM snaps without stopping cyrus?

2014-03-19 Thread Marcus Schopen
Hi, before starting a filebased backup with rdiff-backup I stop Cyrus, create LVM snaps of partitions where /var/lib/cyrus/ and /var/lib/cyrus are located and start Cyrus again. The downtime of Cyrus is just a few seconds, but is there a way to avoid stopping Cyrus before creating the snaps or is

undelete a single message, delete_mode + expunge_mode activated

2014-03-10 Thread Marcus Schopen
Hi, I've just activated delete_mode: delayed expunge_mode: delayed on my cyrus 2.4.12. A deleted subfolder testfolder3 from testuser's Inbox is moved to /var/spool/cyrus/mail/u/DELETED/user/testuser/testfolder3/531E16DC/ I can undelete the complete folder using rename[1] localhost

Re: undelete a single message, delete_mode + expunge_mode activated

2014-03-10 Thread Marcus Schopen
Hi Dennis, Am Montag, den 10.03.2014, 21:04 + schrieb Dennis Davis: Use the Cyrus unexpunge command mentioned on the page given below. See the manual page for unexpunge for details. It's basically: unexpunge -l ... to list the deleted messages and either: unexpunge -a ... to

disable login for users without mailbox

2014-02-25 Thread Marcus Schopen
Hi, as soon as a user is created in sasldb2 a imap login is possible even if a cyrus mailbox isn't available. Can I avoid this? I use sasldb authentication for another service (sendmail smtp_auth) on the same server and don't want to mix up smtp and imap users. Separated sasldb databases would be

Re: replication does not work

2014-02-21 Thread Marcus Schopen
Hi, Am Freitag, den 21.02.2014, 17:23 +0100 schrieb Willy Offermans: [...] I can answer my own question. I was indeed missing the authentication mechanism. I added sasl_mech_list: PLAIN LOGIN to imapd.conf on the back-end server and the replication worked. So I wonder how I can tell

Re: replication does not work

2014-02-21 Thread Marcus Schopen
Hi Andrew, Am Freitag, den 21.02.2014, 11:21 -0800 schrieb Andrew Morgan: On Fri, 21 Feb 2014, Marcus Schopen wrote: Hi, Am Freitag, den 21.02.2014, 17:23 +0100 schrieb Willy Offermans: [...] I can answer my own question. I was indeed missing the authentication mechanism. I

Re: sync_server and TLS

2014-02-19 Thread Marcus Schopen
Hi Stephen, Am Dienstag, den 18.02.2014, 22:33 -0800 schrieb Stephen Ingram: On Tue, Feb 18, 2014 at 4:16 PM, Marcus Schopen li...@localguru.de wrote: Hi, how do I figure out if master and replica are talking via TLS? Certs are installed on both

Re: sync_server and TLS

2014-02-19 Thread Marcus Schopen
Am Mittwoch, den 19.02.2014, 02:28 +0100 schrieb Marcus Schopen: Am Mittwoch, den 19.02.2014, 01:16 +0100 schrieb Marcus Schopen: Hi, how do I figure out if master and replica are talking via TLS? Certs are installed on both servers. Telnet on the replica shows

replication questions - best practice?

2014-02-19 Thread Marcus Schopen
Hi, some questions about master and replication: I'm running a single standalone master and a replica slave. What is best failover practice for this setup? How do I make a replication slave to master if the standalone master is down? Just remove syncserver from SERVICE section on slave and

replication deleting files on slave and sync_client -u

2014-02-19 Thread Marcus Schopen
Hi, just a understanding question: for some testing I connected via imap to the slave an deleted some messages there. After that I started a /usr/lib/cyrus/bin/sync_client -u mailboxname on the master to sync master and slave. This is the log on the master: - Feb 19 23:51:19

Re: COMPRESS received NO response: Compression already active: DEFLATE

2014-02-18 Thread Marcus Schopen
Am Mittwoch, den 20.02.2013, 13:14 +0100 schrieb Per olof Ljungmark: sync_client starts with compression enable (-z) but as soon as it restarts, it fails to enable it. Server side at first start syncserver[87122]: accepted connection syncserver[87122]: cmdloop(): startup

sync_server and TLS

2014-02-18 Thread Marcus Schopen
Hi, how do I figure out if master and replica are talking via TLS? Certs are installed on both servers. Telnet on the replica shows: ~# telnet replica 2005 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. * SASL DIGEST-MD5 CRAM-MD5 NTLM LOGIN PLAIN * STARTTLS *

Re: sync_server and TLS

2014-02-18 Thread Marcus Schopen
Am Mittwoch, den 19.02.2014, 01:16 +0100 schrieb Marcus Schopen: Hi, how do I figure out if master and replica are talking via TLS? Certs are installed on both servers. Telnet on the replica shows: ~# telnet replica 2005 Trying 127.0.0.1... Connected to localhost. Escape

Re: secure lmtp connection between sendmail and cyrus

2014-02-16 Thread Marcus Schopen
Am Sonntag, den 16.02.2014, 00:43 +0100 schrieb Marcus Schopen: Am Samstag, den 15.02.2014, 18:56 +0100 schrieb Marcus Schopen: Hi, I'm looking for a secure and stable way to connect sendmail (8.14.4) and cyrus (2.4.12) in case of both hosts not running on the same machine

secure lmtp connection between sendmail and cyrus

2014-02-15 Thread Marcus Schopen
Hi, I'm looking for a secure and stable way to connect sendmail (8.14.4) and cyrus (2.4.12) in case of both hosts not running on the same machine or in the same local secure subnet. What is a practical way? An openvpn (tcp or udp?) connection between sendmail and cyrus and starting lmtpd with -a

Re: secure lmtp connection between sendmail and cyrus

2014-02-15 Thread Marcus Schopen
Am Samstag, den 15.02.2014, 18:56 +0100 schrieb Marcus Schopen: Hi, I'm looking for a secure and stable way to connect sendmail (8.14.4) and cyrus (2.4.12) in case of both hosts not running on the same machine or in the same local secure subnet. What is a practical way? An openvpn (tcp

cyrus and Outlook subfolder crawling

2012-12-13 Thread Marcus Schopen
Hi, I've got a problem with a Outlook 2010 client. The client is accessing a 10 GB cyrus imap account and crawling with high a frequency like crazy through each subfolders which fills the mail logfile and causes a noticeable higher load. This never stops unless the Outook client is closed. I'm

sieve: count recipients of a single domain

2012-12-02 Thread Marcus Schopen
Hi, I'd like to count the recipients of a single domain in the To: or Cc: header. If the recipients to this domain (recipients to other domains ignored) in the To: or Cc: header in total are greater than 1 (= minimum 2) the mail should moved into a subfolder. Is that possible with sieve

keep cyrus in sync with cold standby

2012-10-16 Thread Marcus Schopen
Hi, I'm thinking about a strategy to keep my cyrus server (2.2.13 on Ubuntu 10.04 LTS) in sync with a cold standby server. This hasn't to be a live/hot sync and I'd like to keep it as simple as possible. A sync delay up to 30 minutes is acceptable for this small setup (250 Accounts, 80 GB mail

  1   2   >