In my /var/log/mail.log I saw the following error:
Aug 6 17:12:58 Nephtys cyrus/imap[6411]: SQUAT failed to open index file
Aug 6 17:12:58 Nephtys cyrus/imap[6411]: SQUAT failed
In order to fix this execute the following commands:
# sudo su cyrus
This will make you the cyrus user.
Now execute
# squatter
This will index all your e-mails (more info by executing $ man squatter). This index is not incremental so you need to run this task once in a while. It might be usefull to create a cronjob for this command.
Linux
cyrus, mailserver, squat, Ubuntu
When I opened Roundcube, the login screen asked me every time for a server name. This turned out to be pretty annoying since this is localhost all the time. In order to remove this field open /etc/roundcube/main.inc.php in your favorite texteditor and set the property
$rcmail_config['default_host'] = ‘localhost’;
Refresh your page and the server textbox has been disappeared.

Linux
mailserver, roundcube, Ubuntu
Virtual domains can be used to route e-mails from multiple domains to the correct mailboxes. In order to make it work, some changes need to be made.
First we need to edit the main.cf (on my Ubuntu server in /etc/postfix/) and add the following lines:
Read more…
Linux
Linux, mailserver, postfix, Ubuntu
After checking out my mail logs I had the following error:
Aug 6 11:38:52 Nephtys postfix/lmtp[3990]: DD69A18A90C: to=, relay=none,
delay=593, delays=593/0.02/0.01/0, dsn=4.4.1, status=deferred
(connect to localhost[/var/run/cyrus/socket/lmtp]: Permission denied)
I Googled the error but could not find a fix. Finally it turned out that the postfix user was not in the mail group, which could be fixed by executing
# adduser postfix mail
Linux
cyrus, mailserver, postfix, Ubuntu
It turned out my Ubuntu server does not start Subversion automatically on boot. I found this website with instructions how to create a startup script.
Create a file called “svnserve” in the /etc/init.d folder
$ sudo nano /etc/init.d/svnserve
Add the following line to this script in order to start the Subversion server:
svnserve -d --root /srv/subversion
Save the file (CTRL+O) and exit nano (CTRL+X)
Now make the file executable
$ sudo chmod +x /etc/init.d/svnserve
Add the svnserve script to the init.d boot sequence
$ sudo update-rc.d svnserve defaults
Now you’re done! On the next reboot the SVN server will start automatically.
Linux
subversion, svn, Ubuntu, ubuntu server
I noticed that I connect a lot to my server in order to retrieve files, so I thought it would be useful to connect through NFS instead of Samba. Installing NFS on my server was a piece of cake. Just follow this tutorial and you are done.
The only thing you need to do then is manage your shares in the /etc/exports file. So far so good. But when I want to connect I receive an error which tells me I use the wrong username and/or password. Funny enough the whole system did not even prompt for any of these credentials.

NFS connection error in OSX
Read more…
Linux
NFS, Ubuntu
Angry IP scanner is a free network scanner which supports Mac OSX, Windows and Linux. It has an intuitive GUI which makes it easy to use. You can download Angry IP scanner here, more screenshots are available here.

Software
Linux, OSX, Software, Ubuntu, windows
The last few days I keep having trouble connecting to my imap server running Cyrus. I started to view my syslog when trying to authenticate to the Cyrus server, there was one line interesting:
Cyrus SASL(-13): authentication failure: checkpass failed error
I thought it should have something to do with the passwords so I tried to enter the Cyrus server with:
# cyradm localhost
When I entered my password I could not connect. This was weird since I was 100% sure about the correctness. To be sure I resetted all my imap box passwords using:
# saslpasswd2 username
This didn’t fix it either. Then I read on a website about the saslauthd daemon not running. I restarted the service and everything worked as normal
My guess is that an Ubuntu update stopped the saslauthd daemon but did not restart it.
Linux
cyrus, imap, Linux, saslauthd, Ubuntu
Quintin, a friend of mine, showed me a way to readout the sensors of my EEE Box in Ubuntu server.
The first step is to install the lm-sensors package
$ sudo apt-get install lm-sensors
Then you need to load the w83627ehf kernel module using
$ sudo modprobe w83627ehf
In order to have your sensors detected launch the command below and follow the steps shown (basically you can just press [enter] to each question).
$ sudo sensors-detect
Now you can readout your sensors by using the command
$ sensors
Remember if you want to load the w83627ehf module every time the sysem reboots, you need to update your /etc/rc.local with the line:
modprobe w83627ehf

readout of my sensors
Linux
eee box, Linux, server, tutorial, Ubuntu, ubuntu server
I wanted to switch from Kubutu to Xubuntu, this all went fine except the splash screen. The startup splash still was the Kubuntu one. In order to change this to the following:
$ sudo update-alternatives –config usplash-artwork.so
Select the option of your Xubuntu splash screen. Reload the spash with:
$ sudo dpkg-reconfigure usplash

Linux
Linux, Ubuntu, xubuntu