From owner-freebsd-questions@FreeBSD.ORG Thu Jan 10 15:49:00 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B31D38CD for ; Thu, 10 Jan 2013 15:49:00 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 7196965A for ; Thu, 10 Jan 2013 15:48:59 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TtKNU-0008RL-7K for freebsd-questions@freebsd.org; Thu, 10 Jan 2013 16:49:12 +0100 Received: from pool-173-79-84-117.washdc.fios.verizon.net ([173.79.84.117]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Jan 2013 16:49:12 +0100 Received: from nightrecon by pool-173-79-84-117.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Jan 2013 16:49:12 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Subject: Re: Gamin/IMAP issue Date: Thu, 10 Jan 2013 10:48:41 -0500 Lines: 56 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-79-84-117.washdc.fios.verizon.net X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: nightrecon@hotmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jan 2013 15:49:00 -0000 Daniel Staal wrote: > > Since upgrading to 9.1 I've been getting errors retrieving my email via > IMAP. They don't appear to actually prevent anything, but they are > annoying at least. (And while I haven't noticed anything else that is > having the same errors that doesn't mean it's not happening...) > > The errors I'm getting are: > Failed to connect to socket /tmp/fam-daniel/fam- > Failed to create cache file: maildirwatch (daniel) > Error: Input/output error > Check for proper operation and configuration > of the File Access Monitor daemon (famd). > > ('daniel' of course being the name of my user.) I'm using courier-IMAP > and > gamin. The only thing I can find online on this is someone else on the > freebsd forums who had the same problem ~8 years ago, who eventually gave > up and switched to fam. (Well, other than the ones that say 'install > fam/gamin', which I have installed, but doesn't appear to be working.) I > have rebuilt and reinstalled both courier-IMAP and gamin. (I actually did > a 'rebuild all dependencies' for gamin.) Permissions on the /tmp and > /tmp/fam-daniel directories are as I'd expect. I've also increased > kern.maxfiles to 100000, to make sure it can handle my large maildir > directories. (Though this wasn't a problem before I upgraded.) Not exactly sure where the problem stems from, but one thing you may wish to consider: do make config on the courier-imap port and deselect the 'with gamin' option and rebuild/make reinstall. I ran courier-imap forever without gamin so I suspect it's not really needed. If this works out remove gamin from the box if there is nothing else using it. Same for fam - if it isn't absolutely required by anything get rid of it. Only port I have that actually uses/depends on gamin for me is Samba36. The only thing I can think of why courier-imap might have use for gamin/fam is for shared folders and shared folder indexing. This I do not use. YMMV? Note: /tmp is usually a 'sticky bit' set - mode 1777. I've had a time or two in the past where I've muffed that up. > Anyone have any other ideas on where I can start troubleshooting? (And > yes, I'm considering upgrading to Dovecot, but I want to know everything > is working first.) > I just made the move to dovecot2 after 10 years, or so, of using courier- imap. Not that I ever had any trouble with courier-imap either, but the dovecot2 is a little cleaner install with fewer 'satellite' addons. Been using it a month now and am happy with results. It also slid right in and took over the existing Maildir contents from pre-existing courier-imap - I was very happy to see this! -Mike