Apr 22, 2010

understanding sendmail better

One and a half day I've beed fighting with sendmail.
The issue is like the following:
I've have mail server on google (google app) for my domain (lets call it domain.ru) and I've have a dedicated server for that domain, that runs site/forum. Let the server name be domain.ru. Forum sends messages to it's users (notifications and like). Most of users have mails on external mail servers (mail.ru, gmail.com and like) and a few users have mails on my domain.ru server.
MX records point to google.
Sendmail that runs on domain.ru server thinks mails for user_name@domain.ru as local and do not send them to google (!), other mails are sent OK.
Playing with MAIL_HUB/LOCAL_RELAY/stickyhost gave no luck. All the mails sent to user_name@domain.ru were put into /var/spool/mail instead of sending to google :(
/etc/hosts of the server has the record pointing that its external IP XX.XXX.XXX.XXX is domain.ru what is a real true :)
That's why when sendmail got mail like user_name@domain.ru it treat it like local.
Changing name of XX.XXX.XXX.XXX in /etc/hosts from "domain.ru" to "domain" brought no luck: mails sent to user_name@domain.ru started to be sent to google, but it appeared that some other mail servers like pochta.ru check the name of the sender and reject the mail if sender name cant be resolved ("domain" points to nowhere).
What's the next? Googling doesnt help: some advices are not acceptable, some other do not work at all :(

The solution appeared to be straight and simple.
I've changed the name where points XX.XXX.XXX.XXX in /etc/hosts to "www.domain.ru". Now when sendmail gets mail like user_name@domain.ru it doesnt think it to be local (for sendmail local mail should be user_name@www.domain.ru now!) and sends mails to google. External mail servers (like pochta.ru) can now resolve "www.domain.ru" host!
I've won!

mood: thinking
music: Depeche Mode

Mar 28, 2010

крысофото

Знакомьтесь -- Алит!
Зверь с явным удовольствием позировал мне сегодня. 




А это просто забавно. Валар охотится на провода, в то время как я охочусь на Валара:


Локки сниматься не захотел :)

mood: "artistic"
music: "БГ"

Mar 24, 2010

Ich habe Das Keyboard :)

That's been one of my blue dreams for a long time, today it came true :)
It's a bit difficult to type without mistakes, but I'm doing good.
Typing in Russian is rather easy, in English is a little bit complicated.



Thank you, darling :) Уou're the best :-*


mood: "happy"
music: "Rod Stweart"

Feb 27, 2010

Let's play a game!

Along with a several thousands of other people reading some blog, I was tagged by its author. Now I'm going to write seven things about myself. Lets try to start....

1. I collect rat's and dog's whiskers :) I've almost 100 of them.

2. On the second grade of University, during summer practice, we were trained how to drive a tractor.
It was going to be funny time, but once I sit inside and machine started, I was so scared, that closed my eyes and drove some time with closed eyes :)

3. When I'm alone, I hate silence. I always switch music on to feel comfortable.

4. After finishing school I passed several preliminary examinations to different universities. Just for fun. I liked passing exams.


5. I want to see Germany. This is my dream to take a camera and travel across this country. I do not know why, but it attracts me.

6. I'm found of Pleo and just several months ago really dreamt of having such an electronic pet :-)

7.  This this the first time when I take part in internet game and the first time I was tagged :)

Well... I'm done so far and now I'm tagging all of you, who read this post, let me know if you write 7 things about yourselves, I'd really love to read them :)

mood: good!
music: Крис Кельми "Замыкая Круг"

For the very first time...

Winter of 2010 is going away. Hurray?
It was a unbelievable cold and long, it felt like it was even longer and snowier that dozens of previous winters.
Anyway, in it's last month it's started to be much warmer and some days presented us not only with a freezing wind, but also with a nice pictures of fluffy snow lying around.
You already know, that usually, I do not understand black and white Winter World, it immediately makes me tired and sleepy, but some special to me person could show me that even Winter has it's own beauty...
It was my first experience with tripod :-)



music: "time after time"
mood:  smiling :)

Jan 23, 2010

let the winter go away

It's gold like in a Hell in MSK this year. I really cant remember such a cold winter when it was -20 -25C for weeks and when it was not possible just to have a walk without fear to get completely cold somewhere during the walk.
In a such long-long sun-free days it's a special pleasure to remember all the past summers and to dream of the coming ones...
I miss green leaves, hot sun, singing birds and insects, I miss walking through blooming trees and taking pictures of the colourful world. If you ever know, how much I hate 'black-and-white' world, I just do not understand it without colours, it's not a part of _my_ Universe...
My ones is different... :)











mood: sleepy
music: Bonnie Tyler