Re: limit connections

2016-12-23 Thread 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: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users Having said that you don't necessarily need to use the iptables-extensions --

Re: mailboxes.db locking problem after updating from 2.4 to 2.5.9

2016-11-17 Thread Shawn Bakhtiar via Info-cyrus
Did you run reconstruct like the upgrade documentation recommends? When I did my upgrade, from 2.4.x to 2.5 that's about all I had to do. I don't recall having to run ctl_mboxlist -du https://www.cyrusimap.org/docs/cyrus-imapd/2.5.0/install-upgrade.php http://www.cyrusimap.org/~vanmeeuwen/imap/

Re: Restore backup of a mailbox

2016-11-10 Thread Shawn Bakhtiar via Info-cyrus
> On Nov 10, 2016, at 5:02 AM, Vladislav Kurz via Info-cyrus > wrote: > > On 11/10/16 12:17, Paul van der Vlis via Info-cyrus wrote: >> Hello, >> >> A user has removed an important mailbox with all the sent-messages. >> Not necessarily do all clients (by default) store sent messages on the s

Re: cyrus master fails with status 71

2016-10-25 Thread Shawn Bakhtiar via Info-cyrus
H.. if that’s the case could you be hitting the the maximum number of accepts?? Check the 11.11.1.2. kern.ipc.soacceptqueue section of the FreeBSD handbook https://www.freebsd.org/doc/handbook/configtuning-kernel-limits.html Given the load you described perhaps 128 is just not enough? On

Re: Cyrus mail spool entirely on SSD

2016-10-20 Thread Shawn Bakhtiar via Info-cyrus
I actually just migrated our Cyrus (IMAP) server and was looking into this same questions. I think SSD's are great! Especially in laptops where the drive is susceptible to sudden changes in inertia (in spinners this can lead to physical mechanical damage, but SSD's are immune), not to mention t

command line deletion of files

2016-09-29 Thread Shawn Bakhtiar via Info-cyrus
Good morning, trying to get rid of some emails that have large attachments (i.e. videos sent over email, or cd images, etc...) Would it be proper to rm -rf /var/spool/imap/u/username/mailbox/4321. then reconstruct -rf user.username Or is there a more "proper" way using cyrus? Thanks, Shawn

Re: Upgrade from 2.4 to 2.5

2016-09-25 Thread Shawn Bakhtiar via Info-cyrus
> On Sep 24, 2016, at 7:05 PM, Patrick Boutilier via Info-cyrus > wrote: > > On 09/24/2016 08:42 PM, Shawn Bakhtiar via Info-cyrus wrote: >> Today I moved our mail accounts from a Cyrus 2.4 running on some older >> hardware with dwindling space to a new server w

Upgrade from 2.4 to 2.5

2016-09-24 Thread Shawn Bakhtiar via Info-cyrus
Today I moved our mail accounts from a Cyrus 2.4 running on some older hardware with dwindling space to a new server with much more space (and faster processors) running Cyrus 2.5. I've muddled through most of the migration. Simply shutting down the services, using rsync to duplicate the stores

Re: how to deal with mail retention/archival.

2016-08-26 Thread Shawn Bakhtiar via Info-cyrus
On Aug 26, 2016, at 8:35 AM, Giuseppe Ravasio (LU) via Info-cyrus mailto:info-cyrus@lists.andrew.cmu.edu>> wrote: I saw that someone proposed to make a sort of abuse of delayed expunge, but I think that in order to comply with regulatory retention should be better considering some specific softw

Re: Server Backup

2016-02-08 Thread Shawn Bakhtiar via Info-cyrus
> On Feb 8, 2016, at 6:19 AM, Giuseppe Ravasio (LU) via Info-cyrus > wrote: > > Hi, > I'm rewriting my backup script and I cannot find any hint about how to > backup the cyrus server in a good way. > > Actually I'm using this method: > > - Stop Postfix and Cyrus Although prudent, given that w

Re: Sieve vacation script?

2015-12-27 Thread Shawn Bakhtiar via Info-cyrus
> On Dec 26, 2015, at 1:14 PM, Sebastian Hagedorn via Info-cyrus > wrote: > > Hi, > >> I've been struggling with figuring out how to set up a sieve vacation >> reply script. The documentation on this is pretty sparse, and the stuff >> I do find doesn't work. For example, >> >> [cyrus@www ~]

RE: Sieve based a day of week

2013-09-19 Thread Shawn Bakhtiar
The first idea that pops into my mind would be to write a cron job and install it into /etc/cron.daily that would simply log into the sieveshell client and activiate/deactivate the appropriate sieve scripts. Something like: #!/bin/sh FLOP_DATE=`date | cut -f 1 -d ' '` echo "Switching User 1

RE: mysql problem

2013-09-11 Thread Shawn Bakhtiar
You can check the following link for more details: http://dev.mysql.com/doc/refman/5.0/en/gone-away.html But I have to agree, most likely your hitting a bug. I normally get this in code I've written where I make a request to the server after I have closed the connection. I would suggest enabli

FW: Global Sieve script

2013-04-19 Thread Shawn Bakhtiar
Good morning, So.. in trying to figure this out this morning I did the following and was able to get mail filtered into techsupports SPAM folder, but I don't understand why the global sieve script does not do the same things Created the following sieve script file (sorry I just realized i

Global Sieve script

2013-04-17 Thread Shawn Bakhtiar
Good afternoon all, I am trying to configure a global sieve script to move all incoming emails to a particular folder. According to the following link this should be a slam dunk: http://cyrusimap.web.cmu.edu/mediawiki/index.php/Cyrus_Sieve http://oregonstate.edu/helpdocs/e-mail/onid-e-mail/modi