ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "A.Kitouwaykin" <cetus@newmail.ru>
To: community@altlinux.ru
Subject: [Comm] Странности postfix
Date: Tue, 3 Oct 2006 10:38:28 +0400
Message-ID: <20061003103828.6d664b1c.cetus@newmail.ru> (raw)

		Добрый день.

	Была локальная (очень) сеть с исторически сложившимся
длинным доменным именем вида lan.wan.ru.

	В один прекрасный вчерашний день решили наконец сократить
это имя до просто lan

	В результате перестала отправляться почта на сокращенные
адреса вида user@host (тестовая команда - mail user@host), хотя
раньше работало, и вполне исправно уходит на адрес user@host.lan

	Изучение логов показало, что раньше user@host при отправке
почты правильно преобразовывался в user@host.lan.wan.ru . 
Теперь вместо user@host.lan получается user@host.myhost.lan , 
где myhost - компьютер, с которого отправляется письмо.

	Изучение вывода postconf -d показало, что если имя компьютера
имеет вид host.net.dom (и длиннее), то myhostname = host.net.dom , а
mydomain = net.dom , что собственно и ожидалось. Но если у компа короткое
двусложное имя host.net, то myhostname = mydomain = host.net .

	Вопрос: это бага или фича?

	Чтение, по диагонали, RFC (822, на который ссылается man, и 2822)
не просветило. Там есть примеров как раз вида user@host.network .

	Master 2.4, postfix "из коробки", за исключением control
postfix server.

-- 
Китайкин Анатолий Константинович
ОАО "Радиоавионика", СПб


             reply	other threads:[~2006-10-03  6:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-03  6:38 A.Kitouwaykin [this message]
2006-10-13 13:06 ` Aleksey Avdeev
2006-10-13 13:53   ` A.Kitouwaykin
2006-10-13 13:59     ` Aleksey Avdeev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061003103828.6d664b1c.cetus@newmail.ru \
    --to=cetus@newmail.ru \
    --cc=community@altlinux.ru \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git