Interesting People mailing list archives

What am I doing wrong Unix question


From: Dave Farber <dave () farber net>
Date: Wed, 01 Jan 2003 16:03:14 -0500

I am trying to set up a .forward file to both process my mail via procmail
and to use the unix vacation feature for notifying people of a trip.

I use the following .forward

"|exec /usr/local/bin/procmail", "|/usr/local/bin/vacation farber"

And the following .procmailrc

MAILDIR=$HOME/mail
LOGFILE=procmail.log

#
# Procmail recepie to forward farber mail to pager...
#
# This rule runs spamassassin, tagging any mail that looks like spam.
# The "f" considers the pipe as a filter
# The "w" waits for the filter to exit
# The following line looks for the flag that spamassassin creates
# and puts things into the imap 0-spam box
:0fw
| /home/farber/perl/bin/spamassassin -P
:0:
* ^X-Spam-Status: Yes
in/0-spam

# This rule matches anything with farber in the To or CC
# and forwards it to the address after the "!".
#
# Note that procmail is not case sensetive by default
:0
* ^(To|Cc):.*farber
{
        :0 c
        !farber () pager com

        :0
        $DEFAULT
}

So the procmail works fine but no vacation notices

Any ideas?

-------------------------------------
You are subscribed as interesting-people () lists elistx com
To unsubscribe or update your address, click
  http://v2.listbox.com/member/?listname=ip

Archives at: http://www.interesting-people.org/archives/interesting-people/


Current thread: