atom feed8 messages in org.freebsd.freebsd-ispMakemap
FromSent OnAttachments
Jack WengerDec 11, 1997 8:43 am 
Jack WengerDec 11, 1997 10:30 am 
Alex BoisvertDec 11, 1997 10:51 am 
David K PhinneyDec 11, 1997 11:05 am 
Blaine MinazziDec 11, 1997 4:14 pm 
Eddie FryDec 11, 1997 6:02 pm 
Jack WengerDec 11, 1997 6:37 pm 
Bill VermillionDec 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