Month: June 2013

Create RAID1 on debian

While perfectioning the setup of my homeserver I decided to put the data partition(s) on RAID1. Although the mainboard claims to have a raid controller this is only a fakeRAID, so using a software RAID under linux is probably better. Anyways the work has to be done by the CPU.
As the system itself is installed on a SSD it will not be part of the raid. So things are quite easy to achieve.

This is a post from my old blog http://tech.cbjck.de. It has been moved here and slightly edited for better readability. It's also been adjusted to the new layout.
The content however is old and might be outdated.

Read More

Creating samba shares

The samba server is THE fileserver solution for linux. It can server linux clients as well as windows or mac clients and provides host, user or group based access control. In this post I’ll describe how I setup up a samba server using accounts stored in my ldap replica.
Note that this howto is referring to debian wheezy.

This is a post from my old blog http://tech.cbjck.de. It has been moved here and slightly edited for better readability. It's also been adjusted to the new layout.
The content however is old and might be outdated.

Read More

Setting up shared mailboxes in dovecot

[edited 28.06.2013]
Sometimes you need mail adresses and postboxes that need to be accessed by multiple persons. In a company for example there could be a mailbox sales@yourcompany.com and if you are planning for example a wedding it can be a good idea to have an account wedding@yourdomain.tld that can be accessed by you and yor (future) wife. It is definitly not the best idea to create a “normal” account and just give the password to all people who might need it. This might leed to confusion (and data loss). In my opinion accounts should always be bound to a person.
The solution for my LDA (aka mailserver) dovecot is called “SharedMailboxes”, ie mailboxes that are shared between users and linked to their accounts. It wasn’t that easy to setup but finally I could get it to work in the following way:

This is a post from my old blog http://tech.cbjck.de. It has been moved here and slightly edited for better readability. It's also been adjusted to the new layout.
The content however is old and might be outdated.

Read More