From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: To: ALT Linux Community Subject: Re: [Comm] Postfix -- REJECT for connect from unknown[x.x.x.x] Organization: Tyumen's University, Institute of Distance Education References: <43D531B5.2000708@geodigital.ru> From: "Vladimir V. Kamarzin" Date: Tue, 24 Jan 2006 15:19:38 +0500 In-Reply-To: <43D531B5.2000708@geodigital.ru> (Jury Levykin's message of "Mon, 23 Jan 2006 22:42:45 +0300") Message-ID: User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.18 (linux) MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ALT Linux Community List-Id: ALT Linux Community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jan 2006 10:19:55 -0000 Archived-At: List-Archive: List-Post: >>>>> On 24 Jan 2006 at 00:42 "JL" == Jury Levykin writes: JL> ALM 2.4, JL> подскажите пожалуйста, что нужно прописать в конфигурации postfix JL> чтобы он РЕДЖЕКТИЛ сообщения приходящие он неопознанных машин? JL> В логе это выглядит так: JL> connect from unknown[x.x.x.x] reject_unknown_client Reject the request when the client IP address has no PTR (address to name) record in the DNS, or when the PTR record does not have a matching A (name to address) record. The unknown_client_reject_code parameter specifies the response code for rejected requests (default: 450). The reply is always 450 in case the hostname lookup failed due to a temporary prob- lem. In addition, you can use any of the following generic restrictions. These restrictions are applicable in any SMTP command context. P.S. с подобными вопросами давно пора перебраться в sysadmins@ -- vvk