Blog posts index page 18

Mailgraph on antivirus / antispam mail relay

The last couple of days I have tinkered with a new antivirus / antispam server at work. Its foundation is a Debian Sarge running Postfix, Spamassassin, ClamAV through Amavis-ng (Amavis is installed from current unstable) and of top if it all mailgraph.

All packages was taken from the stable Debian release - Sarge, except of amavis-ng which does not exist in Sarge. This package was instead downloaded from unstable… fortunately it had no dependencies from unstable what so ever.

The documentation on the Spamassassin homepage is great which is just the opposite for amavis-ng which seems non-exsisting. The configuration file shipped with Debian makes up for the lack of documentation. It seems that amavis-ng should be a (more modular) reimplementation of amavisd-new. Even though people on the mailinglists recommend amavisd-new :-D

I have a serious problem keeping my hands off the bleeding edge stuff so I couldn’t resist installing amavis-ng. I have tried using it before, but at that time I couldn’t make it fork its process (it became a serious bottleneck). I’m not saying that it didn’t work, it might as well hav been me. Though I cannot seem to find the difference from my previous installation and my new one. Anyway it seems to fork correctly in this new installation and to test the virus filter I recommend this web site

The reason why I write this entry is because I made some changes to mailgrap to make it work the way I wanted. Read on to see what (small) changes I made.

Read more...

Samba shares on NFS mounted filesystem - bad idea

Today I implemented a strage server at a customer… the result wasn’t satisfying. I shared the files with NFS to the other servers. Samba shares of NFS mounted filesystems are NOT recommendable! It makes Outlook fuck up if you have your pst files on a samba share and the finacial system C5 can only have one user logged in because NFS make some locks on files (at least I think that is the reason).

Read more...

Migration from old 8-bit locales to UTF-8 locales

Several times I have had “great fun” converting filenames from the old 8-bit locales to use the new UTF-8 locales. Everytime, I used some time to find find a tool for it because everytime I forget the name of the tool convmv. The fuckup usually shows itself on the file server (Samba) where the users happily uses æøå for filenames.

Read more...

Logging software installation/removal on Debian based systems

At work we have several servers running Debian anb because we are multiple persones maintaining them we end up having software (packages) installed that no one remember the reason for. I thought I would be of great if apt/dpkg had some build-in preference you could enable so people had to ad a comment why they install the software which they are about to, and the comment would be saved along with a list of the packages installed. Perhapes if using sudo you could also log who is installing what. You cannot trust that people always will leave a name for a number of reasons. I think the two greatest reasons would be:

Read more...

Testing gnome-blog with Serendipity

I found gnome-blog a while back which is a small application from which you can add entries to you weblog. It also integrates with your GNOME panel so a blog entry is only one click away. At least it should integrate with the gnome-panel (running Ubuntu Hoary) but everytime I try to add it get this error:

Read more...

A week in Paris

Last week I was in Paris with my girlfriend and my sister and her boyfriend. It was a great trip and our new digital camara (Canon Ixus 40) really hit the spot. We took almost 500 pictures, but it took a few days to get used to shoot at anything you see. Somehow both my girlfriend and I had trouble getting past the feeling of the limitation of a normal old school camara. Here is a cool picture my girlfriend took the St. Sulpice church (if you have read The Da Vinci Code you know which church I’m talking about):

Read more...