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: https://lists.andrew.cmu.edu/pipermail/info-cyrus/2020-May/04125

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 ha

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 co

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

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 (compresiv

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 AppStream

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 stat

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 s

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 establi

Re: Upgrade cyrus 2.4.17 to 2.4.18 on Ubuntu

2019-03-25 Thread Patrick Goetz
I believe the version number change (incremental change to stable release) indicates you shouldn't have any problems, but of course shut down the service while it's being updated. Re: Cyrus 3.x packages for Ubuntu: I thought Debian was the one distro the cyrus crew provided up-to-date package

cyrus_sasl 2.1.26 to 2.1.27 upgrade changed PAM behavior?

2019-03-21 Thread Patrick Goetz
This is more of a curiosity question than a problem, as I finally figured out why authentication stopped working on my cyrus-imapd 2.5.12 server. I use sasl in PAM mode: /usr/sbin/saslauthd -a pam A recent Arch linux system upgrade broke authentication on my email server. The only related ch

Re: cyrus-imapd build dependencies

2019-03-20 Thread Patrick Goetz
Thanks, Ellie -- that was helpful. A couple of follow up comments, though. On 3/18/19 7:55 PM, ellie timoney wrote: This page is in the developer section, so its context is for people who are Cyrus developers (especially for new contributors needing to get rolling quickly). Unfortunately no

Re: segfaults with cyrus-imapd 3.0.9 on latest arch linux

2019-03-20 Thread Patrick Goetz
the -docs one. I’d argue that manpages are actually useful to have around). These are only needed at buildtime and need not be present on the actual server system. On 3/19/19 5:37 PM, Andreas Piesk wrote: Am 19.03.19 um 22:00 schrieb Patrick Goetz: Have you tried the 3.0.9 AUR package?

Re: segfaults with cyrus-imapd 3.0.9 on latest arch linux

2019-03-20 Thread Patrick Goetz
ar that --disable-pcre is a configuration option you can't actually use. On 3/19/19 5:37 PM, Andreas Piesk wrote: Am 19.03.19 um 22:00 schrieb Patrick Goetz: Have you tried the 3.0.9 AUR package?    https://aur.archlinux.org/packages/cyrus-imapd Once you get the dependencies down,

Re: segfaults with cyrus-imapd 3.0.9 on latest arch linux

2019-03-19 Thread Patrick Goetz
Hi Andreas - Have you tried the 3.0.9 AUR package? https://aur.archlinux.org/packages/cyrus-imapd Once you get the dependencies down, this one compiles and runs. On 3/19/19 3:38 PM, Andreas Piesk wrote: Am 19.03.19 um 19:47 schrieb Jason L Tibbitts III: "AP" == Andreas Piesk writes: AP>

cyrus-imapd build dependencies

2019-03-18 Thread Patrick Goetz
This page on compiling cyrus-imapd: https://www.cyrusimap.org/imap/developer/compiling.html shows a number of build dependencies; however I was just able to compile cyrus-imapd without these installed: gperf libbsd Are these actually necessary? Later in the page, under "Alternate d

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 m

Re: Mailbox hierarchy determination?

2019-03-14 Thread Patrick Goetz
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" to also change the docs accordingly. Tha

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 auth

Re: Mailbox hierarchy determination?

2019-03-14 Thread Patrick Goetz
On 3/14/19 3:50 AM, Simon Matter wrote: Dirhashing is controlled by "fulldirhash" and "hashimapspool". Right. This is what it says in imapd.conf: fulldirhash: 0 If enabled, uses an improved directory hashing scheme which hashes on the entire username instead of using just the

Mailbox hierarchy determination?

2019-03-14 Thread Patrick Goetz
The first couple of times I set up cyrus-imapd I used Debian packages which separated mailboxes in the default partition into folders based on the starting letter of the mailbox; i.e. something like: /var/spool/cyrus/mail/{[A-Z,a-z,0-9]}/user Since I have fewer than 50 users and since I foun

Re: Configuring cyrus-imapd for compilation

2019-03-13 Thread Patrick Goetz
On 3/13/19 11:49 AM, Jason Tibbitts wrote: > In general I agree with you, but for a distro the issue > generally comes down to dependencies. > > In Fedora, for example, we split the virus scanning portion out to a > separate package, because otherwise cyrus-imapd ends up with a > dependency on cla

Re: Configuring cyrus-imapd for compilation

2019-03-13 Thread Patrick Goetz
n admin to have everything available to them in one package rather than having to go find the correct package for the optional piece they are looking for.  But that's just me. On 3/12/19 12:39 PM, Patrick Goetz wrote: I'm finally getting around to updating the Arch linux cyrus-imapd pac

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 operation

Configuring cyrus-imapd for compilation

2019-03-12 Thread Patrick Goetz
I'm finally getting around to updating the Arch linux cyrus-imapd package, and have a question. Looking through the configuration options, it looks like there are a number of functionality critical decisions to be made: CalDAV and CardDAV ./configure --enable-http --enable-calalarmd Mu

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) mbexamine

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 recon

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

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 configuration

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. I

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 documentati

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

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:31 PM, Stephen Ingram wrote: Patrick- Actually, nothing. I've got everything piped into /var/log/maillog and not too much there either beyond the actual error message. Hmmm... Usually when I have seen the System I/O error the log entry also records what the a

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 GSSAP

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 /var/spoo

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 w

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", "$mailbox".&q

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 acco

Re: Why Cyrus?

2018-01-19 Thread Patrick Goetz
On 01/19/2018 07:50 AM, Nic Bernstein wrote: > I'm sorry, and don't wish to start a flame war here, but can't just let > this comment pass. Fastmail are dedicated to improving the > documentation of Cyrus, and have on staff a person, Nicola Nye > , for that specific reason. They've spent a > bun

Re: Why Cyrus?

2018-01-19 Thread Patrick Goetz
Op 17-01-18 om 12:33 schreef Sebastian Hagedorn: >> Hi, A new customer asks me to build a new mailserver environment with Dovecot. I normally use Cyrus. My question: What's better in Cyrus? This is terribly OCD, but I can't stand the maildir message formatting Dovecot uses. Ugh, how inel

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: cyrus + roundcube + managesieve for vacation notification

2017-12-16 Thread Patrick Goetz
don't understand why it's not documented better. I've been scratching my head over how to provide this feature for years. On 12/15/2017 07:51 AM, Nic Bernstein wrote: On 12/15/2017 07:38 AM, Vladislav Kurz wrote: On 12/15/17 12:57, Patrick Goetz wrote: Many thanks to Vladisl

cyrus + roundcube + managesieve for vacation notification

2017-12-15 Thread Patrick Goetz
Many thanks to Vladislav and Merlin for setting me in the right direction for setting up user-activated vacation notifications. A couple of follow up questions: On 12/14/2017 03:31 AM, Vladislav Kurz wrote: >> Also, is there anything special I need to do with my cyrus configuration >> to allow

open port on firewall for sieve to enable vacation auto-response?

2017-12-13 Thread Patrick Goetz
I'm trying to set up a vacation auto-response utility for my users, and it appears that the path of least resistance is to use the sieverules plugin for roundcube (since roundcube is already installed as their webmail client alternative to Thunderbird). In reading through some online hints it

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 new

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 wa

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 wrote: Hi Janos, Your understanding is the same as mine: on successful IMAP or POP authentication, the user's inbox should be creat

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 there any error messages sho

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 /usr/

Re: Default value changes in Cyrus 3

2017-10-19 Thread Patrick Boutilier
at 6:04 PM, Patrick Boutilier <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 mailto:sbing...@gmail.com>> wrote: While we are talking about it, can

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. https://www.cyrusima

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 distro packages? In the

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: Solved! 3.0.2 on XStreamOS!

2017-08-04 Thread Patrick Goetz
So, this will be fixed in 3.0.3? On 08/03/2017 01:27 PM, Ken Murchison wrote: We shouldn't be requiring PCRE in order for LIST to work. This bug is fixed in Git: https://github.com/cyrusimap/cyrus-imapd/commit/fa6ff9a9a22ebdd2acdb0a402ba4334725be8194 On 08/03/2017 11:25 AM, Gabriele Bulfon

Re: permission denied message

2017-06-26 Thread Patrick Goetz
Did you create the cyrus mailbox before attempting to use squirrel mail? You have to create the mailbox (and then assign the appropriate user to have write permissions to it) before you can interface squirrel mail to cyrus imapd. On 06/26/2017 04:53 PM, haider al-shook via Info-cyrus wrote:

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 user.OLDUSER in cyradm

Cyrus 2.5.10 openssl 1.1 compatibility problems

2017-05-31 Thread Patrick Goetz
A couple of weeks ago I reported that cyrus 2.5.10 would no longer run after OpenSSL was upgraded from 1.0.x to 1.1.x, even after recompiling. One of the Arch Linux cyrus users pointed out that this modification to the source files: for f in $pkgname-$pkgver/imap/*.[hc]; do s

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. Recentl

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 in which >multiple domains

Re: Problems with cyrus 2.5.10 after system update

2017-05-17 Thread Patrick Goetz
.5.10 configuration files work as is, or have the key values changed again? Also, the new default is skiplist2, and I'm on skiplist. Is this going to be like a previous upgrade where the Berkeley DB files were automatically converted to skiplists? On 05/17/2017 10:48 AM, Patrick Goetz wrot

Re: Problems with cyrus 2.5.10 after system update

2017-05-17 Thread Patrick Goetz
Thanks everyone; this is as I expected. On 05/17/2017 10:04 AM, 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 ru

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 ag

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 n

Re: Problems with cyrus 2.5.10 after system update

2017-05-17 Thread Patrick Goetz
GCM_SHA384 (rsa 2048) - A | compressors: | NULL | cipher preference: client |_ least strength: A Nmap done: 1 IP address (1 host up) scanned in 2.87 seconds On 05/17/2017 09:52 AM, Wolfgang Breyha wrote: Patrick Goetz wrote on 17/05/17 16:40: SSL alert number 40 This error has no

Re: Problems with cyrus 2.5.10 after system update

2017-05-17 Thread Patrick Goetz
202 bytes Verification: OK === before I start googling, can someone tell me how to disable SSLv3 in imapd.conf? On 05/17/2017 08:53 AM, Patrick Goetz wrote: I had to update my mail server for unrelated reasons, after which I couldn't get cyrus-master to start.

Problems with cyrus 2.5.10 after system update

2017-05-17 Thread Patrick Goetz
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 libssl.so.1.0 while this library had been upgraded to libssl.so.1.1 So, I recompiled cyrus (

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 l

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 looki

Re: Migrate users

2017-05-01 Thread Patrick Goetz
I'm not 100% sure about how cyrus gets installed on CentOS, but can attempt to answer some of these: On 04/30/2017 10:36 PM, Simon Wilson wrote: 1. Is 2.4.17 compatible with the mailboxes transferred from the old Cyrus 2.3.7 server? I upgraded from 2.2 to 2.4 in place and don't recall hav

recovery from complete loss of mailboxes.db?

2017-04-29 Thread Patrick Goetz
Hi - I'm assembling some system documentation for a client and have been pouring over my cyrus notes and looking at the man pages. A couple of questions, starting with the simple one. annotations.db: "This database contains mailbox and server annotations." I still have no idea what this is

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 for

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 scri

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

2017-04-19 Thread Patrick Goetz
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. On 04/19/2017 11:12 AM, Patrick Goetz wrote: I'm running cyrus 2.4.17 on a couple of Arch lin

IMAP.c: loadable library and perl binaries are mismatched

2017-04-19 Thread Patrick Goetz
I'm running cyrus 2.4.17 on a couple of Arch linux servers, and Arch is an aggressively updated rolling release distro. I don't have to add new users very often, but ran cyradm today and got the following error message: [root@www sbin]# cyradm --user administrator localhost IMAP.c: loadable l

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 Test

Re: upgrading with murder/aggregator

2017-03-15 Thread Patrick Hennessy
from source. Thanks, Pat On 3/15/2017 2:02 PM, Patrick Hennessy wrote: > We are looking to migrate from a 2.3.7 server to a 2.4.18 server. I was > hoping to set up the cyrus murder/aggregator and move the existing > server behind that. While doing some reading and research, I cam

upgrading with murder/aggregator

2017-03-15 Thread Patrick Hennessy
We are looking to migrate from a 2.3.7 server to a 2.4.18 server. I was hoping to set up the cyrus murder/aggregator and move the existing server behind that. While doing some reading and research, I came across the following mailing list thread. I was wondering if it's still the case that the

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. I'

Re: imap impersonate

2017-01-19 Thread Patrick Goetz via Info-cyrus
Why would you need to do this as opposed to, say, just setting up multiple personalities on your MUA? On 01/19/2017 02:17 AM, Gabriele Bulfon via Info-cyrus wrote: Hi, is there any mechanism with Cyrus imap to impersonate another user? I've seen other imap servers scenarios where one may use p

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 se

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 creat

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 BJM> NotSpam) folders for all users

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 user.usernam

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 s

Re: how to deal with mail retention/archival.

2016-08-26 Thread Patrick Goetz via Info-cyrus
On 08/26/2016 08:09 AM, Alvin Starr via Info-cyrus wrote: What are others doing for mail archival? If you need to retain all email for regulatory reasons, I would run the mail through something like a procmail filter, sending one copy to the user and another to an Archival spool, which could

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 wrote: > On Mon, May 23, 2016, a

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 Although

  1   2   3   4   5   6   7   8   9   >