Date: Fri, 12 Dec 1997 12:59:29 -0500 (EST) From: Bill Vermillion <bill@bilver.oau.org> To: freebsd-isp@freebsd.org Subject: Makemap Message-ID: <199712121759.MAA15499@bilver.magicnet.net>
next in thread | raw e-mail | index | archive | help
Recently Jack Wenger said: > Thanx to all the replies. Unfortunately, I have to rebuild the mail map by > hand. When I made the > typo, it whacked the table also. Look out Best Buy, > I agettin' a tape drive! Why should you have to run makemap by hand. On this machine I have only the mailertable script (below) while on other I have these simple one line scripts for others including virtusertable. It's quick, easy, and prevents you from making mistreaks :-) (Boy was it LONG one yesterday - got home at 4AM but the client was ready to when they opened at 6:30) Type this in and make it executebable. #!/bin/sh makemap -v hash /etc/mailertable </etc/mailertable This won't help you recover the lost work, but will save it for the future. If your tables are big, then add a line to copy the first table to a backup file. This keeps you alive from unexpected things like power failures - I've seen people acciedentally turn of UPSes - resets, or phases of the moon. Bill -- bill@bilver.magicnet.net | bill@bilver.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712121759.MAA15499>