From owner-freebsd-stable@FreeBSD.ORG Fri Jul 16 09:43:25 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E83D31065679 for ; Fri, 16 Jul 2010 09:43:25 +0000 (UTC) (envelope-from reko.turja@liukuma.net) Received: from www.liukuma.net (www.liukuma.net [IPv6:2001:470:28:38a::1]) by mx1.freebsd.org (Postfix) with ESMTP id 404338FC0C for ; Fri, 16 Jul 2010 09:43:25 +0000 (UTC) Received: from www.liukuma.net (localhost [127.0.0.1]) by www.liukuma.net (Postfix) with ESMTP id 644C41CC69; Fri, 16 Jul 2010 12:43:24 +0300 (EEST) X-DKIM: Sendmail DKIM Filter v2.8.3 www.liukuma.net 644C41CC69 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=liukuma.net; s=liukudkim; t=1279273404; bh=Qsg9huemlkV9vmGCi9AFsidMeLLiP0pdJMekNAV3H1w=; h=Message-ID:From:To:Cc:References:In-Reply-To:Subject:Date: MIME-Version:Content-Type:Content-Transfer-Encoding; b=V+5mC03Xu0dxSBCTzYOvKZivls86U+EWEYE0s0ExYUWdITADcn+CMNxCAqlzUsrd1 PG3oqT7l3bMDUXy6ir/hQjLX69TEd0ivzyhu8+s/SC4mO0z3SyERTQpfyidgeT0Sbi QgX904EToX3gUumVlkDAMr/PqyHnwHqq/pS1ZR6U= X-Virus-Scanned: amavisd-new at liukuma.net Received: from www.liukuma.net ([127.0.0.1]) by www.liukuma.net (www.liukuma.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Pm8lc6zqhehO; Fri, 16 Jul 2010 12:43:20 +0300 (EEST) Received: from rivendell (a91-155-174-194.elisa-laajakaista.fi [91.155.174.194]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) (Authenticated sender: ignatz@www.liukuma.net) by www.liukuma.net (Postfix) with ESMTPSA id 9D2BB1CC67; Fri, 16 Jul 2010 12:43:20 +0300 (EEST) X-DKIM: Sendmail DKIM Filter v2.8.3 www.liukuma.net 9D2BB1CC67 Message-ID: From: "Reko Turja" To: "Jeremy Chadwick" References: <4C3CC831.7040005@kaarposoft.dk> <20100713210729.GA11943@icarus.home.lan> <0228E401B70A4023A6F86A2ADAE59EF9@rivendell> <008D0251AE4F4A2DBAA1369410565B61@rivendell> <20100715162251.GA73929@icarus.home.lan> <20100716083617.GA97981@icarus.home.lan> <3FE6787E5CAC4C108C031CA6C8044FE4@rivendell> <20100716092512.GA99365@icarus.home.lan> In-Reply-To: <20100716092512.GA99365@icarus.home.lan> Date: Fri, 16 Jul 2010 12:43:22 +0300 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 14.0.8089.726 X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8089.726 Cc: "Mikhail T." , freebsd-stable@freebsd.org, Henrik /KaarPoSoft Subject: Re: openldap client GSSAPI authentication segfaults in fbsd8stablei386 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jul 2010 09:43:26 -0000 > This doesn't help. The problem is that Cyrus imapd is completely > freaking out, continually dying and re-forking itself, with my=20 > kernel > message buffer filling rapidly + all.log filling. So, there is=20 > further > configuration of this daemon that's needed (meaning it does not work > "straight out of the box"), and I need those configuration details. Below is the relevant parts of my config that should get you going: my /usr/local/etc/cyrus.conf: START { # do not delete this entry! recover cmd=3D"ctl_cyrusdb -r" # this is only necessary if using idled for IMAP IDLE idled cmd=3D"idled" } # UNIX sockets start with a slash and are put into /var/imap/socket SERVICES { # add or remove based on preferences imap cmd=3D"imapd -C /usr/local/etc/imapd.conf" = listen=3D"imap"=20 prefork=3D0 # pop3 cmd=3D"pop3d" listen=3D"pop3" prefork=3D0 # pop3s cmd=3D"pop3d -s" listen=3D"pop3s" prefork=3D0 sieve cmd=3D"timsieved" listen=3D"sieve" prefork=3D0 # at least one LMTP is required for delivery # lmtp cmd=3D"lmtpd" listen=3D"lmtp" prefork=3D0 lmtpunix cmd=3D"/usr/local/cyrus/bin/lmtpd"=20 listen=3D"/var/imap/socket/lmtp" prefork=3D0 # this is only necessary if using notifications notify cmd=3D"notifyd" listen=3D"/var/imap/socket/notify"=20 proto=3D"udp" prefork=3D1 } EVENTS { # this is required checkpoint cmd=3D"ctl_cyrusdb -c" period=3D30 # this is only necessary if using duplicate delivery suppression delprune cmd=3D"cyr_expire -E 3" at=3D0400 # this is only necessary if caching TLS sessions tlsprune cmd=3D"tls_prune" period=3D1440 } And /usr/local/etc/imapd.conf # # $FreeBSD: ports/mail/cyrus-imapd2/files/imapd.conf,v 1.8 2002/08/08=20 14:06:48 ume Exp $ # # Sample configurations file for Cyrus IMAPd # Most lines in this file are commented; in this case the default is=20 used. # The commented lines (usually) contain the default value configdirectory: /var/imap partition-default: /usr/local/imap unixhierarchysep: yes lmtp_downcase_rcpt: yes imap_allowanonymouslogin: no sieve_allowanonymouslogin: no imap_allowplaintext: no sieve_allowplaintext: yes imapidresponse: yes admins: cyrus toor autocreatequota: -128 duplicatesuppression: yes sendmail: /usr/local/sbin/sendmail postmaster: postmaster sieve_maxscripts: 15 sasl_maximum_layer: 256 sasl_minimum_layer: 0 sasl_pwcheck_method: saslauthd sasl_auto_transition: yes lmtpsocket: /var/imap/socket/lmtp idlesocket: /var/imap/socket/idle notifysocket: /var/imap/socket/notify # # EOF In addition, check that you have the following directories created +=20 run the mkimap for creating the rest of directories/db's Create the configuration directory specified by the "configdirectory"=20 option in "imapd.conf." The configuration directory is similar in=20 concept to the "/usr/lib/news" directory. It stores information about=20 the IMAP server as a whole. This document uses the configuration directory "/var/imap" in its=20 examples. This directory should be owned by the cyrus user and group=20 and should not permit access to other users. cd /var mkdir imap chown cyrus imap chgrp mail imap chmod 750 imap Create the default partition directories specified in the=20 "/etc/imapd.conf" file. This document uses a default partition directory of "/var/spool/imap"=20 in the following example: cd /var/spool mkdir imap chown cyrus imap chgrp mail imap chmod 750 imap Change to the Cyrus user and use the tool "tools/mkimap" to create the=20 rest of the directories (subdirectories of the directories you just=20 created). su cyrus tools/mkimap exit Hope this helps -Reko=20