• Howto fix a slow sudo

    I recently installed the latest Fedora release. After installation sudo was painfully slow. About 30 seconds until the command executed. The problem was, that the hostname was missing in /etc/hosts:

    Before:

    127.0.0.1               localhost.localdomain localhost
    ::1             localhost6.localdomain6 localhost6

    After:

    127.0.0.1               localhost.localdomain localhost noneus-laptop
    ::1             localhost6.localdomain6 localhost6

    In my case the hostname was noneus-laptop. You can figure out your own with the command hostname.
    Happy sudoing! :)


  • Install a mailserver with webinterface under Ubuntu 7.10

    So here it is. I managed to install a mailserver using postfix, dovecot and postfixadmin. For the database I used MySQL. Postfix will use Dovecot’s sasl. This howto assumes you have a working apache2 webserver installed. So then let’s go!

    1. Install all the software

    First you need to install postfix, dovecot and mysql. Remember your MySQL-admin password!
    aptitude install postfix postfix-mysql postfix-pcre dovecot-imapd dovecot-pop3d mysql-server
    Next you need to install postfixadmin. But first we’ll install the tools to do so.
    aptitude install dpkg-dev subversion
    Since we want to install Postfixadmin 2.2 we need to get it from SVN and make a package we can install.
    svn co https://postfixadmin.svn.sourceforge.net/svnroot/postfixadmin/trunk postfixadmin
    cd postfixadmin
    dpkg-buildpackage
    dpkg -i ../postfixadmin*.deb

    All the required software is now installed. Next up Configuration. Oh what a joy!

    Read the rest of this entry »


Switch to our mobile site