From owner-freebsd-questions@FreeBSD.ORG Mon Apr 19 00:15:22 2004 Return-Path: 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 2872D16A4CE for ; Mon, 19 Apr 2004 00:15:22 -0700 (PDT) Received: from lv.raad.tartu.ee (lv.raad.tartu.ee [194.126.106.110]) by mx1.FreeBSD.org (Postfix) with ESMTP id E519E43D1D for ; Mon, 19 Apr 2004 00:15:20 -0700 (PDT) (envelope-from toomas.aas@raad.tartu.ee) Received: Message by Barricade lv.raad.tartu.ee with ESMTP id i3J7FJTH007874 for ; Mon, 19 Apr 2004 10:15:19 +0300 Message-Id: <200404190715.i3J7FJTH007874@lv.raad.tartu.ee> Received: from INFO/SpoolDir by raad.tartu.ee (Mercury 1.48); 19 Apr 04 10:15:20 +0300 Received: from SpoolDir by INFO (Mercury 1.48); 19 Apr 04 10:15:05 +0300 From: "Toomas Aas" Organization: Tartu City Government To: freebsd-questions@freebsd.org Date: Mon, 19 Apr 2004 10:15:04 +0300 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Priority: normal Subject: Sendmail aliases mystery X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Apr 2004 07:15:22 -0000 Hello! After updating my firewall from RELENG_4_8 to RELENG_4_9 I observe an interesting behaviour of Sendmail (using the base system Sendmail). It doesn't seem to honor it's aliases database after server is started, but starts to do so once I run 'cd /etc/mail && make restart'. I have the following line in /etc/mail/aliases: root: toomas.aas@raad.tartu.ee However, the daily periodic reports (which is essentially the only mail this box sends) are sent to root@local-hostname.local-domain.tld, which in this case means that they essentially go nowhere. When the system is in this state and I use 'mail root' from the command line, the mail also goes to root@. However, after I manually restart Sendmail as described above, mail to root starts to go to it's destined address (toomas.aas@raad.tartu.ee). The dates on /etc/mail/aliases and /etc/mail/aliases.db indicate that 'newaliases' has been run after modifying the aliases file. I have run it a couple of times extra, just for the good measure, but it doesn't seem to change Sendmail's behaviour. grep sendmail /etc/rc.conf: sendmail_enable="NO" grep root /etc/mail/aliases: # Pretty much everything else in this file points to "root", so # you would do well in either reading root's mailbox or forwarding # root's email from here. root: toomas.aas@raad.tartu.ee postmaster: root bin: root bind: root daemon: root games: root kmem: root man: root news: root nobody: root operator: root pop: root sshd: root system: root toor: root tty: root uucp: root xten: root abuse: root # noc: root security: root ftp: root # hostmaster: root # webmaster: root -- Toomas Aas | toomas.aas@raad.tartu.ee | http://www.raad.tartu.ee/~toomas/ * 24 hours in a day, 24 beers in a case. Coincidence?