Plus addressing with Postfix

Using “user+foo@example.com” style addresses seems to be disabled in Postfix by default. One single parameter called the recipient_delimiter parameter needs to be set to make use of this kind of addressing in Postfix. Just add this to the main.cf file and reload Postfix:

recipient_delimiter = +

Alternatively, some other characters like ‘-’ or ‘_’ can be used here.

Nice to know when using .forward files in email-delivery; When using a ”user+foo@example.com” style address, the system will first check if there is a .forward+foo file before checking for a .forward file.

 

Posted in xbsd | Tagged | 1 Comment

PaulPaulito.com Linux training

Just gave PaulPaulito.com a try. All I can say is that it is a great way to learn Linux or prepare for the LPIC-1 exam. The screencasts PaulPaulito.com offers are in exceptional quality and are a great method to learn Linux.
If your looking for a good resource to learn Linux you should definitely give it a go!

Posted in xbsd | Tagged , | Leave a comment

Prepare voor RHCE Certification

Red Hat’s RHCE certification is one of the most popular certifications in the IT market at the moment. There are different method in preparing for both the RHCSA en RHCE exams. Which works best depends on the individual. I decided to go for self-study, using several study resources. In this post, I’ll describe the resources I’ve used in preparation for the Red Hat ex200 and ex300 exams. And yes, I’ve passed both exams with a very decent score, which makes this a proven method of preparation ;-) .

For starters, the objectives for both RHCSA and the RHCE exams can be found on the Red Hat website. Make sure you know them. Red Hat also offers a free skills assessment, which is good to use as a baseline measurement.  Continue reading

Posted in xbsd | Tagged , , | Leave a comment

DVB-C via analoge TV bij Concepts. (Dutch)

Mocht je beschikken over een FTTH (Glasvezel) aansluiting, dan is Concepts ICT een uitstekende Provider.  Naast het digitale televisie aanbod, is het ook mogelijk om ‘ouderwets’ analoge TV te gebruiken. Er zit een Coax-aansluiting op het Genexys modem waarop het analoge signaal wordt uitgezonden.

Op het analoge TV net worden de standaard zenders ook digitaal aangeboden. Mocht je beschikken over een TV (of decoder) met DVB-C tuner, kun je de onderstaande gegevens gebruiken om de standaard zenders in SD kwaliteit digitaal te kijken.

Network-id : 07461
Fequency   : 304000 MHz
Modulation : 64 QAM
Scan freq. : 6875k/s

 

Posted in xbsd | Tagged , | 2 Comments

Resize an encrypted LVM logical volume

Recently I had the challenge to resize an (dm-crypt, cryptsetup) encrypted LVM Logical Volume on Linux. While resizing a ‘plain’ Logical Volumes can’t get any easier, resizing an encrypted volumes involves a couple of more actions. Also, in contrast to un-encrypted Logical Volumes, the resizing of an encrypted volume can’t be done online – at certain moments an unmount is required.

These are the steps that worked out successfully for me; YMMV :)

First step – Determine the volume to be resized:

[root]# mount
(..)
/dev/mapper/crypt_srv on /srv type ext4 (rw)

Continue reading

Posted in xbsd | Tagged , , , , , | 2 Comments

Vim anti-patterns

Even if you think you can write a book on vim (or maybe you did), there’s always something new to learn.

http://blog.sanctum.geek.nz/vim-anti-patterns/

Posted in xbsd | Leave a comment

ownCloud 3.0

The ownCloud project just released ownCloud 3.0. A feature-rich solution for personal file storage, sharing and personal information management.

ownCloud is written in PHP and uses a MySQL or SQLite backend. Setting up ownCloud on your own server or hosting-space is a matter of minutes.

ownCloud 3.0 Release Announcement

 

Posted in xbsd | Tagged | Leave a comment

Fix “IPv6 addrconf: prefix with wrong length” messages in Linux

Glancing trough the system-logging of one of my Internet VPS nodes, I noticed that the Kernel Ring Buffer (dmesg) was quite noisy with IPv6 Router Advertisement messages as:

"IPv6 addrconf: prefix with wrong length 48"

Some research learned me that this isn’t a harmful error – more a cosmetic one. It’s root cause are IPv6 RA’s from a device on the network that is advertising something indifferent than your host is configured to.

If you maintain a more static configured IPv6 setup, and your IPv6 setup is working as designed for you network,  you can safely choose to disable those detections. Here’s how to disable IPv6 to accept Router Advertisements and IPv6 Auto-configuration at runtime:

Continue reading

Posted in xbsd | Tagged , , | Leave a comment

Migrate Apple Time Capsules

Just replaced my Apple Time Capsule with a newer one. Here’s what I found to be the best approach in moving data and time-machine backups to the new unit.

Hook-up your Mac to an ethernet-port of the old time-capsule. You can use Network Utility or ifconfig to verify gigabit connectivity. This is something you do not want to do over the wireless network.
Second step is connecting a switch-port of the old time-capsule to a switch-port of the new unit. You can use both a straight or crossed networkcable.

Continue reading

Posted in xbsd | Tagged , , , | Leave a comment

Apple FileVault 2 on older Mac’s with SSD

Apple’s FileVault2 is a valuable addition to OS X Lion. It offers full disk-encryption which I find to be something mandatory on notebooks these days.

On ‘newer’ Apple MacBooks, say since the Intel i5 and i7 architecture, FileVault 2 has barely no impact on disk I/O performance. OS X Daily has a fairly excessive benchmark report in which this is pointed out. I use a mid-2011 MacBook Air with an Intel i7 CPU, which benchmarks 200+ MB/s on both write and read with FileVault 2 turned on. Quite impressive speeds.

BlackMagic Disk Speed Test – a free Mac App Store app.

On ‘older’ types of MacBooks, say Intel Core 2 Duo architecture, FileVault 2 has a bigger impact on disk I/O performance.

In my case, I’ve enabled FileVault 2 on a late-2008 MacBook Pro (Intel Core 2 Duo CPU) with an OCZ Vertex 2 SSD disk. Without disk-encryption this SSD reaches over 200MB/s in both read and write speeds in OS X Lion. With FileVault2 enabled both speeds are seriously affected. Write speeds is impacted by 50% and Read speed with about 25%.

Still, very acceptable speeds. But definitely a factor when considering to use FileVault 2 on older types of MacBooks.

Continue reading

Posted in xbsd | Tagged , , | 3 Comments