If that's all you want to do, you don't need procmail at all. Just
put your helium address in your .forward file.
The problem you are having with your .procmailrc file is with the "c"
flags. They tell procmail to continue processing the file even though
the mail has been delivered. Eliminate the "c" from the first recipe,
and you don't need the second recipe at all.
Mike
Chuck Campbell writes:
I have set up a simple recipe that I thought would do what I wanted, which is
to copy all incoming email to another machine, and then can the email.
The frist part seems to work fine, but I keep getting copies of the email
piling up (and subsequently filling my disk space, and causing email to
then get bounced).
Is this not the right way to accomplish this? Is there a better way?
Here is the .procmailrc
SHELL=/bin/sh
PATH=$HOME/bin:/bin:/usr/bin:/usr/local/bin:/usr/contrib/bin:.
MAILDIR=$HOME/Mail # You'd better make sure it exists
DEFAULT=$MAILDIR/inbox
LOGFILE=$MAILDIR/procmail_log
LOCKFILE=$HOME/.lockmail
LOCKEXT=.lock
LINEBUF=20000
#
# copy all mail to helium
#
:0 c
! myname(_at_)[xxx(_dot_)xxx(_dot_)xxx(_dot_)xxx]
#
# can it all after forwarding
#
:0 c
/dev/null
thanks,
-chuck
--
ACCEL Services, Inc.| Specialists in Gravity, Magnetics | 1(713)993-0671 ph.
1980 Post Oak Blvd. | and Integrated Interpretation | 1(713)960-1157 fax
Suite 2050 | |
Houston, TX, 77056 | Chuck Campbell |
campbell(_at_)neosoft(_dot_)com
| President & Senior Geoscientist |
"Integration means more than having all the maps at the same scale!"