ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "Vladimir V. Kamarzin" <vvk@vvk.pp.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] postfix. accept for postmaster always
Date: Wed, 20 Feb 2008 15:47:14 +0500
Message-ID: <m34pc3nbv0.fsf@vvk.distance.ru> (raw)
In-Reply-To: <20080220090042.GB6876@ricom.ru> (Alexey Morsov's message of "Wed, 20 Feb 2008 12:00:42 +0300")

>>>>> On 20 Feb 2008 at 14:00 "AM" == Alexey Morsov writes:

AM> А вот как ваше мнение относительно reject_unknown_client в
AM> smtpd_client_restrictions ? У меня как-то про него сомнения в его
AM> легитимности (т.е. соответствия rfc)

RFC-2821 говорит о том, что в helo должен быть fqdn и должен соблюдаться
reverse mapping:

4.1.1.1  Extended HELLO (EHLO) or HELLO (HELO)

   These commands are used to identify the SMTP client to the SMTP
   server.  The argument field contains the fully-qualified domain name
   of the SMTP client if one is available.  In situations in which the
   SMTP client system does not have a meaningful domain name (e.g., when
   its address is dynamically allocated and no reverse mapping record is
   available), the client SHOULD send an address literal (see section
   4.1.3), optionally followed by information that will help to identify
   the client system. The SMTP server identifies itself to the SMTP
   client in the connection greeting reply and in the response to this
   command.

Таким образом мы можем ожидать, что правильные клиенты должны иметь корректную
запись в обратной зоне. НО ещё тут написано, что если нет reverse mapping, то
в helo должны быть использованы address literal, т.е.  ehlo [ip.add.re.ss], но
в postfix reject_unknown_client естественно никакого отношения к helo не
имеет, таким образом, даже если в helo корректно был указан address literal,
будет реджект.

-- 
vvk

Russian Postfix irc: irc.freenode.net #postfix-ru

  reply	other threads:[~2008-02-20 10:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-19 16:16 Alexey Morsov
2008-02-20  5:27 ` Vladimir V. Kamarzin
2008-02-20  9:00   ` Alexey Morsov
2008-02-20 10:47     ` Vladimir V. Kamarzin [this message]
2008-02-20 11:10       ` Andrew Kornilov
2008-02-20 11:24         ` Vladimir V. Kamarzin
2008-02-20 11:21       ` Alexey I. Froloff
2008-02-20 12:07         ` Vladimir V. Kamarzin

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=m34pc3nbv0.fsf@vvk.distance.ru \
    --to=vvk@vvk.pp.ru \
    --cc=sysadmins@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 sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

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


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