keramida at hellug.gr
Thu May 8 06:40:46 PDT 2003
On 2003-05-07 19:58, Alfonso Romero <ibac at prodigy.net.mx> wrote:
> If i restart sendmail, killing the daemon first with kill -s HUP
> <pidnumber>, 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 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
More information about the freebsd-questions