change postfix sender or recipient address for the future or already stuck in the mailque messages

In postfix one can change the addresses in the header. No really news for anyone, but usually something you need when you do not expect it. This usually happens when something went wrong and a whole load of messages went out with “.local” as sender.

Postfix does this with “maps”. If you do not already have one then you generate one. So to mess with this you would use one of two maps.

stmp_generic_maps

Here you can do any rewrite, as the word “generic” may have already had you guessing.

nano /etc/postfix/main.cf

Continue reading change postfix sender or recipient address for the future or already stuck in the mailque messages

Installing php5-intl for easier internationalisation of PHP scripts

If you are just doing your own thing you will probably never run into this. But if you are doing things which need to be compatible with languages that seem to have rather funny letters looking like this = äöü … then this is for you.

To get the basic package installed on Debian simply:

aptitude install php5-intl

Then get it loaded and confugred the way you need it. Easiest is pack it all in one file.

nano /etc/php5/mods-available/intl.ini

This is what mine says, mind you that this is for the gmeran umlauts.

; configuration for php Internationalisation module
; priority=20
extension=intl.so

intl.default_locale = de_utf8

intl.error_level = E_WARNING

A brief explanation to what parameters can be set can be found here:

http://php.net/manual/en/intl.configuration.php

In terms of how the language code is set and what it entails, this is for german, the others are just a couple of clicks away:

http://demo.icu-project.org/icu-bin/locexp?d_=de&_=de

I am not sure where in the docs I read it, but Intl will refer to the ICU standards in terms of language setting.

This works of course on windows as well. Just use your editor of choice instead of nano.

:)

HowTo script bypass of a captcha

I will be honest with you, I personally have no clue other than the obvious. One would have to understand how each one works.

If there is a sound file available for the captcha, there would enough diktation software around to get one started.

If it is a simple picture one can get any OCR Software to try it.

If it conbsist of terrible picture … well …

Installing the tracker from my previous post will lead you sooner or later to the following website: http://deathbycaptcha.com

… and I though I had seen it all. Someone is actually making money with this. But of course you are not allowed to do anything illegal with the API … right … !!

Google Keyword Rank Checker

Das perfekte Projekt für alle die einen Raspberry PI im Keller haben, der noch etwas Zeit hat.

Wieso der im Keller? Na ja, es ist wie mit allen Google Rank Checker … setzt ihr das Ding professionell auf und labert Google stündlich voll mit hunderten von Anfragen mit einem echten Server mit fester IP und guter Bandbreite … bekommt er irgendwann keine Antwort mehr von google.

Verständlich. Würden ich und du nicht anders machen.

Also dann lieber den Rank Check im Keller der einmal in 24 Stunden 1-4 Websites abchecket und fertig.

http://serposcope.serphacker.com/en/doc/install.html

… einfach und sehr übersichtlich.

3.5″ RPi LCD (A) V3, Waveshare, Spotpear mit Gehäuse

IMG_5241

… so sieht es fertig aus. Nicht von Waveshare bestellt, sondern auf ebay gefunden (Hong Kong). Mit Gehäuse und Kühler. Von den Kosten her ein drittel – viertel. Aber eben ohne Anleitung, Image für den Raspberry, etc.

War mir aber egal, da ich es so wie so an den Raspberry 2 anschließe und wir sicher sein können das mir da das Image und deren Treibe unter Umständen um die Ohren fliegen.

Wer noch die Tütchen und so sehen will. Der sieht sich den Rest vom Post an.

Continue reading 3.5″ RPi LCD (A) V3, Waveshare, Spotpear mit Gehäuse