From owner-freebsd-questions@FreeBSD.ORG Tue Jul 19 11:36:49 2005 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D86916A41C for ; Tue, 19 Jul 2005 11:36:49 +0000 (GMT) (envelope-from gabor.kovesdan@t-hosting.hu) Received: from server.t-hosting.hu (server.t-hosting.hu [217.20.133.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCC9243D46 for ; Tue, 19 Jul 2005 11:36:47 +0000 (GMT) (envelope-from gabor.kovesdan@t-hosting.hu) Received: from localhost (localhost [127.0.0.1]) by server.t-hosting.hu (Postfix) with ESMTP id 25C8E997928; Tue, 19 Jul 2005 13:36:46 +0200 (CEST) Received: from server.t-hosting.hu ([127.0.0.1]) by localhost (server.t-hosting.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 55654-01; Tue, 19 Jul 2005 13:36:42 +0200 (CEST) Received: from [80.98.156.20] (catv-50629c14.catv.broadband.hu [80.98.156.20]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by server.t-hosting.hu (Postfix) with ESMTP id 02FA9997587; Tue, 19 Jul 2005 13:36:41 +0200 (CEST) Message-ID: <42DCE5C9.2060002@t-hosting.hu> Date: Tue, 19 Jul 2005 13:36:41 +0200 From: =?ISO-8859-1?Q?K=F6vesd=E1n_G=E1bor?= User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: David Kelly References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: amavisd-new at t-hosting.hu Cc: FreeBSD Questions Subject: Re: Courier-IMAPD problem with fam(d) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2005 11:36:49 -0000 David Kelly wrote: > /var/log/maillog is spayed full of the following message repeated > hundreds or thousands of times. No matter if the courier-imap port is > with or with out FAM. > > Jul 18 19:44:19 Grumpy imapd: Failed to create cache file: > maildirwatch (dkelly) > Jul 18 19:44:19 Grumpy imapd: Error: Input/output error > Jul 18 19:44:19 Grumpy imapd: Check for proper operation and > configuration > Jul 18 19:44:19 Grumpy imapd: of the File Access Monitor daemon (famd). > > The only client used is Apple's Mail.app. This has been going on for > the past year. Sometimes in spite of the error log messages all seems > to be Good Enough. Then other times Mail.app can't hold a connection. > > Elsewhere found a suggestion that the following in my FreeBSD-hosted > Maildir would help, but has not: > > % cd Maildir > % ln -s . .INBOX > % ln -s . .INBOX. > > Just now when I deleted the above symbolic links, my mail downloaded > altho there is another of the above imapd error messages in maillog, > apparently one for each mailbox message downloaded. > > When ever Mail.app gets stuck it seems like all is needed is for the > mailbox directory to change somehow, or a message or two downloaded, > deleted or something, then Mail.app is perfectly happy. > > Bulk in maillog is nothing but a nuisance. Failed connection is > worse. How the heck is fam supposed to be configured? Or how the heck > can I get rid of it? The mail/courier-imap port installs famd as a dependency, but You have to manually configure and start it. Take a look at /usr/local/etc/fam.conf. Anyway, this is a deficiency in the new versions of courier-imap. There isn't some kind of --without-fam configure options, the new versions require fam. As for me, I had the same problem with it. My maillog was full of junk, but I didn't notice any kind of error. I could use imap well, but the junk in my log was very annoying, so I applied a little hack. I did "make patch" and found the logging part of the source code and simply deleted those lines. Now, I had a well-working mail system and there isn't such junk in my maillog. Cheers, Gábor Kövesdán