Archive for the ‘Sys Admin’ Category

Windows PHP Dev Made Easier

June 18, 2011

I have recently developed a semi strict policy of avoiding spending significant time messing around with serious server software installations on windows. Just because of the lack of windows machines in my life. Yesterday I needed to setup for the first time in a long time apache/mysql/php on a windows machine and I found a decent productivity boost for those of us who are still wired to operate in linux land called WAMP. If your not familiar with administering apache and mysql it could possibly be a HUGE productivity boost for you.

WAMP packages together Apache HTTPD, Mysql, and PHP with a convenient management interface for starting, stoping the services and getting to configuration files.

Get it at -> http://www.wampserver.com/en/download.php

Should just take literally seconds to get everything up and running. Of course if you have version requirements on any of those packages then you maybe out of luck and downloading, installing, and configuring everything independently, which may or may not be  huge deal for you.

Exim4 HELO config in Debian

July 7, 2010

Not a normal post subject for me but I spent sometime today toiling with getting Exim properly configured to work with my new scanner today. Figured maybe someone else can save themselves sometime.

The scanner has the ability to email scans but when I adjusted all the configurations, I got a SMTP communication error on the scanner. Checking out my /var/log/exim4/mainlog I saw something like the following…

2010-07-06 21:12:42 rejected HELO from [X.X.X.X]: syntactically invalid argument(s): DIGITAL_MFP

With a quick search on the web I found this message thread. Seemingly it had all the information I needed. However I have a Ubuntu server install and it doesn’t seem use the default configuration setup (/etc/exim4/exim4.conf) it has a template configuration file (/etc/exim4/exim4.conf.template) and then a variable file (/etc/exim4/update-exim4.conf.conf). Using debian package config you won’t have the flexibility to add or update the needed configuration…

helo_allow_chars = “_”

But you can just add it to the top of /etc/exim4/exim4.conf.template file and then run through debian package configure and your problem will be fixed!  Hopefully that saves someone some pain, its a pretty obvious thing to try but I went through a couple of other guesses wasting quite sometime.