December 2012

spamlogd not running; spamd-setup won’t run

Greylisting is an interesting approach to spam. I first started using it in the form of OpenBSD’s pf and spamd tools back in 2007. That said, I now let Google handle my incoming email. Today I was trying to get spamd-setup to run: spamd-setup: Can’t connect to spamd on port 8026: Connection refused I couldn’t figure that one out. But eventually I stumbled upon it… The problem was spamlogd. It wasn’t running. So

spamlogd not running; spamd-setup won’t run Read More »

Forwarding mail in mbox to elsewhere

Yesterday I was setting up a new server for a client / friend. During the setup, we had a brief period wherein mail was delivered to mbox instead of to Maildir. That is, we had mail sitting in /var/mail/USER instead of ~USER/Maildir, for a number of values of USER. At first, I tried using formail and procmail to send it to the local user. I did this using a method I found using

Forwarding mail in mbox to elsewhere Read More »

PGCon 2013 call for papers

The PGCon 2013 Call for papers is out. It’s been out for over two weeks. Had you heard about it already? If you have not already submitted, please do so. The deadline for submissions (19 Jan) is just over a month away. That time will fly past. Please don’t leave it to the last minute. If you are doing something interesting with PostgreSQL, please submit a proposal. You might be one of the

PGCon 2013 call for papers Read More »

Adding Nagios checks for tape drives / libraries

I use Bacula for my backups. Most of my backups are done to disk, then copied to tape. I have long liked the idea of having multiple backups on different media. On a regular basis, I move the FULL backup tapes to an offsite location. This is standard practice and highly recommended if you can do it. I don’t use the latest and greatest tape drives. I’m using DLT drives. I like them

Adding Nagios checks for tape drives / libraries Read More »

Bacula? Why you no mount?

From this morning: $ bconsole Connecting to Director bacula.example.org:9101 1000 OK: bacula-dir Version: 5.2.6 (21 February 2012) Enter a period to cancel a command. *mount storage=DigitalTapeLibrary slot=1 3001 OK mount requested. Specified slot ignored. Device=”DTL01″ (/dev/nsa0) And nothing mounts… But…. *mount storage=DigitalTapeLibrary slot=1 3001 OK mount requested. Specified slot ignored. Device=”DTL01″ (/dev/nsa0) Eh? OK, backups are running again… *m 14-Dec 11:39 bacula-dir JobId 114017: Recycled volume “ETU137” 14-Dec 11:39 bacula-dir JobId 114017: Using

Bacula? Why you no mount? Read More »

Syncing my Google stuff with my Apple stuff

I use Google calendar for a number of things. I also have my contacts in Google. I also use Google Mail, but also run a person mail server. So… I want to see my Google contacts on my phone and I want to see my Google calendars there too. There are a number of ways to do this. This documents how I did this on my iPhone 5. I use, and encourage you

Syncing my Google stuff with my Apple stuff Read More »

Multi-site WordPress installation

I use WordPress for three websites: http://dan.langille.org/ (this website) http://news.freshports.org/ http://wp.freebsddiary.org This also mean I have WordPress installed three times. Recently, I looked at moving to multi-site WordPress. I failed. Or rather, I abandoned the process. My goals: have one instance of WordPress for all three website have each blog available via both https Option 1 is to reduce the work required when upgrading WordPress and plugins. Option 2 is to ensure I

Multi-site WordPress installation Read More »

Hardcoding device names

This article talks about FreeBSD 8.2 and how device names might change when you add new devices to an existing system. The other day, when I was telling you about the new tape library, one of the important bits was the device names. The existing tape drive was sa0. The new one was sa1. That’s good. But today, after a system reboot, the tape drives are renumbered. Here is what I had: Today,

Hardcoding device names Read More »

Testing a tape library

As recently written, I have acquired a tape library with a 15-tape magazine. It contains a DLT-8000 tape drive which, although it is no longer state-of-the-art, is a step up from the DLT-7000 I am currently using. Today, I will try using this unit for the first time. I’ll do a simple write, try changing tapes, etc. I’ll be using my previous postings on this topic, such as one on using tape libraries

Testing a tape library Read More »

Scroll to Top