From owner-freebsd-current@FreeBSD.ORG Thu Oct 22 19:46:45 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83BF4106566B for ; Thu, 22 Oct 2009 19:46:45 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 466D68FC15 for ; Thu, 22 Oct 2009 19:46:44 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id n9MJkipV013035 for ; Thu, 22 Oct 2009 13:46:44 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id n9MJki4P013032 for ; Thu, 22 Oct 2009 13:46:44 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 22 Oct 2009 13:46:44 -0600 (MDT) From: Warren Block To: current@freebsd.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (wonkity.com [127.0.0.1]); Thu, 22 Oct 2009 13:46:44 -0600 (MDT) Cc: Subject: existing sendmail aliases ignored until sendmail restart X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Oct 2009 19:46:45 -0000 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 After booting 8.0-RC1, 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. To recreate: 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). -Warren Block * Rapid City, South Dakota USA