From owner-freebsd-questions@FreeBSD.ORG Thu May 8 06:40:46 2003 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 8616637B401 for ; Thu, 8 May 2003 06:40:46 -0700 (PDT) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id D829243F3F for ; Thu, 8 May 2003 06:40:44 -0700 (PDT) (envelope-from keramida@hellug.gr) Received: from igloo.linux.gr (IDENT:1041@localhost [127.0.0.1]) h48Ddqti010092; Thu, 8 May 2003 16:40:17 +0300 Received: (from keramida@localhost) by igloo.linux.gr (8.12.6/8.12.6/Debian-7) id h48DdAjX010051; Thu, 8 May 2003 16:39:10 +0300 X-Authentication-Warning: igloo.linux.gr: keramida set sender to keramida@linux.gr using -f Date: Thu, 8 May 2003 16:39:10 +0300 From: Giorgos Keramidas To: Alfonso Romero Message-ID: <20030508133910.GA9612@igloo.linux.gr> References: <013301c314fc$e2609380$0100a8c0@ibac> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <013301c314fc$e2609380$0100a8c0@ibac> cc: freebsd-questions Subject: Re: restarting sendmail 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: Thu, 08 May 2003 13:40:46 -0000 On 2003-05-07 19:58, Alfonso Romero wrote: > If i restart sendmail, killing the daemon first with kill -s HUP > , will it read the config files, like > /etc/mail/local-host-names and /etc/mail/relay-domains? Some of the files are maps that need to be generated before you restart. For instance, making changes to /etc/mail/virtusertable requires a rebuild of the /etc/mail/virtusertable.db map. Others are plain text maps (like local-host-names) and don't require a restart. The easiest way of making sure all is up to date after manual changes to one of the map files is: # cd /etc/mail # make # make install # make restart This should take care of things automatically for you. If you're feeling curious one day and want to learn more about the maps, which of them are plain text maps, which need an associated .db file and how to manually rebuild the maps if you want to do it this way, is to read the documentation of the maps you are using. The installed version of the Sendmail config files lives in /usr/share/sendmail. Look at the file /usr/share/sendmail/cf/README for all the details you want to know. The "Sendmail OP Guide", in /usr/share/doc is also a nice way to learn more about the tasks a Sendmail admin has to do. Start with /usr/share/doc/smm/08.sendmailop/paper.ascii.gz: $ cd /usr/share/doc/smm/08.sendmailop $ zcat paper.ascii.gz | less - Giorgos