28.07.2009
Unfreeze messages in Exim queue
To process all **frozen** messages in the Exim queue use this command:
mailq | grep frozen | awk '{print $3}' | xargs exim -v -M
22:25 | Linux | lien permanente
Unless otherwise expressly stated, all original material of whatever nature created by Andreas Jaggi and included in this weblog is licensed under a Creative Commons License.
To process all **frozen** messages in the Exim queue use this command:
mailq | grep frozen | awk '{print $3}' | xargs exim -v -M
22:25 | Linux | lien permanente
To whipe the Exim message queue use the following command:
exim -bp | exiqgrep -i | xargs exim -Mrm
14:50 | Linux | lien permanente
Adding the following line to the Exim4 configuration prevents that all the disk space is used up by the messages in the spool folder:
check_spool_space=100M
This refuses incoming messages with a "452 Space shortage, please try later" message when less than 100 megabytes of disk space are available on the partition where the spool folder resides.
10:20 | Linux | lien permanente
When having problems like _alternative:69: command not found: _path_commands during tab completion in Zsh, removing .zcompdump* and restarting Zsh gives relief.
15:53 | Linux | lien permanente
sudo apt-get install kaffeine dvb-utils mercurial linux-headers-$(uname -r) build-essentialhg clone http://linuxtv.org/hg/v4l-dvbcd v4l-dvbsudo makesudo make installIf you're using another flavor of Linux or Ubuntu you may be missing the firmware file, you can get it here.
20:45 | Linux | lien permanente
11:01 | Linux | lien permanente
XSel gives easy commandline access to the X11 clipboard (primary & secondary).
14:27 | Linux | lien permanente
Unix Toolbox, a nice collection of Unix/Linux/BSD commands, may be useful for advanced users.
16:36 | Linux | lien permanente
Instead of learning for the exams, I mess around with strange things:
arkanoid.sed is a breakout-game written entirely in sed. Download the sed-file and use sed -f arkanoid.sed to start the game. (via)
17:18 | Linux | aucune commentaire
NameVirtualHost *:443
NameVirtualHost *:80
<VirtualHost *:80>
ServerName example.org
RewriteEngine on
RewriteRule ^(.*)$ https://%{SERVER_NAME}$1 [L,R]
</VirtualHost>
<VirtualHost *:443>
ServerName example.org
DocumentRoot /var/www/example.org
...
</VirtualHost>
14:13 | Linux | aucune commentaire
Thanks to this (really simple) tutorial from debian-administration.org I managed to enable SSL on my server. Thus links.x-way.org is available via HTTPS.
If you run a server without SSL, please take two minutes and enable it.
Your users will be thankfull for their protected privacy.
18:25 | Linux | lien permanente
Today I finally installed a mail transfer agent/mail delivery agent on my server.
I quickly looked at the most popular applications for such a job (Exim, Postfix and qmail) and choosed Exim 4 (especially because it's the only one which is 'real' opensource).
Then I searched a Howto or tutorial on Google, but most results were not really useful. For example the Exim 4 Howto from debianhowto.de like many others disappointed me a bit since they don't give any advice on configuring Exim. But after some evolution and mutation of the search string I finally found a very good guide.
Configuring Exim4 and Courier IMAP under Debian GNU/Linux from Jason Boxman helped me to set up Exim step by step. Not also he explains how to install Exim but he also shows how to interact with Courier IMAP and how to secure all transfers with SSL.
I can only recommend you this guide if you want to install Exim 4 on a Debian system.
21:18 | Linux | lien permanente
Linux wurde erfolgreich auf dem Intel-iMac gebootet! :-)
Mit Hilfe des EFI Linux Bootloaders elilo, eines modifizierten Kernels und eines gehackten Vesa-Framebuffer Treibers ist es dem Xbox-Linux Entwickler Edgar Hucek aka gimli gelungen den Linux Kernel und anschliessend auch Gentoo Linux auf einem 17-Zoll iMac mit Intel Core Duo Prozessor zum Laufen zu bringen.
Im Mactel-Linux Wiki finden sich schon ein paar Screenshots sowie die Ausgaben von dmesg und lspci.
Momentan konnte die graphische Oberfläche (aka X) noch nicht zum Starten gebracht werden. Anhand der Zeile
01:00.0 VGA compatible controller: ATI Technologies Inc Unknown device 71c5
in der Ausgabe von lspci vermute ich, dass die ATI Graphikkarte nicht erkannt/unterstützt wird und deshalb X noch nicht gestartet werden kann. Aber wie vom Entwickler gesagt, ist Mactel-Linux vorerst nur ein grosser Hack, und es wird noch etwas Zeit benötigen bis Linux stabil auf den Intel Macs läuft.
Bei der Namenswahl hätten sich die Entwickler von mir aus lieber etwas anderes einfallen lassen können. 'Mactel' assoziere ich mit Telefon und nicht mit Computer. Aber daran werde ich mich wohl gewöhnen müssen, genauso wie an das unmögliche 'MacBook Pro'.
via symlink.ch
Update 18.02.06:
Mittlerweile existiert auch ein HOWTO und eine Memory Map des EFI. Der gehackte Vesa-Framebuffer Treiber funktioniert bis jetzt aber ausschliesslich mit dem 17-Zoll iMac.
09:57 | Linux | lien permanente