From owner-freebsd-i386@FreeBSD.ORG Fri Oct 23 20:30:04 2009 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9A6D1065670 for ; Fri, 23 Oct 2009 20:30:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9DD178FC1F for ; Fri, 23 Oct 2009 20:30:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n9NKU4uN057870 for ; Fri, 23 Oct 2009 20:30:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n9NKU4Ph057869; Fri, 23 Oct 2009 20:30:04 GMT (envelope-from gnats) Resent-Date: Fri, 23 Oct 2009 20:30:04 GMT Resent-Message-Id: <200910232030.n9NKU4Ph057869@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Warren Block Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 332061065679 for ; Fri, 23 Oct 2009 20:24:10 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 229138FC21 for ; Fri, 23 Oct 2009 20:24:10 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n9NKO9Fr011178 for ; Fri, 23 Oct 2009 20:24:09 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n9NKO9Co011177; Fri, 23 Oct 2009 20:24:09 GMT (envelope-from nobody) Message-Id: <200910232024.n9NKO9Co011177@www.freebsd.org> Date: Fri, 23 Oct 2009 20:24:09 GMT From: Warren Block To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: i386/139870: existing sendmail aliases ignored until sendmail restart X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Oct 2009 20:30:04 -0000 >Number: 139870 >Category: i386 >Synopsis: existing sendmail aliases ignored until sendmail restart >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Oct 23 20:30:04 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Warren Block >Release: 8.0-RC1 >Organization: >Environment: FreeBSD lightning 8.0-RC1 FreeBSD 8.0-RC1 #11: Thu Oct 22 13:03:43 MDT 2009 root@lightning:/usr/obj/usr/src/sys/LIGHTNING i386 >Description: On this system, /etc/mail/aliases has an entry to send root email to another user on another computer. newaliases was last run on October 14: -rw-r--r-- 1 root wheel 1693 Oct 14 07:18 aliases -rw-r----- 1 root wheel 16384 Oct 14 07:18 aliases.db That was from an earlier version of 8.0-RC1. After booting, the root alias in the already-built alias files is ignored by sendmail. The mail is sent to the un-aliased root. The existing .mc file does take effect (in this case, mail is still sent to a smarthost, where it bounces, since root@lightning.wonkity.com doesn't exist there). A 'make restart' of sendmail--without touching anything else--and the alias works. FreeBSD lightning 8.0-RC1 FreeBSD 8.0-RC1 #11: Thu Oct 22 13:03:43 MDT 2009 root@lightning:/usr/obj/usr/src/sys/LIGHTNING i386 This has been going on for a while; at least the last half-dozen rebuilds of 8.0-RC1 on this system have exhibited the problem. It's a regression from 7-STABLE. >How-To-Repeat: Enter an alias in /etc/aliases (only root tested). newaliases Reboot. Send mail to that alias (failure). cd /etc/mail; make restart Send mail to that alias (success). >Fix: >Release-Note: >Audit-Trail: >Unformatted: