From owner-freebsd-perl@FreeBSD.ORG Thu Mar 2 18:14:39 2006 Return-Path: X-Original-To: perl@FreeBSD.org Delivered-To: freebsd-perl@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1280A16A420 for ; Thu, 2 Mar 2006 18:14:39 +0000 (GMT) (envelope-from str@trantor.komkon.org) Received: from trantor.komkon.org (trantor.komkon.org [65.217.243.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51D4B43D4C for ; Thu, 2 Mar 2006 18:14:38 +0000 (GMT) (envelope-from str@trantor.komkon.org) Received: from trantor.komkon.org (str@localhost.komkon.org [127.0.0.1]) by trantor.komkon.org (8.13.3/8.13.3) with ESMTP id k22IEg6B095699; Thu, 2 Mar 2006 13:14:43 -0500 (EST) (envelope-from str@trantor.komkon.org) Received: (from str@localhost) by trantor.komkon.org (8.13.3/8.13.3/Submit) id k22IEgum095698; Thu, 2 Mar 2006 13:14:42 -0500 (EST) (envelope-from str) Date: Thu, 2 Mar 2006 13:14:42 -0500 (EST) From: Igor Roshchin Message-Id: <200603021814.k22IEgum095698@trantor.komkon.org> To: perl@FreeBSD.org X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on trantor.komkon.org Cc: Subject: p5-Mail-SpamAssassin-3.1.0_6 X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Mar 2006 18:14:39 -0000 Hello! I am using p5-Mail-SpamAssassin-3.1.0_6 on a 5.4-R system. It is installed (upgraded) via portupgrade (on February 16). I've noticed the following (imho incorrect) behavior. As installed from the ports using portupgrade it is set to run as a root (not as spamd user). After previous installation, I changed the file /usr/local/etc/rc.d/sa-spamd.sh : - command_args="-d -r ${pidfile}" + command_args="-d -r ${pidfile} -u spamd" However, the new installation of the port overwrites this file. Is there a more elegant way of specifying '-u spamd' ? Why doesn't port installation use -u spamd (--username spamd) as a default setting even though it is presently a preferred model for FreeBSD? I believe the initial installation I had (from packages) - does install this package that it runs as a spamd user. Why does not the port do so? Also, even when the spamd is ran as a spamd users as above, AWL.pm is trying to write the auto-whitelist into the ~root/.spamassassin directory instead of ~spamd/.spamassassin. I was able to specify in local.cf: auto_whitelist_path /var/spool/spamd/.spamassassin/ but I suspect there is some correct way of dealing with this so that AWL.pm correctly recognizes the "spamd" username. Thank you, Igor Roshchin System Administrator KomKon Sites