From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Message-ID: <6c7be88d0802270102m455236dh7d2cbf89cda84056@mail.gmail.com> Date: Wed, 27 Feb 2008 11:02:39 +0200 From: "Dmitriy Kruglikov" To: "ALT Linux Community general discussions" In-Reply-To: <00c401c8791a$0c8e92c0$25abb840$@com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <00c401c8791a$0c8e92c0$25abb840$@com> Subject: Re: [Comm] FW: ALTLINUX SERVER 4.0 Postfix X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.9 Precedence: list Reply-To: ALT Linux Community general discussions List-Id: ALT Linux Community general discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Feb 2008 09:02:42 -0000 Archived-At: List-Archive: List-Post: 27.02.08, Щербина Тимур написал(а): > 2 вопрос по поводу спама от тех кто в команде HELO представляется как localhost, от них проваливается спам, что нужно дописать в конфиге, чтобы реджектить тех кто представляется как localhost… +++ (/etc//postfix)# cat helo_check # This file has to be "compiled" with "postmap" #makemap hash helo_check < helo_check # Reject anybody that HELO's as being in our own domain(s) # (Note that if you followed the order suggested in the main.cf # examples, above, that machines in mynetworks will be okay.) your_domain.com.ua REJECT You are not me # Somebody HELO'ing with our IP address? 192.168.0.254 REJECT You are not me # Тут внутренний адрес 82.207.102.3 REJECT You are not me # Тут внешний ... # Somebody HELO'ing as "localhost?" Impossible, we're "localhost" localhost REJECT You are not me localhost localhost.localdomain REJECT You are not me localdomain +++ -- Best regards, Dmitriy L. Kruglikov Dmitriy.Kruglikov_at_gmail_dot_com DKR6-RIPE DKR6-UANIC XMPP: Dmitriy.Kruglikov_at_gmail_dot_com