Archive for the ‘Language’ Category.

YATE testing

How can you test your YATE installation?

By trying to place a call from the YATE machine to one of your lines.

  • set up and activate music on hold (moh), I attached mine to madplay. Thus I get moh/madplay as an available data source (another would be tone/ring)
  • start YATE if it is not already running.
  • telnet localhost 5038 to login to YATE (rmanager has to be activated!)
  • callgen set called=yourlinenumber
  • callgen set source=moh/madplay
  • callgen single

The device attached to the line should get a call with Caller ID “YATE”, which will be routed to moh/madplay, and automatically disconnected after a minute.

You need to setup your call only once, and can continue testing with callgen single as often as you need to.

Here’s more information in the original documentation.

Please note: you can’t call outgoing numbers (as set up in your regex routing table) this way.

Also, you may need to enable the callgen and the rmanager modules in your yate.conf, if they had been disabled.

Juristisches

Feststellungsklage

Sie dient im Zivilrecht dazu, um das Bestehen oder Nichtbestehen eines Rechtsverhältnisses feststellen zu lassen.

Mietverhältnisse

Eine Fortsetzung des Mietverhältnisses über den Kündigungszeitraum hinaus wird bereits heute gem. § 545 BGB ausdrücklich widersprochen.

Ziehfrist

Selbst bei fristloser Kündigung muss der Vermieter dem Mieter eine Ziehfrist von ein bis zwei Wochen geben.

Unbestrittene Forderung

Bedeutet, dass die Forderung von beiden Seiten anerkannt ist, daher kann nicht mehr darüber gestritten werden. Bezieht sich insbesondere auf Rechnungen, die der andere Geschäftspartner anerkannt hat, und die sich durch ein Inkassounternehmen ohne Probleme durchsetzen lassen.

Abmahnungen

Grundlagen hat dieser Artikel sehr gut im Überblick parat.

Outlook Express Timeouts

Obwohl Outlook Express bereits auf die maximale Wartezeit eingestellt ist, kommt es trotzdem bei manchen zu Timeout-Problomen.

(Original-Text auf italienisch: “il server ha interrotto la connessione in modo inatteso. …” = “Your server has unexpectedly terminated the connection. Possible causes for this include server problems, network problems, or a long period of inactivity. Account: ‘account name’, Server:’server’, Protocol: POP3, Port 110, Secure (SSL); No, Error Number: 0×800CCC0F”

Eine Recherche bringt folgende Möglichkeiten zustande:

  • Outlook Express hat einen Bug, was bei bestimmten e-Mails (mit leerer Message-ID) zu Timeouts führt bzw. dazu, dass eine Mail immer und immer wieder geholt wird. Siehe dazu diesen Artikel.
  • Norton AntiVirus scannt einkommende UND abgehende Mails. Norton’s Support schlägt vor, den Scan abzuschalten um das Problem zu lösen.
    Hier ist ein weiterer Artikel mit Überblick über Norton, McAffee, Trend-Micro.
  • Falls wir einen Exchange Server betreiben würden, hätte Microsoft auch einen Lösungsvorschlag.
  • Manchmal ist bei Outlook Express eingestellt, dass es die Internetverbindung automatisch trennen soll. Bell hat dazu eine Seite (auf Englisch).

ISIC – International Student Card

Ab dem 1. September kann man die ISIC ab September bis 2012 erhalten.

Die International Student Card kostet 12 €, und wird vor Ort in 5 Minuten ausgestellt. Mitbringen muss man: das Geld, ein Passbild, einen Personalausweis und eine Immatrikulationsbescheinigung / einen Studentenausweis.

Neben vielen Vergünstigungen weltweit gibt es für Karteninhaber auch von Microsoft ein interessantes Angebot namens Dreamspark: verschiedene Entwickler-Tools, bspw. Visual Studio für lau.

Reisen in Indien

Diese Webseite bietet sehr ausführliche Informationen über Reisen nach Indien. Hier jedoch im Überblick ausschließlich die Fortbewegungsmöglichkeiten:

Mit dem Flugzeug:
Diese Webseite hat Informationen über “Discover India”, eine Art Flugflatrate. Für 895 $ kann man 21 Tage so oft in Indien fliegen wie man will, vorausgesetzt, dass der gleiche Flughafen nur ein einziges Mal als Ziel angeflogen wird (es sei denn zum Umsteigen).

Es fallen u.U. weitere Gebühren an.

Die gleiche Webseite bietet auch Informationen über Ermäßigungen für Jugendliche (d.h. unter 30jährige). Es wird 75 % des Economy Class Preises erlassen, allerdings müssen “passenger service fee” und “fuel surcharge” voll bezahlt werden.

Mit dem Zug:
Auch hier gibt es eine Flatrate, den Indrail Pass. Eine britische Seite hat umfangreiche Erklärungen, was die einzelnen Kategorien bedeuten, und ebenfalls eine Übersicht wie teuer die Tickets sind. Ein Ticket für 60 Tage in der niedrigsten Klasse (ohne Air Conditioning, mit Toiletten im indischen Stil) kostet 185 $ – das entspricht momentan 145 €.

Der einzige offizielle Vertriebspartner des Indrail Passes in Deutschland war Asra Orient. Sie bieten den Pass jedoch nicht mehr an, da die Nachfrage stark zurückgegangen sei, nachdem einzelne Strecken heutzutage über das Internet buchbar sind. Man kann den Indrail Pass in allen Zentralbahnhöfen vor Ort kaufen, und auch mit Euro bezahlen. In Delhi gibt es im Zentralbahnhof im ersten Stock eine spezielle Einrichtung nur für Touristen.

Man kann ob mit oder ohne Indrail Pass nicht einfach in den Zug einsteigen – es muss reserviert werden. Notfalls kann man beim Schaffner fragen, ob noch Plätze für den Zug frei sind. Gemäß “Asra Orient” in Deutschland kann man für den Indrail Pass nicht über das Internet reservieren, zudem kann man Einzelstrecken nur mit American Express bezahlen.

Im sogenannten “Tatkal Scheme” kann die Buchung sehr kurzfristig, durchgeführt werden. Es werden Sitze reserviert, die ab zwei Tage vor der Abreise gebucht werden können. In der niedrigsten Klasse kostet die Buchung via Tatkal Scheme 10 bis 15 Rupien. (Dabei weiß ich nicht, wie das Tatkal Scheme mit dem Indrail Pass zusammenpasst)

Natürlich ist ein Zug deutlich langsamer als ein Flugzeug. Jedoch gibt es auch hier eher schnelle Verbindungen und eher langsamere. Eine Seite auf Wikipedia gibt über die schnellsten Züge in Indien Auskunft. Sie hält in der Kategorie “Indian Railways” weitere Informationen bereit, bspw. welche Stationen es in Indien gibt.

Techniker Krankenkasse & Auslandskrankenversicherungen

Auslandskrankenversicherung

Die TKK empfiehlt ausdrücklich den Abschluß einer Auslandskrankenversicherung. Sie haben mit ihrem Partner envivas.de ein sehr günstiges Angebot für Reisen von maximal 8 Wochen Dauer geschnürt (bei mir auf den Tag genau, Gott sei dank!).

Für 7,80 € pro Jahr kann man beliebig oft reisen, vorausgesetzt die einzélne Reise ist maximal 8 Wochen lang und es gibt zwischen den Reisen einen Aufenthalt in Deutschland.

Im “großen” Tarif mit längerem Reisezeitraum zahlt man 80 Ct pro Reisetag, der Tarif wird dann explizit für diese Reise abgeschlossen.

Enthalten ist eigentlich alles, was man für die Reise möglicherweise braucht, es wird zu 100 % erstattet:

  • ambulante Behandlung, Arzneien und Pflege- und Verbandsmittel
  • Krankenhausaufenthalte
  • Zahnbehandlungen
  • Krankenrücktransport
  • im Fall des Falles Überführungs- und Bestattungskosten
  • Bergungskosten

Der “kleine” Tarif ist direkt über die Webseite von Envivas buchbar, unter Angabe der TKK Mitgliedsnummer. Er kann selbst am Abreisetag abgeschlossen werden, Hauptsache man befindet sich noch auf deutschem Boden. Die Bestätigung druckt man selbst in Form einer PDF Datei aus, und nimmt sie mit.

Die TKK empfiehlt die Versicherung auch bei Reisen ins europäische Ausland, da die Gebühren dort nicht komplett von ihr übernommen werden dürfen.

DEET

Das Insektenabwehrmittel DEET wird nicht übernommen, da es nicht verschreibungspflichtig ist.

Reiseapotheke

Für eine Reise nach Indien und Nepal von 8 Wochen Gesamtdauer wurde mir folgendes empfohlen:

  • Loperamid = Immodium gegen Durchfall (zurückhaltend einsetzen, da der Durchfall auch eine Schutz- und Bekämpfungsfunktion vor den Erregern hat)
  • Paracetamol & Ibuprofen gegen Fieber und Schmerzen
  • Octenisept zur Wunddesinfektion
  • DEET als Insektenschutzmittel
  • Antiallergika gegen Insektenstiche
  • Sonnenschutzmittel, Faktor 50+ für Kinder – da wir auch in den Bergen unterwegs sein werden
  • Verbandsmaterial: Pflaster, Mullkompressen, Sicherheitsnadel

Internet in India

This is an interesting list of India’s mobile operators.

Reliance Communications Ltd. of India offers a service called “Broadband+” which claims to have the fastest data rates available for wireless internet access in India at up to 3.1 Mbps download and 1.8 Mbps uploads in 64 selected cities (see below). The other locations sport 144kbps connections.

They offer connectivity in “24,000 towns and 6 lacs villages, as well as along major highways, railway“, but only the following 64 cities have the full speed coverage:

Agra,Ahmedabad,Ajmer,Anand,Ankleshwar, Banglore, Bhilwara, Bhiwadi,Bhopal,Bopal,Chandigarh,Chengalpatt,Chennai, Coimbatore,Daman,Delhi,Dewas,Dhar,Ernakulam,Erode,Gandhinagar,Guntur, Halol,Hazira,Hosur,hyderabad,Ibrahimpatnam Indore,Jaipur,Kakinada,Kanpur,Kolkata,Kota,Lucknow,Ludhina,Madgoa,Madurai,Mangalore,ManipalMhow,Mumbai,Mysore Nagpur,Nasik,Palladum,Panjim,Patiala,Perundurai,Pithampur,Pondicherry,Pune,Rajamundry,Salem,Silvassa Surat,Thiruvananthapuram,Tirupur,Udaipur,Ujjain,Vadodara,Vapi,Vellore,Vijaywada,Visakhapatnam,Ibrahimpatnam, Bhiwadi,Chengalpatt,Daman,Silvassa,Anand,Ankleshwar,Halol,Bopal,Hazira,Pithampur,Mhow,Panjim,Nasik,Pondicherry, Hosur,Perundurai,Thrissur
Kollam,Palakkad,Kancheepuram.

A suitable modem can be obtained from Reliance for 2299 Rs (ca. 40 €). They need to support “CDMA 1x RTT & CDMA 1xEVDO Rev A“.

This article states that UMTS is really another name for Wideband CDMA, which is different from 1XEV-DO = 1X Evolution Data Optimized CDMA2000 Reliance uses for their broadband product.

My Huawei E160 (which exclusively supports access via UMTS) will not work, I need to buy a new modem in India.

There are prepaid packs avalaible, for instance 6GB valid for 3 months come at Rs 1500 (ca. 25 €).

Here is a list of Reliance World Stores in Delhi:

Reliance World, E-24, Netaji Subash Marg, Daryaganj, New Delhi
Reliance World, Shop No. S-37, Main Market, Near Evergreen Sweets, Green Park, Delhi
Reliance World, D-115-116, Fateh Nagar, Jail Road, New Delhi
Reliance World, Reliance World, 29 UA Jawahar Nagar, Bungalow Road, Kamla Nagar, Delhi
Reliance World, 5A,Competent House, Jagatpuri Chowk, Krishna Nagar, New Delhi
Reliance World, K-3, Alankar Road-2, Central Market, Lajpat Nagar, New Delhi
Reliance World, 6, Community Centre, New Friends Colony, New Delhi
Reliance World, A-4/34, Paschim Vihar, New Delhi
Reliance World, 1/2 East Patel Nagar, New Delhi
Reliance World, A-7 Saraswati Vihar, Near Deepali Chowk, Outer Ring Road, Pitampura, New Delhi
Reliance World, E-18, NDSE Part 2, South Extension, New Delhi
Reliance World, C-40 Community Centre, Basant Lok, Opposite Priya Cinema, Vasant Vihar, New Delhi
Reliance World, 11 Bharti Artist Colony, Vikas Marg, Preet Vihar, Delhi

Access to MySQL

First I have a very good overview article for you:

http://dev.mysql.com/tech-resources/articles/migrating-from-microsoft.html

I’ve recreated the data structure in my SQL DB manually, now I can export the data from Access as a CSV textfile.

You can specify which delimiters and quotes Access uses to export the data. Access escapes characters by using them twice, i.e. the string

I am a “very” skilled developer

becomes

“I am a “”very”" skilled developer”

If you want to import that PHPMyAdmin, you should process the file first with a text editor and replace all double quotes (“”) by escaped quotes (\”).

I won 750.000 € … and a Toshiba laptop :-)

Obviously, this is an outrageous scam. I deem the Toshiba laptop part quite funny, though :-)

MICROWORD CORPORATIONS:
CUSTOMER SERVICE, MADRID SPAIN
REFERENCE NUMBER: JJN-RX/E-3929
BATCH NUMBER: 2010/330/MCV
LINK : <deleted>

OFFICIAL WINNING NOTIFICATION.

We are pleased to inform you of the released results of the Sweepstakes
Promotion organized by Microword Corporations,
in conjunction with the foundation for the promotion of software products,
held on 9th July,2010, in Madrid,Spain.
Your email address emerged as one of the online winning emails, in
the 3rd category and therefore attracted a cash
award of 750,000.00 (Seven Hundred and Fifty Thousand Euros Only) and a
Toshiba laptop.

To begin your claim,contact our
Foreign Transfer Manager via email or by telephone
below.

David Martins
Tel/ 0034 698 320 002
Email:infomicroword2@aol.com or <email deleted>

You are therefore advised to send the following information to the
Foreign transfer manager to facilitate them and process the COURIER of
your prize.

1. Full name…………..
2. Sex…………..
3. Country…………….
4. State………….
5. Contact Address……..
6. Telephone Number…….
7. Marital Status………
8. Occupation………….
9. Age………………..
10.Zip Code………….
11.Winning email address……..
12.Amount Won ……………

This Email Lottery is sponsored by Microword Corporations and all the
members of MSFT Word Resource Consortium Software
Promotion Companies including Intel Group, Toshiba and Dell Computers.
This internet E-mail draw is held periodically and
is organized to encourage the use of the Internet and promote computer
literacy worldwide.
Congratulations!!

Sincerely,
Anna Miguel
Promotions Manager

Zimbra LDAP and DNS

Nochmal durfte ich lernen: das DNS System ist einer der Angelpunkte eines IT-Unternehmens.

Deswegen muss es sowohl in der Hand eines erfahreren Administrators sein, als auch dieser immer Zugriff zu haben.

In meinem Fall sind das noch Nachwirkungen der Benutzung eines “Dumping-Providers” für Domains. Ich hatte darüber bereits einmal geschrieben.

Jetzt bin ich bei HTTP.net mit den Domains, die eine Domain (7vi.de) ließ sich aber nicht portieren da ich sie im System des alten Anbieters nicht lokalisieren konnte.

Unser System war zuletzt eine Mischung aus 7vi.de und ideaday.de;

Leider habe ich mich nicht rechtzeitig darum gekümmert, alles auf ideaday.de umzustellen. Als gestern abend 7vi.de wohl zu einem anderen Anbieter umgezogen & die DNS Einträge nicht ordnungsgemäß übernommen wurden, kam es in Zimbra heute zu einem Mailstau: die Mails konnten nicht mehr ausgeliefert werden, da das Zielsystem mail.7vi.de nicht erreichbar war.

Zimbra, LDAP and changing the hostname

We had the problem that we lost DNS administration control over one of our domains, which Zimbra was running on. Today I learned the hard way, that Zimbra depends on this external DNS servers, even for internal mail delivery.

Backup before using zmsetservername! It might be needed sorely later on!

Use the following to backup:

  • zmcontrol stop (as zimbra)
  • create the /backup/zimbra directory
  • install rsync if necessary (here’s a manpage)
  • (as root) rsync -avHK /opt/zimbra/ /backup/zimbra/

You might want to have a look at this Zimbra page, where I lifted the command from a script.

Proper DNS is essential for changing the hostname!

The best way to avoid trouble is to ensure, before changing the hostname, that the target host the LDAP server is running on (in my case identical with the main Zimbra host) is reachable. If it’s not, add it into the /etc/hosts file. (see below)

If you use zmsetservername to change the hostname (which is the only sensible way to do it, and usually works painlessly on 6.0+ systems), you might get a connection error to the LDAP server.

Starting ldap…done.

Unable to contact ldap://mail.oldhost.de:389: Connection refused
Unable to contact ldap://mail.oldhost.de:389: Connection refused

Attention: if you get this error when running zmsetservername, important parts of your configuration (including the accounts) have not been updated. Do not start Zimbra (thus accepting mails, which you would loose if restoring from backup). It will not work!

If you get the error:

  • if you started Zimbra and tried various things, shut it down, move /opt/zimbra to /opt/zimbra_2, so you can access any e-Mails which arrived in the meantime (they will be located in /opt/zimbra/data/postfix/spool/deferred – replace zimbra by zimbra_2 if you moved your folder)
  • Restore your backup to /opt/zimbra
  • Do not start Zimbra yet
  • Edit the /etc/hosts file as follows:

127.0.0.1 localhost.localdomain localhost
# Auto-generated hostname. Please do not remove this comment.
<your-IP> mail.newhost.de mail mail.oldhost.de

mail.7vi.de being the old hostname not being accessible anymore. Check that it is resolved once again

  • After that, you can run the zmsetservername, it will connect to the LDAP, and update all necessary files. No manual changes (apart from recreating the certificates) will be needed. If everything works, you will see output like the following:

Starting ldap…done.

Searching for ldap server entry…done.< BR>Renamingcn=mail.oldhost.de,cn=servers,cn=zimbra…done.
Updating zimbraServiceHostnameforcn=mail.newhost.de,cn=servers,cn=zimbra…done.
Updating zimbraMtaAuthHostforcn=mail.newhost.de,cn=servers,cn= zimbra…Updating zimbraSpellCheckURLforcn=mail.newhost.de,cn=servers,cn=zimbra…done.
Updating zimbraSmtpHostnameforcn=mail.newhost.de,cn=servers,cn=zimbra…done.
Updating zimbraVirtualHostname fordc=oldhost,dc=de…done.
Updating zimbraLogHostname forcn=config,cn=zimbra…done.
Updating zimbraMailHost for uid=admin,ou=people,dc=mail,dc=somehost,dc=de…done.

  • Now you can (should) restart your system, and start Zimbra
  • Go to the webadmin interface, and flush your mail queues. Wait a bit.
  • if you had the other system running, and some additional mails arrived to the deferred queue, you can just copy & paste them into the /opt/zimbra/data/postfix/spool/deferred folder – complete with their paths, i.e. 0/whatever to 0/whatever.
    Change the permissions to postfix:postfix
    Flush again – some mails should arrive double, but it’s better than loosing mails!

zmsetservername is located in /opt/zimbra/libexec by the way. It would not work without the prepended path for me either.

If you want to go the other way and fix LDAP routing: good luck, we tried for like 3 hours to get it going. Don’t forget, that you still need to update the users and a lot more other information. Trust me, restoring the backup is a better idea.

slapd will be running, but Zimbra won’t be able to connect to it. As LDAP is at the core of Zimbra, your possibilities will be limited. You can use

ps auxww | grep zimbra | grep slapd

to check whether slapd is running. This page might be a good start to try and solve the LDAP problems, if you have to do it that way. Remember: you probably need to run zmsetservername once again, or do the steps it does for you – as it could not connect to the LDAP before!

Problems still needing fixing:

  • update the certificates
  • /opt/zimbra/libexec files don’t seem to be in the global PATH
  • (maybe related to the problem above): logging does not work
  • reenable postgrey