From owner-freebsd-questions@FreeBSD.ORG Mon Mar 27 20:50:10 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 53BA016A400 for ; Mon, 27 Mar 2006 20:50:10 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id D319643D46 for ; Mon, 27 Mar 2006 20:50:09 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 31D305CEF; Mon, 27 Mar 2006 15:50:09 -0500 (EST) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 21377-06; Mon, 27 Mar 2006 15:50:08 -0500 (EST) Received: from [199.103.21.238] (pan.codefab.com [199.103.21.238]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id 3B7A15C75; Mon, 27 Mar 2006 15:50:08 -0500 (EST) In-Reply-To: <20060327.122654.8420.581445@webmail39.nyc.untd.com> References: <20060327.122654.8420.581445@webmail39.nyc.untd.com> Mime-Version: 1.0 (Apple Message framework v746.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <6A4090B1-2D23-4638-AC6C-24940273B9F7@mac.com> Content-Transfer-Encoding: 7bit From: Charles Swiger Date: Mon, 27 Mar 2006 15:50:07 -0500 To: gs_stoller@juno.com X-Mailer: Apple Mail (2.746.3) X-Virus-Scanned: amavisd-new at codefab.com Cc: freebsd-questions@freebsd.org Subject: Re: sendmail error messages 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: Mon, 27 Mar 2006 20:50:10 -0000 On Mar 27, 2006, at 3:26 PM, gs_stoller@juno.com wrote: > Mar 25 23:28:15 sendmail[1181]: k2Q3wGR00214: SYSERR(root): hash > map "Alias0": > unsafe map file /etc/mail/aliases.db: World writable directory > > It repeats with IDs 1298 , 1328 , 1357 , 1439 , 1466 , & > 1491 in the brackets after 'sendmail'. What significance is there > to these numbers? Those of the process IDs of new sendmail child processes which start up and abort. > I checked /etc/mail/aliases.db with 'll -d' and got > -rw-r--r-- 1 root wheel 32768 Jun 12 2001 /etc/mail/aliases.db > and as you can see it is not World writable. What is going on, and > how > do I stop these messages? See this section of /usr/src/contrib/sendmail/README: +-----------------------+ | DIRECTORY PERMISSIONS | +-----------------------+ Sendmail often gets blamed for many problems that are actually the result of other problems, such as overly permissive modes on directories. For this reason, sendmail checks the modes on system directories and files to determine if they can be trusted. For sendmail to run without complaining, you MUST execute the following command: chmod go-w / /etc /etc/mail /usr /var /var/spool /var/spool/ mqueue chown root / /etc /etc/mail /usr /var /var/spool /var/spool/ mqueue ...there's also a DontBlameSendmail option which disables the security checks, but you're better off fixing the issue directly. (You could also check out mtree.) -- -Chuck