At 12:40 96-03-11, Aaron D. Turner wrote:
I've been reading the procmailex man pages, and trying some "simple"
scripts out (mail forwarding and digest splitting) but the examples DON'T
WORK! I can't figure it out. Any ideas?
The examples work fine, but your recipies don't because you told them not to!
procmail: Assigning "FORMAIL=/u1/hal/pm/bin/formail"
WARNING (Netcom specific): I'm surprised you're linking my private
copies of formail and procmail. (I didn't even know I had them world
readable.) I make no gaurantees that those copies will remain stable
or available. You'd be safer to link the nuglops versions.
procmail: No match on
"^FROM(_dot_)*tp(_dot_)elan(_at_)ix(_dot_)netcom(_dot_)com"
procmail: Skipped "A"
procmail: No match on "INBOX-Tina"
:2 c
* ^FROM(_dot_)*tp(_dot_)elan(_at_)ix(_dot_)netcom(_dot_)com
! aaron(_dot_)turner(_at_)sset(_dot_)com
If you're using a newer version of procmail, that allows the '*'
condition prefix, then don't put a non-zero count on the line. That
will prevent the error you have of telling it you have 2 conditions,
when in fact you have one and a (never executed) forward command.
That's what's wrong:
procmail: Match on "^FROM(_dot_)*Aaron(_dot_)Turner(_at_)sset(_dot_)com"
procmail: No match on ! "aaron(_dot_)turner(_at_)sset(_dot_)com"
procmail: Incomplete recipeprocmail: Assigning
"LOCKFILE=/u4/aturner/.mailbox/inbox.lock"
:2 c
* ^FROM(_dot_)*Aaron(_dot_)Turner(_at_)sset(_dot_)com
! aaron(_dot_)turner(_at_)sset(_dot_)com
See, procmail told you it was trying to match your forward line.
Change the above recipies to use ':0', as in:
:2 c
* ^FROM(_dot_)*Aaron(_dot_)Turner(_at_)sset(_dot_)com
! aaron(_dot_)turner(_at_)sset(_dot_)com
--Hal
Hal Wine <hal(_at_)dtor(_dot_)com> voice: 510/482-0597