procmail
[Top] [All Lists]

Re: Debug of a procmail recipe

1998-08-15 11:45:58
Colin J. Raven wrote:
Hi folks!
In the never ending quest for perfect mail handling, I banged out the
following recipe:
---<snip>
:0c
*^From:hdskin(_at_)msn(_dot_)com

Make this

        *^From: hdskin(_at_)msn(_dot_)com
or
        *^From:(_dot_)*hdskin(_at_)msn(_dot_)com

The latter will catch both

        From: hdskin(_at_)msn(_dot_)com (Hans-Dieter Skin)
and
        From: Hans-Dieter Skin <hdskin(_at_)msn(_dot_)com>

and should be preferred.

!cjraven(_at_)quik(_dot_)com
:0A:
In.saved
---</snip>
and thought it was just nifty. I've made a mistake somewhere in that
recipe, and can't find it. I *think* my mistake is not leaving a space
between the colon after "From" and the sender's email address, but would
appreciate a confirmation that this mail is staying in my inbox and not
going anywahere for *that* reason.

The above mentioned recipy would only catch mail with beginning like this:

        From:hdskin(_at_)msn(_dot_)com
and
        From:hdskin(_at_)msn(_dot_)com (Hans-Dieter Skin)

Since there is a space normally, it won't catch your mail normally.

Regards,

        Joey

-- 
Install joe (Joey's Own Editor)     correct: Joe's Own Editor

<Prev in Thread] Current Thread [Next in Thread>