| From | Sent On | Attachments |
|---|---|---|
| Jack Wenger | Dec 11, 1997 8:43 am | |
| Jack Wenger | Dec 11, 1997 10:30 am | |
| Alex Boisvert | Dec 11, 1997 10:51 am | |
| David K Phinney | Dec 11, 1997 11:05 am | |
| Blaine Minazzi | Dec 11, 1997 4:14 pm | |
| Eddie Fry | Dec 11, 1997 6:02 pm | |
| Jack Wenger | Dec 11, 1997 6:37 pm | |
| Bill Vermillion | Dec 12, 1997 9:59 am |
| Subject: | Makemap | |
|---|---|---|
| From: | Bill Vermillion (bi...@bilver.oau.org) | |
| Date: | Dec 12, 1997 9:59:08 am | |
| List: | org.freebsd.freebsd-isp | |
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





