Recently in Open Source Category

Tweaking Spam Filters

Bookmark and Share
| No Comments | No TrackBacks
I've been running my own mail server for this domain and several others for a few years. I could have used our main mail servers, but I like messing around with the server settings and trying out new things.

One thing that I hadn't been checking too stringently on my inbound email was SPF.
Sure, I had it set up on several of my domains so that anyone else getting mail from me would be "happy".
Switching it to more stringent settings and checking SPF inbound, however, has proven to be worth the few minutes it took to set it up - over 100 mails blocked in less than 24 hours!

I opted to install postfix-policyd-spf-perl as I'm using Postfix. Configuration was pretty easy - just adding a couple of lines to the main.cf and master.cf (the man page gives you the most up to date configuration settings)
Enhanced by Zemanta
  • Currently 0/5
  • 1
  • 2
  • 3
  • 4
  • 5
Rating: 0/5 (0 votes cast)

Ubuntu Gets A Visual MakeOver

Bookmark and Share
| No Comments | No TrackBacks
Ubuntu, which is one of the more popular Linux distributions these days, has unveiled a completely new look.

It's got a new logo:
blackeubuntulogoAnd a whole new range of styles for just about every other visual asset associated with the brand, both online and on the users' desktops.

The new look is very slick compared to the "old" image of Linux distributions as being ugly, yet functional

Full details here

Thanks to Laura for mentioning it earlier this evening


  • Currently 5/5
  • 1
  • 2
  • 3
  • 4
  • 5
Rating: 5/5 (1 votes cast)

Cleaning Up Old Configs On Ubuntu / Debian

Bookmark and Share
| No Comments | No TrackBacks
Debian OpenLogo

Image via Wikipedia

This is more for my own use than anyone else...

If you remove a package in Debian / Ubuntu you often end up with legacy configuration files lying around.

Running the following command removes all the crud left lying around your system and may fix silly issues that you run into. As it's Linux, there's probably about 10 other ways to do this!

Here's the command:

sudo aptitude purge `dpkg --get-selections | grep deinstall | awk '{print $1}'`

Enjoy!
  • Currently 4/5
  • 1
  • 2
  • 3
  • 4
  • 5
Rating: 4/5 (1 votes cast)

Playing With Lifestreams and SweetCron

Bookmark and Share
| 6 Comments
sweetcron logoA few months ago Stewart mentioned Sweetcron as a "lifestream" solution (You can see his here).

A "lifestream" basically acts as an aggregator of all your online activities, as many of the online services that people use, such as Twitter, Flickr etc., publish your activity via RSS.

I'd already been experimenting with Movable Type's Motion, which is a pretty cool addition to an existing MT powered site, however having a separate, standalone, solution was not without its attractions. I registered michele.ie a few months ago, but apart from using it to test our Exchange mail hosting I hadn't really done anything with it.

So last night (and very early this morning) I decided to setup Sweetcron on one of our shared hosting plans. Our hosting system allows you to split your domain up across multiple hosting plans and platforms, so while the main site is now on a Linux web server the email is still on Microsoft Exchange.

I chose to setup the webspace to use PHP5, since PHP4 is defunct. In terms of the database I opted for MySQL5, since it's also the more recent version.

I'll have to admit that I hadn't used FTP for a long time. I have a habit of just doing things from the command line, but once I'd got over that it was easy enough to setup.

The documentation for Sweetcron is a bit sparse, but the basic install is easy enough. On our system you just need to remember that the MySQL database server is NOT "localhost", as the basic configuration file assumes that you're running everything on a single server.

The one step that isn't documented clearly is how to setup a simple cronjob to automate it for you. Fortunately someone else had done that already, so adding the cronjob via the hosting control panel was fine.
You just need to execute the following command every few minutes (or hours):

curl http://your/true-cron/url
You can find the actual URL in the Sweetcron admin panel. So just set that command to run via the cronjob manager and off you go.


The basic install ships with two themes, but there are several other themes available which range from the very simple to the incredibly complex. I still haven't settled on which one I actually want to use, as they all handle parts of your "stream" differently. In order to avoid duplication issues I think I'll stick with a theme that doesn't pull in the full content from blog posts and just provides a link to the original source.

So if you're bored and want to know what I'm up to you can head over to my new personal space and see!
  • Currently 1/5
  • 1
  • 2
  • 3
  • 4
  • 5
Rating: 1/5 (3 votes cast)

Logging Email From PHP Scripts

Bookmark and Share
| 2 Comments
This is more a note for myself than anything else ...

By default a lot of php scripts will send emails that appear as coming from the Apache user, which makes tracking down a rogue script really annoying and time-consuming.

You end up with entries in the mail logs similar to this one:

Apr 27 18:22:29 servername postfix/qmgr[23581]: 0F53421C1FA: from=<www-data@servername.com>, size=929, nrcpt=1 (queue active)

Which isn't particularly helpful if you have more than one site (vhost) on a particular server.

Making it a bit saner can be done via a simple addition to the Apache vhost config:

php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f address@domain.tld'

So now any emails sent from that vhost will reference the email specified instead of the Apache user:

Apr 27 19:40:34 servername postfix/qmgr[2469]: 16A8F21C1FA: from=<address@domain.tld>, size=358, nrcpt=1 (queue active)

There are other additions to Php that can log the path to the script itself, though until such time as someone makes it available for Debian / Ubuntu I don't really fancy having to compile it in manually

  • Currently 0/5
  • 1
  • 2
  • 3
  • 4
  • 5
Rating: 0/5 (0 votes cast)

Ubuntu Jaunty Upgrade Not A Pleasant Experience

Bookmark and Share
| 5 Comments
So I decided last night I'd upgrade my Ubuntu desktop to the latest release...

The upgrade process itself was quite painless, but the post-upgrade "cleanup" is driving me mad.

After rebooting into the new version of Ubuntu the audio had stopped working. Loading up alsamixer from the command line and playing around with it for a while eventually resolved that.. though it was pretty much a case of "hit and miss" working out which option would resolved it.

So now I have sound again...

Tracker shipped without a full set of binaries and was eating CPU (see bug report here)

What I didn't have, either, was the ability to click on links in Thunderbird. Sure, I could click on them, but nothing happened.  The resolution to that issue was to do a fresh install of Thunderbird, as I may have had an "odd" version installed (no idea how, but since it's now working I'm not going to complain too loudly!)

Evolution, which would have been an option to consider instead of Thunderbird, does not support Microsoft Exchange 2007, so that's no use to me either.

I watch video files using VLC, but that's also changed quite annoyingly, so instead of having the player controls in the same window as the video you're watching, you now end up with two windows. I spent about half an hour trying to work out if there was some sane way of changing that behaviour, but I still haven't found it.

Other annoyances ...

Every time anyone logs onto MSN or ICQ you get a disproportionately large notification on your screen.

There are probably loads of really nice features in the latest release, but I wouldn't rush to do an upgrade
  • Currently 0/5
  • 1
  • 2
  • 3
  • 4
  • 5
Rating: 0/5 (0 votes cast)

Pidgin on Ubuntu - Alternative Installation Method

Bookmark and Share
| 1 Comment
I've been having some issues with Pidgin on my Ubuntu desktop since I upgraded recently. No matter what happens it seems to be using a lot more CPU than I would like as well as crashing randomly.

In order to fix this I'm currently trying a different installation method which has been provided by the Pidgin developers:

Ubuntu ships Pidgin but does not update it after a release (except for security issues). For those users who desire new releases of Pidgin, we have packaged Pidgin in a PPA. If you encounter problems with these packages, try building from source and report the bug.

To setup the PPA, copy-and-paste these commands into a terminal:
  sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com \
      67265eb522bdd6b1c69e66ed7fb8bee0a1f196a8
  . /etc/lsb-release
  echo deb http://ppa.launchpad.net/pidgin-developers/ppa/ubuntu \
      $DISTRIB_CODENAME main | \
      sudo tee /etc/apt/sources.list.d/pidgin-ppa.list

Once this PPA is setup, Pidgin updates will show up in Update Manager along with the usual Ubuntu updates. The PPA will need to be re-setup only after upgrading Ubunt
u.

Whether this installation method will rectify my CPU spikes issues or not remains to be seen, but I'm willing to try just about anything at this juncture!



  • Currently 5/5
  • 1
  • 2
  • 3
  • 4
  • 5
Rating: 5/5 (1 votes cast)

Pidgin 2.5.5

Bookmark and Share
pidgin logo

I hadn't had any issues with either Pidgin or Adium since the minor issue back in January.

However, as of yesterday, ICQ was refusing to work on Pidgin.

Seemingly there was a new release of Pidgin (2.5.5), however Ubuntu hadn't released a packaged version.

Since Pidgin is open source and they release the source files it is possible for a user to create their own Ubuntu / Debian package (.deb), however I don't like doing that unless I really really have to.

Fortunately there are other people out there who are more than capable of packaging files, so you can get a working set of .deb files here.

In order to install the new version of Pidgin you will need to remove the old one first. You won't lose your configuration settings by removing the old version (unless you purge it completely). You can probably do that via the UI, however it's just as easy to do it from the command line as root:
apt-get remove pidgin

Download all the .deb files from the site I linked to above and install each of them using:
dpkg -i filename.deb

The last one you install should be pidgin itself (the version I got was pidgin_2.5.5-1~getdeb1_i386.deb), so the command would be:
dpkg -i pidgin_2.5.5-1~getdeb1_i386.deb

It seems to be working fine now, so I'm happy.

  • Currently 2/5
  • 1
  • 2
  • 3
  • 4
  • 5
Rating: 2/5 (1 votes cast)

Google Culls Its Flock - Jaiku and more gone

Bookmark and Share
| 2 Comments
The online chatter today is buzzing around the announcement by Google that they are cutting back on several or their services - including Jaiku.

I've always preferred Jaiku's web interface to that of Twitter, as Jaiku supports threading - ie. you can actually follow a "conversation" without losing your mind!

Seemingly Jaiku isn't being fully shutdown, but it won't be developed any more and is going open source

Maybe this is a good thing?
jaiku stream

  • Currently 2.6/5
  • 1
  • 2
  • 3
  • 4
  • 5
Rating: 2.6/5 (5 votes cast)

MSN Messenger Broken on Adium and Pidgin

Bookmark and Share
| 6 Comments
If, like me, you don't use Windows, then you probably rely on Adium or Pidgin for instant messaging.

As of this morning neither Adium or Pidgin has not been able to connect to the MSN messenger servers for instant messaging.

If you're on a Mac you can install the Microsoft Messenger for Mac software or you can downgrade Adium to an older version.

The Pidgin developers are aware of the issue and are promising to release a fix, though when remains to be seen

For more in depth technical details check out the post on the Adium blog
  • Currently 2.3/5
  • 1
  • 2
  • 3
  • 4
  • 5
Rating: 2.3/5 (6 votes cast)
OpenID accepted here Learn more about OpenID
Powered by Movable Type 4.34-en
Get a personal domain - get a .me!
TwitterCounter for @mneylon

About this Archive

This page is an archive of recent entries in the Open Source category.

MailScanner is the previous category.

Palm Stuff is the next category.

Find recent content on the main index or look in the archives to find all content.

Recent Activity

Today

Saturday

  • Michele tweeted, "RT @michellechaplow: Please, hotels make your add & tel copy-and-pastable on your web PLUS make the contact us page and directions print ..."
  • Michele tweeted, "RT @screenrant: Nice. This time @ohnotheydidnt not only stole our content, they REMOVED our links before posting on their site: http://t ..."
  • Michele tweeted, "@forbairt well it involves predators ..."
  • Michele tweeted, "Predators - a lot better than I was expecting - pleasantly surprised"
  • Michele tweeted, "@JoanMulvihill sure - just email me :-)"
  • Michele tweeted, "Pouring rain in Midleton #fb"
  • Michele tweeted, "@JoanMulvihill I emailed you a few days ago - no reply *sniff*"
  • Michele tweeted, "It's 2010 but still getting people asking for a silly number of IPs with no good reason *sigh*"
  • Michele tweeted, "RT @blacknight WordPress 3 is now available via the App Vault - Hosting - Domains - Blacknight Blog http://bit.ly/azSQ6j"