[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [interesting-people Home]
Subject: [IP] What am I doing wrong Unix question
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?
-------------------------------------
To unsubscribe or update your address, click
http://v2.listbox.com/member/?listname=ip
Archives at: http://www.interesting-people.org/archives/interesting-people/
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [interesting-people Home]
Powered by eList eXpress LLC