Chronophage.net Blog

Archive for October, 2009

Just added the Google AJAX Tra…

by Nick on Oct.30, 2009, under News, Twitter

Just added the Google AJAX Translator plugin. Now people can not read my blog in several languages.

Leave a Comment :, more...

Postfix MySQL and You!

by Nick on Oct.30, 2009, under Administration, E-Mail, News

Postfix is surprisingly flexible. When I initially set it up two years ago, I set it up to reference a database, but I had a flaw in my logic. Basically, Postfix had no idea if a domain was marked active or inactive in the database. All it knew was whether a domain was in the database or not. Postfix has a default query, that looks for key information. However, you can supercede it in your config files. So I simply commented out the old variables that it passed to the default query, and wrote a new one:

user = DB_USER
password = supersecretpassword
hosts = 127.0.0.1
dbname = DB_NAME
table = domain
#select_field = domain < -- old version, commented out
#where_field = domain <-- old version, commented out
#New Query:
query = SELECT domain FROM domain WHERE domain='%s' and backupmx = false and active = true

Yes, I have backupmx enabled, even though that’s a titanically bad idea, and I would never use it. Why is it a bad idea to fuction as a Backup MX server? Because spammers don’t play by the RFCs and often send spam to lower weighted MX records in an attempt to bypass spam protection.

But I never know what people may ask for in the future. ;)

Leave a Comment :, , , more...

Just redid his mail configs……

by Nick on Oct.28, 2009, under News, Twitter

Just redid his mail configs… Forgot to account for the ‘active’ field in its database.

Leave a Comment :, more...

Reading “Essential System Admi…

by Nick on Oct.28, 2009, under News, Twitter

Reading “Essential System Administration” Again

Leave a Comment :, more...

Ug, convluted setups are a bla…

by Nick on Oct.27, 2009, under News, Twitter

Ug, convluted setups are a blast to troubleshoot.

Leave a Comment :, more...

Work is hard without caffine.

by Nick on Oct.26, 2009, under News, Twitter

Work is hard without caffine.

Leave a Comment :, more...

On a Qwest.

by Nick on Oct.22, 2009, under News, Twitter

On a Qwest.

Leave a Comment :, more...

I’m at the Pizza Hut, I’m at t…

by Nick on Oct.20, 2009, under News, Twitter

I’m at the Pizza Hut, I’m at the Taco Bell, I’m at the combination Pizza Hut and Taco Bell.

Leave a Comment :, more...

RadioLab is grossing my out. H…

by Nick on Oct.07, 2009, under News, Twitter

RadioLab is grossing me out. Hookworm.

Leave a Comment :, more...

Back to work after a wonderful…

by Nick on Oct.05, 2009, under News, Twitter

Back to work after a wonderful weekend. The North Shore is beautiful!

Leave a Comment :, more...

Get Adobe Flash playerPlugin by wpburn.com wordpress themes

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Blogroll

A few highly recommended websites...