From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: To: community@altlinux.ru Subject: Re: [Comm] postfix trouble Organization: Tyumen's University, Institute of State and Law References: <129360590562.20041110130835@aston.ru> <20041110212001.760c1b3a.dimzey@tendel.dp.ua> <113434081750.20041111093324@aston.ru> From: Vladimir V Kamarzin Date: Thu, 11 Nov 2004 12:47:26 +0500 In-Reply-To: <113434081750.20041111093324@aston.ru> (Roman V. Tutov's message of "Thu, 11 Nov 2004 09:33:24 +0300") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at jurati.ru X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: community@altlinux.ru List-Id: Mailing list for ALT Linux users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2004 07:42:53 -0000 Archived-At: List-Archive: List-Post: >>>> On 11 Ноя 2004 at 11:33 Roman V Tutov writes: >>> Добавил в main.cf строку >>> body_checks = regexp:/etc/postfix/body_checks >>> создал файлик /etc/postfix/body_checks >>> /(filename|name)=".*\.(asd|chm|dll|hlp|hta|js|ocx|pif)"/ REJECT >>> /(filename|name)=".*\.(scr|shb|shs|vb|vbe|vbs|wsf|wsh)"/ REJECT DZ>> Postfix версии 2.х? RVT> Да . Попробуйте в main.cf mime_header_checks = $header_checks header_checks = regexp:/etc/postfix/header_checks Ну и в header_checks /^[ ]*name=.*\.(exe|dll|eml|vbs|pif|com|bat|scr|lnk)\"?$/ REJECT executing files not allowed -- // WBR, Vladimir V. Kamarzin, 2:5077/16.35