From owner-freebsd-questions Sat Jul 18 06:17:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA19619 for freebsd-questions-outgoing; Sat, 18 Jul 1998 06:17:31 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from smartnet.com.ar ([205.147.248.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA19614 for ; Sat, 18 Jul 1998 06:17:30 -0700 (PDT) (envelope-from numard@smartmedia.com.ar) Received: from smartmedia.com.ar (syd1 [203.111.0.219]) by smartnet.com.ar (8.8.7/8.8.7) with ESMTP id FAA24005; Sat, 18 Jul 1998 05:20:01 -0400 (EDT) (envelope-from numard@smartmedia.com.ar) Message-ID: <35B0A054.7F9AA38D@smartmedia.com.ar> Date: Sat, 18 Jul 1998 23:17:08 +1000 From: "Numard (Norberto Meijome)" Organization: 0xCode X-Mailer: Mozilla 4.05 [en] (WinNT; I) MIME-Version: 1.0 To: Linux Admin Mail List , FreeBSD Questions Subject: procmail rule?? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG hi! i have the following rule in my system procmailrc. ---- ATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin MAILDIR=/var/mail LOGFILE=/var/log/procmail VERBOSE=on SENDMAIL=/usr/sbin/sendmail MAIL=/usr/bin/mail ################################################################################################# :0 * ^To.*figlet@smartnet.com.ar SUBJECT=`formail -xSubject:` SENDER=`formail -xFrom:` | ( cat > /dev/null ; echo "RESPUESTA 1") | $MAIL -s "Su pedido, Amo..." beto ################################################################################################# ------ /var/log/procmail shows me the following: --- procmail: [23995] Sat Jul 18 05:16:53 1998 procmail: Assigning "SENDMAIL=/usr/sbin/sendmail" procmail: Assigning "MAIL=/usr/bin/mail" procmail: Match on "^To.*figlet@smartnet.com.ar" procmail: Executing "formail,-xSubject:" procmail: Assigning "LASTFOLDER=SUBJECT=peppe" procmail: Opening "SUBJECT=peppe" procmail: Acquiring kernel-lock >From numard@smartmedia.com.ar Sat Jul 18 05:16:53 1998 Subject: peppe Folder: SUBJECT=peppe 880 procmail: Notified comsat: "figlet@0:/var/mail/SUBJECT=peppe" ----- and in /var/mail there's a file called SUBJECT=peppe, with all the mail inside. Why is it doing it???? what am i doing wrong? TIA! -- Norberto Meijome (a) Numard, (a) Beto | ICQ # 15032073 * Contrary to popular belief, Unix is user friendly. It just happens to be very selective about who it decides to make friends with. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message