Date: Sat, 18 Jul 1998 23:17:08 +1000 From: "Numard (Norberto Meijome)" <numard@smartmedia.com.ar> To: Linux Admin Mail List <linux-admin@vger.rutgers.edu>, FreeBSD Questions <freebsd-questions@FreeBSD.ORG> Subject: procmail rule?? Message-ID: <35B0A054.7F9AA38D@smartmedia.com.ar>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35B0A054.7F9AA38D>
