From owner-freebsd-questions@FreeBSD.ORG Tue Mar 7 21:50:09 2006 Return-Path: X-Original-To: freebsd-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 2F73316A422 for ; Tue, 7 Mar 2006 21:50:09 +0000 (GMT) (envelope-from peo@intersonic.se) Received: from neonpark.inter-sonic.com (neonpark.inter-sonic.com [212.247.8.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id A082443D48 for ; Tue, 7 Mar 2006 21:50:08 +0000 (GMT) (envelope-from peo@intersonic.se) Received: from localhost (terrapin.inter-sonic.com [172.16.1.12]) by neonpark.inter-sonic.com (Postfix) with ESMTP id AB883818E22 for ; Tue, 7 Mar 2006 22:50:07 +0100 (CET) Message-ID: <440E0005.9030700@intersonic.se> Date: Tue, 07 Mar 2006 22:49:57 +0100 From: Per olof Ljungmark Organization: Intersonic AB User-Agent: Thunderbird 1.5 (X11/20060120) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <440C02F6.5090408@intersonic.se> <44u0aai9hl.fsf@be-well.ilk.org> In-Reply-To: <44u0aai9hl.fsf@be-well.ilk.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at inter-sonic.com Subject: Re: help decipher login msgs 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, 07 Mar 2006 21:50:09 -0000 Lowell Gilbert wrote: > Per olof Ljungmark writes: > >> I want to set up Webmin to administer mailboxes on a Cyrus-IMAP server >> with the help of an external module >> http://www.tecchio.net/webmin/cyrus/ >> and it works, sort of. >> >> The following messages are recorded in /var/log/messages: >> >> perl: No worthy mechs found >> (the login works despite this message) >> >> Mar 5 18:33:23 daemon su: login_getclass: unknown class >> '/usr/local/cyrus/bin/mbpath "user/"' >> Mar 5 18:33:23 daemon su: login_getclass: unknown class >> '/usr/local/cyrus/bin/mbexamine "user/"' >> This one I would be very interested to know more about. The login.conf >> manpage is a bit stiff for me but it is exactly those two functions >> I'm interseted in. > > Those cyrus executables are being treated as class names in the login > configuration. Your syntax in login.conf must be confused to make > that happen. Look at where their names appear in your login.conf (and > remember to rebuild the database with cap_mkdb(8) to be sure that what > is in the file matches what is actually being used). Hmm, well, yes. It is a vanilla FreeBSD-6 login.conf (at least I did not touch it) -rw-r--r-- 1 root wheel 6802 Nov 3 09:12 login.conf I first thought it was the stupid hostname (daemon) so I changed it and rebuilt with cap_mkdb(8) to be very sure but the messages are still there: stellablue su: login_getclass: unknown class '/usr/local/cyrus/bin/mbpath "user/peo"' It may be that the webmin cyrus-imap module is too Linux-specific here? I'll go back and try to see what it wants. Thanks! Per olof