Posts Tagged ‘Server’

 

Mailcleaner SpamAssassin 2010 Bug

Tuesday, January 5th, 2010

SpamAssassin was reported to have a date-related bug in it, you can find more info here. This post will detail the way you can fix the bug if you happen to be running mailcleaner. I haven’t tested it fully, and don’t know how permanent it’ll be, but hopefully it’ll be of some use.

(more…)

Mailcleaner Update Fix

Tuesday, December 15th, 2009

One of the places at which I do IT work runs a Microsoft Exchange 2003 Server for their email. They’d be having spam issues for quite some time, but were mostly resigned to turning on junkmail filtering, adding custom rulesets, and creating white and blacklists. Sometimes mails would go missing, but with the filter spaghetti, it was hard to tell where or why. MS, of course introduced IMF, but that was basically the equivalent of trying to stop a rushing river with a paper plate.

When I started working for them, one of the things I wanted to do was end this mess. (more…)

WordPress SFTP

Tuesday, June 16th, 2009

wordpress-logoI don’t like to use FTP at all when I can help it. It’s an old protocol and doesn’t hold up in regards to security. I could use FTPS, which is a Secure Sockets Layer over FTP, requiring a key exchange, but frankly, that sounds like too much work for me. Since I already use SSH and SSH has file transfer capability, I usually use that to manage things. It’s commonly called SFTP. Unfortunately, this breaks many apps that expect you to be using FTP, such as WordPress.

Little known to me was that this wasn’t the fault of WordPress; those glorious developers had already added ssh file transfer support to it some time ago. What was lacking was communication between PHP and SSH. When I researched online, I found instructions on how to get them talking to each other, which kicks in the SFTP support in WordPress. I’ll detail them here for reference. (Note, this is on Ubuntu Hardy, and I’m using Apache 2 and PHP5.)

user@computer:~$ sudo apt-get install libssh2-1-dev php-pear
user@computer:~$ sudo pecl install -f ssh2
user@computer:~$ sudo nano /etc/php5/apache2/php.ini

Find the section titled “Dynamic Extensions” and below, add:

extension=ssh2.so

Save it and exit, and then just do an Apache restart.

thanks to [Kevin van Zonneveld]