From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.2.5 X-Injected-Via-Gmane: http://gmane.org/ To: community@lists.altlinux.org From: Aeliya Grevnyov Date: Wed, 01 Oct 2008 00:36:24 +0800 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sinkar.g-service.ru User-Agent: Thunderbird 2.0.0.14 (X11/20080719) In-Reply-To: X-Enigmail-Version: 0.95.6 Sender: news Subject: Re: [Comm] =?utf-8?b?cG9zdGZpeC4g0YPQstC10LTQvtC80LvQtdC90LjQtSDQviA=?= =?utf-8?b?0L/QuNGB0YzQvNC1INC/0LjRgdGM0LzQvtC8INC90LAg0LTRgNGD0LPQvtC5?= =?utf-8?b?INGP0YnQuNC6?= X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: gray_graff@list.ru, 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: Tue, 30 Sep 2008 16:35:56 -0000 Archived-At: List-Archive: List-Post: да простят меня обладатели прямых рук :) сделал, как смог поправил скрипт. теперь он такой: #!/bin/bash to=`grep $2 /etc/postfix/notify_users | cut -d "#" -f 2` /usr/sbin/sendmail -f $1 $2 echo "`date +%D_%T` mail from: $1" | /bin/mail -s mail $to notify_users имеет вид user@domain.ru FILTER redirect: #user@domain2.ru в master.cf redirect unix - n n - - pipe flags=R user=virtual:virtual argv=/etc/postfix/notify-script ${sender} ${recipient} и все работает