Mailserver with ldap tutorial – part 2: dovecot

After we’ve setup openldap in part 1, I’m going to describe in this post how to setup dovecot. In our mailserver dovecot will have three tasks: it provides access to the mailboxes via imaps, it will destribute the mails accepted by postfix to the mailboxes (local deliviery agent) and it will provide an authentication interface for postfix

This is step 2 of the 8 step tutorial for setting up a mailserver with openldap, postfix and dovecot using virtual users. You can find the overview here.
I’m assuming that all commands are executed with root rights.

Continue reading “Mailserver with ldap tutorial – part 2: dovecot”

Mailserver with ldap tutorial – part 1: openldap

In this post I’m going to describe how to setup openldap as a user database for my mailserver where also the maildomains, addresses and -boxes are stored.

This is step 1 of the 8 step tutorial for setting up a mailserver with openldap, postfix and dovecot using virtual users. You can find the overview here.
I’m asuming that all commands are executed with root rights. Of course you might also use sudo.

Continue reading “Mailserver with ldap tutorial – part 1: openldap”

mailserver with ldap tutorial – overview

In this post I’m going to describe setting up a mail server using postfix, dovecot and LDAP with virtual mailboxes.
Although I’m extending extend my current mail server configuration ( ) by using LDAP as single point of administration I’m going to describe the complete setup. I did this for testing on clean debian squeeze virtual box. The documentation of my configuration is mainly for myself to remember,. But as it might help others with their configuration I’m publishing it.
When developing this config I was mainly inspired by the configuration by Michael Hammer.

The steps for configuring the server are:

  1. Setting up LDAP
  2. Setting up dovecot
  3. Setting up postfix
  4. Testing
  5. Setting up virus and spam protection
  6. Setting up filtering
  7. Setting up mobile access
  8. Setting up web acccess

These steps I will describe in detail in several post over the next days.

linux on a MacBook – fedora 16

Since version 16 uses fedora grub2 which supports EFI, MacBooks should theoretically boot Fedora directly without using rEFIt. Some older models of Apple Laptops require a little workaround though.

On fedora64.org Jason Montleon is describing how this can work. I’m going to describe as a “copy-paste-tutorial” how I installed Fedora 16 on my 5 year old MacBook using that directions.
Continue reading “linux on a MacBook – fedora 16”

RAW-Thumbnails for .NEF-Files

By default Nautilus does not create thumbnails for RAW images. Installing raw-thumbnailer should help. For Nikon RAW images (.NEF) this didn’t work for me initially. But there is a simple workaround:

Under /usr/share/thumbnailers/ create a file nef-thumbnailer.thumbnailer with the following content:

[Thumbnailer Entry]
Exec=/usr/bin/gnome-raw-thumbnailer -s %s %i %o
MimeType=image/x-nikon-nef;