Tag Archives: howto

Gentoo ebuild: Nginx With Support For Upstream Fair Proxy Load Balancer

Nginx is a powerful web server and therefore our choice. Unfortunately, the Gentoo ebuild is missing one essential extension: a load balancer that is querying the servers not via round robin but by their current load. Therefore, we had to extend the … Continue reading

Posted in howto, Linux, Software, Webserver | Tagged , , , , , , , , | Leave a comment

dovecot: remove maildirs

We are running dovecot as MDA. Dovecot gets its user details from OpenLDAP and adds new users automatically. But removing a user in LDAP does not mean it gets removed in Dovecot as well. To have this a little bit more comfortable, I created this little script here: Continue reading

Posted in howto, Linux, Mailserver | Tagged , , , , , , , , , , , , | Leave a comment

Locate all Apple serial numbers in a subnet

The command ioreg -l | grep IOPlatformSerialNumber will show you your Mac’s serial number. With this, you can find out when your Mac has been created if you enter this number to https://selfsolve.apple.com/agreementWarrantyDynamic.do For a whole network of Macs, this can become very boring. … Continue reading

Posted in howto, Software | Tagged , , , , , , , , , , , , | Leave a comment

sslh: let https,ssh and openvpn share a single port

Introduction Maybe you know the situation: You successfully logged in to a corporate network and somehow you can’t reach your server. You check all possibilities and realize that some of the ports you desperately need to manage your daily life … Continue reading

Posted in howto, Linux, Software | Tagged , , , , , , | Leave a comment

If Your Squirrel Won’t Keep The House Clean

There are not many usable open source webmailer. We are running two: Squirrelmail and Roundcube. Besides that this can be really annoying when it comes to server-side filtering, this offers lots of benefits to our users. Some like it simple … Continue reading

Posted in howto, Linux, Mailserver | Tagged , , , , , , | Leave a comment

Howto split a SQL database dump into table-wise files

sql files containing a single database Splitting a sql file containing a whole database into per-table files is quite easy: Grep the .sql for any occurence of DROP TABLE. Generate the file name from the table name that is included … Continue reading

Posted in howto, Linux | Tagged , , , , , , , , , , | 1 Comment

find out if your Apache is really serving the right hosts

From time to time it can happen that websites that used to be on your webservers are being moved by your clients without notifying you. Therefore, you will have to search for «zombie websites». I have the following setup: There … Continue reading

Posted in howto, Linux, Webserver | Tagged , , , , , , , , , , , , , , , , | Leave a comment

SFTP only and SSH only OpenSSH system with gentoo

Although there are many ways workarounding the lack of security with ye olde FTP, there is a quite handy solution: use OpenSSH via SCP/SFTP to handle the file transfers. There are many solutions which all try to restrict the access … Continue reading

Posted in howto, Linux, Software | Tagged , , , , , , , , , | 2 Comments

rebuilding Cyrus indexes

You might know the situation, something happened, and afterwards you get error messages from Cyrus telling you that your databases just have crashed. Then, your Inbox is shown empty while the filesystem does show the correct files. What happened? Every … Continue reading

Posted in howto, Linux, Mailserver, Software | Tagged , , , , , , , , , , , , | Leave a comment

icecast and awstats

Not much has yet been written about this topic and it really is no big deal but some sentences more would have made me feel more secure. Therefore, I tell what to do. We need icecast and awstats (definitely) and … Continue reading

Posted in howto, Linux, Software | Tagged , , , | 1 Comment