Re: imap clients say i have 4K messages but spool has 12894 files

2020-06-04 Thread Patrick Boutilier
On 6/4/20 7:45 AM, Brian J. Murrell wrote: On Wed, 2020-06-03 at 19:35 -0400, Ken Murchison wrote: Brian, Trying running 'unexpunge -l' on the mailbox in question. This avenue has already been explored earlier in this thread:

Re: Help undeleting a user's INBOX

2020-05-24 Thread Patrick Boutilier
On 5/24/20 6:05 PM, Mikhail T. wrote: The thunderbird view of a user's mailbox tree had a mysterious nameless subfolder. Because the subfolder was showing empty, I instructed the user to just delete it through the mail program, which he did. Now his INBOX itself is empty and the server logs

Re: FWD: Confused about Deleted and Expunged

2020-01-17 Thread Patrick Boutilier
Anything in the logs showing email being expunged? Look for Expunged with the capitol E. On 1/17/20 10:41 AM, Horst Häberlen wrote: hi Adam Tauno Williams, What happens if you su to the cyrus user and try to run the command you see in cyrus.conf ? This makes no difference. I tried both

Re: Confused about Deleted and Expunged

2020-01-17 Thread Patrick Boutilier
Looks to run cyr_expire as /usr/sbin/cyrus is a script. https://www.apt-browse.org/browse/ubuntu/trusty/universe/all/cyrus-common/2.4.17+caldav~beta9-3/file/usr/sbin/cyrus On 1/17/20 8:11 AM, Nikos Gatsis - Qbit wrote: delprune  cmd="cyr_expire -E 3" at=0400 Οn centos 7: Version: 2.4.17

Re: Migration issue with seen/subscription/sieve databases

2019-12-23 Thread Patrick Boutilier
On 12/23/19 7:04 AM, Gionatan Danti wrote: On 20/12/19 09:51, Gionatan Danti wrote: Hi all, I am tasked to migrate an old cyrus 2.3.x CentOS6 installation to a new CentOS8 server with cyrus 3.0.7. I'm following the instructions at https://cyrusimap.org/imap/download/upgrade.html

Re: Sieve runtime error claiming mailbox doesn't exist

2019-12-13 Thread Patrick Boutilier
At first glance it looks like you need to change your sieve rules to use . as the mailbox separator. Something like: user.jim.System Messages On December 13, 2019 11:08:54 AM AST, Jim Sculley wrote: >Hello.  I'm a new member of this list but a long time user of >cyrus-imapd with postfix on my

Re: Centos 8

2019-11-14 Thread Patrick Boutilier
On 11/14/19 7:38 AM, Nikos Gatsis - Qbit wrote: Hello list. Does somebody knows witch version on cyrus-imapd centos 8 install? Thank you in advance. yum list|grep cyrus-imapd cyrus-imapd.i686 3.0.7-15.el8_0.1

Re: IMAP over SSL (only) handshake hangs

2019-11-09 Thread Patrick Boutilier
Almost sounds like you are running out of entropy. What does this show? cat /proc/sys/kernel/random/entropy_avail On 11/9/19 7:16 PM, Helder Guerreiro via Info-cyrus wrote: Hi all I'm having this exact same problem. Once the daemon is up it takes a while (a random while) to get to this

Re: Cyrus backup: is traffic from master to backup server encrypted?

2019-11-08 Thread Patrick Boutilier
Just noticed that I am running an older version of Cyrus though. On 11/8/19 7:35 AM, Patrick Boutilier wrote: Odd, works here. telnet localhost 2005 Trying ::1... Connected to localhost. Escape character is '^]'. * SASL PLAIN * STARTTLS * COMPRESS DEFLATE * OK domain Cyrus sync server

Re: Cyrus backup: is traffic from master to backup server encrypted?

2019-11-08 Thread Patrick Boutilier
Odd, works here. telnet localhost 2005 Trying ::1... Connected to localhost. Escape character is '^]'. * SASL PLAIN * STARTTLS * COMPRESS DEFLATE * OK domain Cyrus sync server v2.4.20 STARTTLS OK Begin TLS negotiation now On 11/8/19 2:12 AM, Deborah Pickett wrote: ... or do I need to

Re: renaming INBOX

2019-03-16 Thread Patrick Boutilier
On 3/15/19 4:43 AM, Marco wrote: Il 14/03/2019 16:29, Patrick Boutilier ha scritto: On 3/14/19 11:48 AM, Marco wrote: Il 13/03/2019 09:16, Marco ha scritto: Il 12/03/2019 13:30, Ken Murchison ha scritto: If I remember correctly, Cyrus only permits the owner of the INBOX to rename it.  Proxy

Re: Mailbox hierarchy determination?

2019-03-14 Thread Patrick Boutilier
On 3/14/19 1:23 PM, Patrick Goetz wrote: On 3/14/19 9:46 AM, Simon Matter wrote: I guess you're missing the fact that these options have possibly changed between releases. Another thing is that distribution packages can also alter the defaults and if they don't do it correct, they may "forget"

Re: renaming INBOX

2019-03-14 Thread Patrick Boutilier
On 3/14/19 11:48 AM, Marco wrote: Il 13/03/2019 09:16, Marco ha scritto: Il 12/03/2019 13:30, Ken Murchison ha scritto: If I remember correctly, Cyrus only permits the owner of the INBOX to rename it.  Proxy authenticate as n...@example.com and try again. Hello Ken,   I tried with proxy

Re: renaming INBOX

2019-03-13 Thread Patrick Boutilier
On 3/13/19 5:16 AM, Marco wrote: Il 12/03/2019 13:30, Ken Murchison ha scritto: If I remember correctly, Cyrus only permits the owner of the INBOX to rename it.  Proxy authenticate as n...@example.com and try again. Hello Ken,  I tried with proxy authentication. It is the same. The

Re: renaming INBOX

2019-03-12 Thread Patrick Boutilier
On 3/12/19 9:27 AM, Marco wrote: Hello,  could you help me to understand how Cyrus IMAP works with rename at INBOX level? RFC3501 says that "Renaming INBOX is permitted, and has special behavior.  It moves all messages in INBOX to a new mailbox with the given name, leaving INBOX empty."

Re: disk space used by a mailbox without expunged

2019-02-13 Thread Patrick Boutilier
On 2/13/19 7:01 AM, Eric Luyten wrote: On 13/02/2019 09:17, Michael Menge wrote: Hi Marcus, Quoting Marcus Schopen : Hi, is there a way to count the disk space used by a mailbox without expunged messages? mbexamine user/LoginID | grep Size on older cyrus versions (2.3 and 2.4)

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

2019-02-05 Thread Patrick Boutilier
On 2/5/19 3:35 PM, Marcus Schopen wrote: Hi Eric, thanks for your time! Am Dienstag, den 05.02.2019, 18:19 +0100 schrieb Eric Luyten: I do not know what Cyrus version you are running but very occasionally, on a 2.3 system, I witness the same phenomenon. It's a 2.4 version. To give you an

Re: Is there any to reconstruct a mailbox, if used just have the email files, but none of the original cyrus.* files?

2019-01-18 Thread Patrick Boutilier
On 1/18/19 5:26 PM, Mark London wrote: Hi - Is there any to reconstruct a mailbox, if you just have the email files, but none of the original cyrus.* files?   Don't ask me why, it's a very long story. I believe you can just recreate the mailbox (using cyradm or similar) and then run the

Re: Cyrus 2.4 and unexpunge messages.

2019-01-02 Thread Patrick Boutilier
On 1/2/19 9:31 AM, Adam Tauno Williams wrote: On Wed, 2019-01-02 at 09:20 +0100, chose wrote: I've unexpunged messages in the mail box, all is recovered but the flag "deleted" persist, so Roundcube see the email as deleted and the emails are grey. Yes, this is correct. Unexpunge unexpunges,

Re: IMAPD-3.0.8 on FreeBSD-11.2 unindexed messages in inbox

2018-11-30 Thread Patrick Boutilier
On 11/30/18 11:24 AM, James B. Byrne via Info-cyrus wrote: While investigating a problem I encountered a(nother) situation that I do not understand. I entered a user's root mailbox using cd and did 'ls -l *\.'. There are 245 files with names like '999\.' in this directory. My understanding is

Re: suddenly 'User unknown'?

2018-11-30 Thread Patrick Boutilier
On 11/30/18 10:00 AM, Charles Bradshaw via Info-cyrus wrote: Javier On 30/11/2018 11:49, Javier Angulo wrote: On 11/29/18 8:00 PM, Charles Bradshaw via Info-cyrus wrote: Now you tell me is cyrus syslog being sent to /var/log/maillog? Or should it be going to /var/imapd.log as the

Re: tls-1.0 and cyrus-imaps-3.0.8

2018-11-26 Thread Patrick Boutilier
On 11/26/18 12:08 PM, James B. Byrne via Info-cyrus wrote: On Mon, November 26, 2018 10:28, Ken Murchison wrote: I can't reproduce your issue and I don't see where the sslscan output states that TLS1.0 is being advertised.  Can you actually connect using TLS1.0 protocol? No, we cannot.

Re: IMAP-3.0.8 and Diffie-Hellman

2018-11-23 Thread Patrick Boutilier
On 11/23/18 12:08 PM, James B. Byrne via Info-cyrus wrote: I would like someone to explain to me how the diffie-hellman parameters are adjusted for cyrus-imap. Unlike Postfix, there does not seem to be a separate setting in imapd.conf for a DH parameter file. At least, I cannot find

Re: System I/O error (in reply to end of DATA command) for LMTP delivery

2018-06-01 Thread Patrick Boutilier
Anything in /var/log/audit/audit.log ? On June 1, 2018 2:29:06 PM ADT, Stephen Ingram wrote: >Patrick- > >I'm also trying to get more debugging about he system I/O error, but >never >see it in the cyrus logs, only in the postfix logs. > >Steve > >On Fri, Jun 1, 2018 at

Re: System I/O error (in reply to end of DATA command) for LMTP delivery

2018-06-01 Thread Patrick Boutilier
directory/file that it wants to write to. Going by memory here since it has been a long time since I have seen the error. Steve On Fri, Jun 1, 2018 at 9:23 AM, Patrick Boutilier <mailto:bouti...@ednet.ns.ca>> wrote: On 06/01/2018 01:21 PM, Stephen Ingram wrote: I'm receiv

Re: System I/O error (in reply to end of DATA command) for LMTP delivery

2018-06-01 Thread Patrick Boutilier
On 06/01/2018 01:21 PM, Stephen Ingram wrote: I'm receiving a 451 4.3.0 System I/O error (in reply to end of DATA command) error from Postfix when trying to deliver to cyrus-imap and not really sure why. I'm on CentOS 7 (2.4.17-8) after downgrading from current version. I'm using Kerberos

Re: Moving from cIMAP-2.3.16 to 3.0.5

2018-05-12 Thread Patrick Boutilier
On 05/12/2018 06:03 PM, James B. Byrne via Info-cyrus wrote: I have used rsync to move our entire maill store from the old server to the new. I now I wish to move the contents of mailboxes.db from the old to the new. I have tried: sudo -u cyrus /usr/lib/cyrus-imapd/ctl_mboxlist -d -f

Re: Cannot LOGIN using openssl s_client

2018-04-27 Thread Patrick Boutilier
On 04/27/2018 10:56 AM, James B. Byrne via Info-cyrus wrote: OS : CentOS-6.9 Name: cyrus-imapd Arch: x86_64 Version : 2.3.16 Release : 15.el6 We have a working Apache-2.2 /Squirrelmail-1.42 (SM) / Cyrus-IMAP-2.3 (CI) setup. SM and CI reside on different hosts.

Re: please HELP

2018-01-22 Thread Patrick Boutilier
On 01/22/2018 07:55 PM, Heiler Bemerguy via Info-cyrus wrote: The way I interpret it is that the / means unixhierarchysep is on. Just tested this on 2.4.18 and the same thing happens. When you rename back no messages are listed and reconstruct does nothing. Ah. As suspected the rights are

Re: please HELP

2018-01-22 Thread Patrick Boutilier
On 01/22/2018 07:01 PM, Patrick Boutilier wrote: On 01/22/2018 06:02 PM, Heiler Bemerguy via Info-cyrus wrote: Em 22/01/2018 18:46, Dan White escreveu: On 01/22/18 17:44 -0300, Heiler Bemerguy via Info-cyrus wrote: imap_renamemailbox($mbox, "$mailbox", "$mai

Re: please HELP

2018-01-22 Thread Patrick Boutilier
On 01/22/2018 06:02 PM, Heiler Bemerguy via Info-cyrus wrote: Em 22/01/2018 18:46, Dan White escreveu: On 01/22/18 17:44 -0300, Heiler Bemerguy via Info-cyrus wrote: imap_renamemailbox($mbox, "$mailbox", "$mailbox"."TODELETE") Was this performed as an admin? Yes. In a huge list of imap

Re: cyrus + roundcube + managesieve for vacation notification

2017-12-16 Thread Patrick Boutilier
On 12/16/2017 04:55 AM, Patrick Goetz wrote: Just a quick follow up:  Vladislav was correct; there is no need to have both sieve and managesieve lines in /etc/cyrus/cyrus.conf.  I removed the managesieve line and the vacation sieve filter is working fine. Sieve does appear in /etc/services (I

Re: squat core dump

2017-12-08 Thread Patrick Boutilier
On 12/08/2017 08:52 AM, Gabriele Bulfon wrote: Hi, I'm getting a core dump while squattering folders, always on the same folder: 08045e68 libcyrus.so.0.0.0`charset_extractitem+0x218(8052d40, 804604c, a6, fe9607c9, 439b, 0) 08045ea8 libcyrus.so.0.0.0`charset_extractfile+0x33(8052d40, 804604c,

Re: Restart after new TLS certificate?

2017-10-27 Thread Patrick Boutilier
On 10/27/2017 07:51 AM, Paul van der Vlis wrote: Hello, I use now a certificate from LetsEncrypt and it is automatically renewed. Needs Cyrus to be restarted before it sees the new certificate? There is nothing changed in the configfile. The configfile points to an symlink what changes to a

Re: cyrus 2.4.18 / ubuntu and autocreateinboxfolders?

2017-10-24 Thread Patrick Boutilier
On 10/24/2017 03:07 AM, Kristian Rink wrote: Hi Nicola; thanks for your response. Am Dienstag, den 24.10.2017, 10:40 +1100 schrieb Nicola Nye: We would certainly encourage moving to 3.0 if you can : there's a lot of old bugs that have been fixed as well as some great new features you might

Re: autocreate_quota: 0

2017-10-22 Thread Patrick Boutilier
On 10/22/2017 11:44 AM, Patrick Boutilier wrote: On 10/16/2017 10:51 AM, Janos Dohanics wrote: On Fri, 13 Oct 2017 11:10:58 +1100 Nicola Nye <nic...@fastmailteam.com> wrote: Hi Janos, Your understanding is the same as mine: on successful IMAP or POP authentication, the user's inbox

Re: autocreate_quota: 0

2017-10-22 Thread Patrick Boutilier
On 10/16/2017 10:51 AM, Janos Dohanics wrote: On Fri, 13 Oct 2017 11:10:58 +1100 Nicola Nye wrote: Hi Janos, Your understanding is the same as mine: on successful IMAP or POP authentication, the user's inbox should be created if autocreate_quota is 0 or higher. Is

Re: corrupted mailboxes.db

2017-10-20 Thread Patrick Boutilier
On 10/20/2017 11:52 AM, Deniss wrote: Hello, I run cyrus imap 2.5.11. Somehow mailboxes.db become corrupted. running `ctl_mboxlist -d` leads to segfault, backtrace below. How can I recover mailboxes.db ? Backtrace #0  0x007d43e12952 in printf (__fmt=0x7d43e143c2 "%s\t%d %s %s\n") at

Re: Default value changes in Cyrus 3

2017-10-19 Thread Patrick Boutilier
, Patrick Boutilier <bouti...@ednet.ns.ca <mailto:bouti...@ednet.ns.ca>> wrote: On 10/19/2017 08:56 PM, Janos Dohanics wrote: On Thu, 19 Oct 2017 16:43:48 -0700 Stephen Ingram <sbing...@gmail.com <mailto:sbing...@gmail.com>> wrote:

Re: Default value changes in Cyrus 3

2017-10-19 Thread Patrick Boutilier
On 10/19/2017 08:56 PM, Janos Dohanics wrote: On Thu, 19 Oct 2017 16:43:48 -0700 Stephen Ingram wrote: While we are talking about it, can this just be switched on the fly if someone is using the "." namespace? Never tried it, but I read this page that the answer is yes.

Re: update to 3.0.3 even more problematic than 3.0.2

2017-08-31 Thread Patrick Boutilier
On 08/31/2017 10:48 AM, Jason L Tibbitts III wrote: "BG" == Bron Gondwana writes: BG> https://github.com/cyrusimap/cyrus-imapd/issues/2132 BG> We're pretty sure we've found the cause. Do you plan to cut a 3.0.4 release or should I plan on pushing this patch into my

Re: Message remains in spool after expunge

2017-08-22 Thread Patrick Boutilier
On 08/22/2017 09:48 AM, Arnaldo Viegas de Lima wrote: Hi, We have just migrated from 2.4.17 to 3.0.3 and we are having a problem with one of our scripts that perform actions on a SPAM folder for retraining purposes. All files placed by the user there are used for retaining. At the end Cyrus is

Re: Mailbox administration in cyrus

2017-06-21 Thread Patrick Boutilier
On 06/21/2017 10:42 AM, Dr. Peer-Joachim Koch wrote: Hi Michael, On 21.06.2017 15:28, Michael Menge wrote: Hi, Quoting "Dr. Peer-Joachim Koch" : Hi, is there an esay way to remove ALL mailboxes of an user ? I did not find any info about something like dm -r

Re: Problems with paragraph characters in SASL passwords?

2017-05-27 Thread Patrick Boutilier
On 05/27/2017 09:43 AM, Binarus wrote: Dear all, I am very happy with Cyrus imapd since many years. I am using it to host all IMAP mail boxes of my company. I am using SASL and its tools (mainly saslpasswd2) for password management. The primary IMAP client in the company is Thunderbird.

Re: How to control the header cyrus lmtp adds to an e-mail upon delivery

2017-05-26 Thread Patrick Boutilier
Do you have MAILSERVER defined in /etc/hosts ? On 05/26/2017 07:30 AM, Michael Hieb wrote: Hmmm.. servername is clearly set in /etc/imapd.conf and lmtp is clearly using the result of gethostname(). Do you know if there is there somewhere else that I need to define servername? On 05/26/2017

Re: Multi-thread cyrus delayed forking of imapd processes after connecting to master listener

2017-05-23 Thread Patrick Boutilier
I have done something like this before, define the command in /etc/cyrus.conf as the strace command. Define it on a test IP so you are the only one hitting it. Something like: imap cmd="/usr/bin/strace -q -v -s200 -f -F -o /home/cyrus/pop3 /full/path/to/imapd -C /etc/imapd.domain4.com.conf "

Re: Multi-thread cyrus delayed forking of imapd processes after connecting to master listener

2017-05-19 Thread Patrick Boutilier
Have you tried stracing one of the imap processes that is slow to see where the delay is? On May 19, 2017 6:48:36 AM ADT, Michael Hieb wrote: >Apologies for long post, most of it is configuration details. > >I have recently changed from a single threaded cyrus server

Re: Problems with cyrus 2.5.10 after system update

2017-05-17 Thread Patrick Boutilier
On 05/17/2017 12:04 PM, Jason Englander wrote: On Wed, 17 May 2017, Patrick Goetz wrote: I had to update my mail server for unrelated reasons, after which I couldn't get cyrus-master to start. It turned out to be related to ctl_cyrusdb not running because the program was compiled against

Re: Problems with cyrus 2.5.10 after system update

2017-05-17 Thread Patrick Boutilier
On 05/17/2017 11:40 AM, Patrick Goetz wrote: So, running openssl s_client -connect mail.myserver.org:143 -starttls imap Same error with -tls1_2 ? openssl s_client -connect mail.myserver.org:143 -tls1_2 -starttls imap it appears that it's still trying to use SSLv3 and the newest

Re: removing folders which are not in mailboxes.db

2017-05-15 Thread Patrick Boutilier
On 05/15/2017 07:55 AM, Marcus Schopen wrote: 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

Re: removing folders which are not in mailboxes.db

2017-05-15 Thread Patrick Boutilier
On 05/15/2017 06:35 AM, Marcus Schopen wrote: 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

Re: sync_client problems

2017-05-11 Thread Patrick Boutilier
Try a -G with reconstruct? -G Force re-parsing of the underlying message (checks GUID correctness). Reconstruct with -G should fix all possible individual message issues, including corrupted data files. On 05/11/2017 02:37 PM, Eric Cunningham wrote: I have to walk this back. In

Re: Problems upgrading cyrus (2.1 -> 2.4) - what about sieve

2017-04-26 Thread Patrick Boutilier
On 04/26/2017 05:11 AM, Dr. Peer-Joachim Koch wrote: Hi, I am preparing an update of an old mail server. The mailboxes and mails are no the problem. This seems to be easy. But how can I transfer the sieve scripts ? However I can write a script using sieve shell and import all ~100 scripts

Re: IMAP.c: loadable library and perl binaries are mismatched

2017-04-19 Thread Patrick Boutilier
On 04/19/2017 01:14 PM, Patrick Goetz wrote: Correction: just realized I'm running 2.5.7, not 2.4.17. Probably just need to upgrade, but am still interested in knowing if there is any way to get around using cyradm for adding users. We use this perl module with a very simple perl script to

Re: strange sieve problem

2017-04-04 Thread Patrick Boutilier
Is it the second email sample that does not work? If so the To: on that one is walter@waldinet.local and I don't see any rules for walter@waldinet.local. Also, where does the mail that doesn't work end up? On 04/04/2017 03:00 AM, Walter H. via Info-cyrus wrote: Hello, I've found a Sieve

Re: cyr_expire suddenly segfaulting

2017-03-12 Thread Patrick Boutilier
On 03/12/2017 02:24 PM, Nick Howitt wrote: Hi, I've been running cyrus-imap for a few years not. I am using 2.4.17-8 on ClearOS (a Centos derivative). I've been running with "delprune cmd="cyr_expire -E 1 -X 7 -D 7" at=0001" in cyrus.conf, but in the last week or so it has started segfaulting.

Re: Preventing users from deleting a spam folder.

2016-12-13 Thread Patrick Boutilier via Info-cyrus
On 12/13/2016 05:23 PM, Matthew Schumacher via Info-cyrus wrote: Forgot to sent to the list: On 12/13/2016 12:02 PM, Patrick Boutilier via Info-cyrus wrote: On 12/13/2016 04:56 PM, Matthew Schumacher via Info-cyrus wrote: Expiring the email looks simple enough, but I can't quite seem

Re: Preventing users from deleting a spam folder.

2016-12-13 Thread Patrick Boutilier via Info-cyrus
On 12/13/2016 04:56 PM, Matthew Schumacher via Info-cyrus wrote: Hello, I would like to start moving spam into a spam folder for each of my users instead of dropping it, then deleting it after a few weeks. Expiring the email looks simple enough, but I can't quite seem to figure out how to

Re: expire and remove deleted mailboxes from DELETED.user

2016-11-09 Thread Patrick Boutilier via Info-cyrus
On 11/09/2016 12:50 PM, Marcus Schopen via Info-cyrus wrote: 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:

Re: 2.4.17 --> 2.5.3 Delayed expunge?

2016-10-11 Thread Patrick Boutilier via Info-cyrus
On 10/11/2016 10:07 AM, Sergey via Info-cyrus wrote: On Tuesday 11 October 2016, Patrick Boutilier via Info-cyrus wrote: http://www.cyrusimap.org/imap/download/release-notes/2.5/x/2.5.0.html#imap-relnotes-2-5-0-upgrading Thanks. I see what link unchanged but redirection is not happening now

Re: 2.4.17 --> 2.5.3 Delayed expunge?

2016-10-11 Thread Patrick Boutilier via Info-cyrus
On 10/11/2016 07:46 AM, Sergey via Info-cyrus wrote: On Saturday 19 September 2015, Patrick Boutilier wrote: https://docs.cyrus.foundation/imap/release-notes/2.5/x/2.5.0.html Looks for Default Change: delete_mode and Default Change: expunge_mode Hm. Link is moved now and possible changed

Re: watching and processing a Spam folder for each user

2016-09-29 Thread Patrick Boutilier via Info-cyrus
On 09/29/2016 12:12 PM, Jason L Tibbitts III via Info-cyrus wrote: "BJM" == Brian J Murrell via Info-cyrus writes: BJM> So leaving out the latter part (the per-user database and handling, BJM> etc.) I wonder what, if anything exists to monitor the Spam (and

Re: command line deletion of files

2016-09-29 Thread Patrick Boutilier via Info-cyrus
On 09/29/2016 11:27 AM, Shawn Bakhtiar via Info-cyrus wrote: 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

Re: Upgrade from 2.4 to 2.5

2016-09-24 Thread Patrick Boutilier via Info-cyrus
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 with much more space (and faster processors) running Cyrus 2.5. I've muddled through most of the migration. Simply

Re: sieve runtime error Fileinto: Permission denied

2016-05-24 Thread Patrick Boutilier via Info-cyrus
On 05/24/2016 01:56 AM, OBATA Akio via Info-cyrus wrote: On Tue, 24 May 2016 12:32:07 +0900, Bron Gondwana via Info-cyrus wrote: On Tue, May 24, 2016, at 10:44, OBATA Akio via Info-cyrus wrote: On Tue, 24 May 2016 07:25:42 +0900, Bron Gondwana via Info-cyrus

Re: Fatal error: tls_start_servertls() failed

2016-02-14 Thread Patrick Boutilier via Info-cyrus
On 02/14/2016 02:46 AM, Mufit Eribol via Info-cyrus wrote: Hi All, I am running cyrus-imapd-2.4.17 on CentOS 7.2.1511 for appx. 20 mailboxes. I get the following messages every 10-12 days. imaps TLS negotiation failed: [ip address of a client] Fatal error: tls_start_servertls() failed

Re: db directory filling up - normal or config error?

2016-02-11 Thread Patrick Boutilier via Info-cyrus
of them: db_archive -d -h /var/imap/db On 02/09/2016 10:53 PM, Carl Brewer via Info-cyrus wrote: On 10/02/2016 9:08 AM, Patrick Boutilier via Info-cyrus wrote: Not sure if Cyrus is supposed to clean up (been using skiplist exclusively for years now) but according to this link you can remove

Re: db directory filling up - normal or config error?

2016-02-09 Thread Patrick Boutilier via Info-cyrus
Not sure if Cyrus is supposed to clean up (been using skiplist exclusively for years now) but according to this link you can remove the old log files. http://www-rohan.sdsu.edu/doc/BerkeleyDB/ref/transapp/logfile.html On 02/09/2016 04:05 PM, Carl Brewer via Info-cyrus wrote: I asked this

Re: Replication problem do_folders(): failed to rename

2015-12-14 Thread 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, 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

Re: sync_client Segmentation fault (core dumped)

2015-11-25 Thread Patrick Boutilier via Info-cyrus
On 11/25/2015 06:21 AM, Sunny via Info-cyrus wrote: Hi [root@imap08 user]# su cyrus bash-4.1$ /usr/lib/cyrus-imapd/sync_client -v -l -S backup-imap01 -u test8 Segmentation fault (core dumped) I run strace bash-4.1$ strace /usr/lib/cyrus-imapd/sync_client -v -l -S backup-imap01 -u test8

Re: 2.4.17 --> 2.5.3 Some mail folders no longer accessible

2015-10-16 Thread Patrick Boutilier
On 10/16/2015 10:08 AM, Tom Sparrow wrote: Not sure how 'answered' this question is since 3rd, but since I was having this problem this week thought I'd pitch in. I used sudo -u cyrus /bin/sh which saves on forgetting to change it back (and has the advantage of not opening anything up further

Re: 2.4.17 --> 2.5.3

2015-09-19 Thread Patrick Boutilier
On 09/19/2015 09:00 AM, Patrick Goetz wrote: I recall Bron telling us that the upgrade from 2.4.x to 2.5.x would be completely painless. That was mostly, but not completely true. A bunch of variable names in /etc/cyrus/imapd.conf changed (OK, that was easy to fix), and the upgrade did mostly

Re: 2.4.17 --> 2.5.3

2015-09-19 Thread Patrick Boutilier
ses firing at different time/frequencies? Correct. On 9/19/2015 7:05 AM, Patrick Boutilier wrote: On 09/19/2015 09:00 AM, Patrick Goetz wrote: I recall Bron telling us that the upgrade from 2.4.x to 2.5.x would be completely painless. That was mostly, but not completely true. A bunch of vari

Re: 2.4.17 --> 2.5.3 Delayed expunge?

2015-09-19 Thread Patrick Boutilier
On 09/19/2015 11:41 AM, Patrick Goetz wrote: Upgrading from 2.4.17 to 2.5.3 I kept the same configuration files, save for changing the names of some deprecated variables in /etc/cyrus/imapd.conf. Now I am noticing some unexpected behavior; namely when messages are deleted (in Thunderbird,

Re: cyradm: perl: symbol lookup error?

2015-09-17 Thread Patrick Boutilier
access by default. On 09/16/2015 12:00 PM, Patrick Boutilier wrote: We use this simple perl script to add users. Fill in appropriate username and password. #!/usr/bin/perl -w # use File::Basename; use IMAP::Admin; if ( 0 == scalar( @ARGV ) ) { die( "\n Usuage: $0 use

Re: cyradm: perl: symbol lookup error?

2015-09-16 Thread Patrick Boutilier
On 09/16/2015 01:33 PM, Patrick Goetz wrote: So, I've been happily avoiding upgrading cyrus imap because everything has been working and I'm generally in the "if it ain't broke, don't fix it" category. Cyrus version: 2.4.17 Perl version: 5.22.0 However, this morning I tried to create

Re: Cyrus tweaks (slow on roundcube)

2015-09-11 Thread Patrick Boutilier
On 09/11/2015 04:12 PM, signaldevelo...@gmail.com wrote: Andre, Thanks for the info!! Two questions since sasl is still new to me: 1) How many processes should I have running? Is there an option somewhere to adjust this or see it? 2) I installed havaged, but the process instantly crashes and

Re: Cyrus tweaks (slow on roundcube)

2015-09-11 Thread Patrick Boutilier
Delete it. Then you can try to start havaged and see if it crashes again. On 09/11/2015 08:30 PM, signaldevelo...@gmail.com wrote: Hi Patrick, Then do what with it? - Paul On Sep 11, 2015, at 3:53 PM, Patrick Boutilier <bouti...@ednet.ns.ca> wrote: On 09/11/2015 04:12 PM, signal

Re: Disappearing Mailbox Content

2015-09-09 Thread Patrick Boutilier
On 09/09/2015 12:03 PM, Robert T. Covell wrote: We have an odd situation that I cannot track down regarding all content in a mailbox disappearing (minus sub mailboxes). CentOS release 6.5 Cyrus IMAP v2.4.17-Invoca-RPM-2.4.17-6.el6 A while back we setup a Cyrus install for a client to use as a

Re: Problems with port 993 (SSL)

2015-09-01 Thread Patrick Boutilier
On 09/01/2015 12:26 PM, Paul van der Vlis wrote: Hello, Since yesterday I get phone calls from Apple users about port 993 not working anymore. Some other users don't have problems using port 993. No problems on port 143 with starttls. I've tested it myself on Linux, same problem. Starttls

Re: Migrate from 2.2.13 to 2.4.17 disasters

2015-08-24 Thread Patrick Boutilier
On 08/24/2015 08:44 AM, bs...@vsvinc.com wrote: Apologizes for the thread diversion here but I've been seeing a lot of discussion about using imapsync to migrate servers. From what I have read in the documentation, you must have each user's password. How is this possible in a business

Re: Number of imap process increasing over time

2015-08-14 Thread Patrick Boutilier
On 08/14/2015 11:46 AM, Shaheen Bakhtiar wrote: Good morning, Rebuilt our IMAP server from scratch using Cyrus 2.4.17 on FC22 x86_64. The server is a single process 2.3GH 8 core AMD 64bit with 4G of memory. Ever since the rebuild we are experience an ever growing number of imapd processes,

Re: A single user has all their email going to the spam folder.

2015-07-31 Thread Patrick Boutilier
And the headers of the e-mails that should not be going in to Spam definitely don't have X-Spam-Status:Yes in them? On 07/31/2015 04:03 PM, Alvin Starr wrote: My filter is require fileinto ; ## Flag: |UniqueId:0|Rulename: spam filter if header :contains X-Spam-Status Yes { fileinto

Re: Problems with replication

2015-05-17 Thread Patrick Boutilier
On 05/15/2015 07:06 PM, pl...@bibliothek.uni-kassel.de wrote: Hi, I have a strange problem setting up replication from one Linux to another. Both machines run cyrus 2.4.17, master is Gentoo (32 bit), replica is Debian 8 (64 bit). I am running a similar pair with Gentoo / Debian 7 w/o any

Re: Problem with quota

2015-04-04 Thread Patrick Boutilier
Quoting Simon Matter simon.mat...@invoca.ch, Sat, 04 Apr 2015: I guess that's because of single instance store. It's not a bug then but a feature if duplicatesuppression: 1. Duplicate messages are hardlinked on disk, they don't consume space there, but are still calculated in quota usage.

Re: Mystery cyrus/lmtp and cyrus/imap DBERROR log entries

2015-03-16 Thread Patrick Boutilier
On 03/16/2015 11:57 AM, Andy Dorman wrote: Hi, I am relatively new to Cyrus...we have been using it for many years, but I have only recently been given the job of administering it. We are using the Debian Cyrus package, 2.4.17. Everything as far as mail storage and delivery from the user

Re: cyrus mailboxes format

2015-03-04 Thread Patrick Boutilier
On 03/04/2015 12:29 PM, Geoff Winkless wrote: On 4 March 2015 at 16:22, Shaheen Bakhtiar shashan...@hotmail.com mailto:shashan...@hotmail.com wrote: I find that most users actually appreciate the ability to clean house :) ​ ​That sounds like wishful thinking to me. I would be utterly

Re: Announcing the Cyrus Foundation and development plans for 2015

2015-02-19 Thread Patrick Boutilier
On 02/19/2015 05:32 AM, Bron Gondwana wrote: [Sorry for the late delivery of this email, I've spoken a bit about this on IRC already, and the first meeting is in less than 24 hours, but I've been swamped by emergency other work.] Late last year a few of us formed a plan. A non-profit

Re: Using Roundcube with cyrus?

2015-02-03 Thread Patrick Boutilier
On 02/03/2015 11:39 AM, Patrick Goetz wrote: On 2/3/2015 7:28 AM, Patrick Boutilier wrote: Are you using pgo...@episcopalarchives.org as the userid or is Roundcube appending the domain automatically? Roundcube is appending the domain; I'm logging in with pgoetz. http://trac.roundcube.net

Re: Using Roundcube with cyrus?

2015-02-03 Thread Patrick Boutilier
On 02/03/2015 09:20 AM, Patrick Goetz wrote: This is a bit off topic, but is anyone using Roundcube webmail with cyrus? I've lost most of my hair trying to get this to work, and although it is working now, I'm not sure my fix is the correct way to solve the problem. Context: I only allow plain

Re: Auto create folders

2015-01-27 Thread Patrick Boutilier
On 01/26/2015 02:48 PM, Nic Bernstein wrote: On 01/26/2015 11:30 AM, Andrew Morgan wrote: On Mon, 26 Jan 2015, John Mok wrote: Hi Andy, Thank you for your prompt reply. How do you create mailboxes now? I used cyradm and createmailbox, e.g. createmailbox user/username@DOMAIN, to create

Re: User mail spool partitioning mystery

2015-01-16 Thread Patrick Boutilier
On 01/16/2015 04:57 PM, Patrick Goetz wrote: I have a couple of existing cyrus 2.3.16 installs with this partitioning configuration in imapd.conf: defaultpartition: default partition-default: /home/cyrus/mail I create users using cyradm: cm user.myuser and the user mail spool folder

Re: User mail spool partitioning mystery

2015-01-16 Thread Patrick Boutilier
in /home/cyrus/mail/user for all mail and give nothing but I/O Errors as the mail would not be there. On 01/16/2015 03:04 PM, Patrick Boutilier wrote: On 01/16/2015 04:57 PM, Patrick Goetz wrote: I have a couple of existing cyrus 2.3.16 installs with this partitioning configuration

Re: saslauthd question

2014-12-11 Thread Patrick Boutilier
On 12/11/2014 02:34 PM, Patrick Goetz wrote: Surely someone on this list will know the answer to this question. Given sasl_pwcheck_method: saslauthd, with authentication mechanism=pam I'm trying to track down how saslauthd knows that the cyrus PAM service file is called imap; i.e.

Re: cyr_expire: deliver.db inconsistent pre-checkpoint bailing out

2014-12-06 Thread Patrick Boutilier
Been a while but we just used to delete deliver.db when it went bad and just let Cyrus recreate it. On December 6, 2014 1:07:06 PM AST, Vincent Fox vb...@ucdavis.edu wrote: Hi, We are running quite old Cyrus 2.3.8 (near retirement) and last couple of nights it started kicking up this error

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

2014-10-10 Thread 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 stops, /var/lib/cyrus/sync/log fills up and I don't see a /usr/lib/cyrus/bin/sync_client -r

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

2014-10-10 Thread Patrick Boutilier
On 10/10/2014 09:31 AM, Marcus Schopen wrote: 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

Re: cyrus: delete previously deleted messages(after backup recovery)

2014-04-23 Thread Patrick Boutilier
rediscovered - appending user.boutilpj 2014-04-22 15:06 GMT+02:00 Patrick Boutilier bouti...@ednet.ns.ca mailto:bouti...@ednet.ns.ca: On 04/22/2014 09:19 AM, Y B wrote: Hello, after a disk crash, I had to recover all the emails from a daily backup

Re: cyrus: delete previously deleted messages(after backup recovery)

2014-04-22 Thread Patrick Boutilier
On 04/22/2014 09:19 AM, Y B wrote: Hello, after a disk crash, I had to recover all the emails from a daily backup. Unfortunately, I noticed that this backup was made with the rsync command but WITHOUT the --delete options. That means that the mail backup was much larger than the original one

Re: cyrus compile under Centos 6.5

2014-04-15 Thread Patrick Boutilier
On 04/15/2014 08:38 AM, Charles Bradshaw wrote: Thanks Andy, Here goes a source build. I downloaded cyrus-imapd-2.4.17 and cyrus-sasl-2.1.26 from ftp://ftp.cyrusimap.org config.log from: [brad@dell2600-1 cyrus-sasl-2.1.26]$ ./configure make fails with the following errors: [brad@dell2600-1

  1   2   3   4   >