Showing posts from 2007

Print Info from Meridian Mail

Part of my Job is adminstering a Meridian Mail Voicemail system. Occasionally I have to print information that I'm searching for.

Using Procomm Plus, It's possible to print this infromation.

Create a Generic / Text Only Printer. Do this (on Windows XP)by: Select Add a PrinterHit next on the Wizard, Select "Local Printer Attached to this computer", Deselect "Automatically detect and install my Plug and Play Printer" and hit Next In the "Use the Following Port:" dialog, from the drop down box, select FILE: (Print to File) and press Next.In the next screen, From the Manufacturer select Generic and in the Model box select Generic / Text Only and hit Next.Hit Next on the rest of the dialog boxes, and you should be done. You might want to change the Default printer question to NoIn Procomm, select the Generic Text Only Printer in the Printer Setup dialogIn Notepad, type out the path of the file you want to save it to, and put copy it to the clipboard.S…

Yankee Swap Rules

I wrote these rules down because a few years ago, my office began to play Yankee Swap instead of Secret Santa. (Sometimes called White Elephant, or Dirty Santa). Growing up in Boyscouts, we used to play Yankee Swap for our annual Christmas party. It always went well with a bunch of 12 year olds, so Imagine my surprise when it went horrible wrong for my office party.

The reason was immediately apparent, the people running the game were using some harebrained rules. (If someone takes your gift, you can take someone else's, and then they can take someone else's, etc, etc, etc.) The game would take forever, everyone was quite bored, since every turn consisted of everyone stealing the same present over and over. It got so bad they started making spot rules up. (Time limits, gifts can only be stolen once (This was the rule they were missing at the beginning, but by this point everyone was bored))

So I set out to find the rule set we used in Boyscouts. It works great for large group…

Finding Stale Mailboxes in Meridian Mail

Sometimes when you have a large enterprise, and a old installation you lose track of mailboxes. Other times, people just stop using them, and leave, and never tell you they're gone.

Here's a quick way to print out a list of mailboxes that the system has marked "Stale"

Open up Meridian Mail and login.

Select System Status and MaintenanceSelect System Event and Error Reports (SEERS)Select SEER RetrievalIn SEER Class, put in 91, this is the only info you need to enter, unless you have more than one report. (Small Systems may have multiple reports)Either select show report, or Print it. That's all there is too it. It will actually show you how many days it's been since someone logged into the mailbox.

Logrotate with Syslog-NG

I wanted to archive my logs that are created with Syslog-NG. But I also wanted to delete them after a while.

Syslog-NG does a great job of rotating the logs. There is even a script on the Syslog-NG FAQ that will compress the logs.  My script has now been copied up there. (wohoo)

But we have a pretty small Syslog server, and generating 10gigs of logs day fill it up pretty quick.

Here's the script I wrote...

It's pretty simple to follow:
Find all files in the log directory that are not dated today, and that are not .gz, and archive them using gzip. We chose to use Gzip because of the time it takes compared to b2zip. Yes, we can get more space from
B2zip, but we usually have to uncompress the file, and B2zip can take 20 minutes to do this.

Then, find all files that have not been modified in 14 days, and delete them.

Then, find all directories that are empty, and remove them.

There is a small logic problem with this script. If you change the modification time of the archive, say …

Peanut Butter Chocolate Bars

I got this recipe from my mom.

Mix together:

1 1/2 sticks melted butter2 1/2 cups graham cracker crumbs1 1/2 cups confectioner's sugar1 1/2 cups peanut butter
Spread in ungreased 9x13 pan. Press firmly.

Melt 12 oz. chocolate chips. Spread over peanut butter mixture. Chill. Cut into squares and serve.