procmail
[Top] [All Lists]

Re: Problem mit Procmail

1998-09-25 07:05:34
On Fri, 25 Sep 1998 03:32:27 -0700 (PDT), Dallman Ross
<dman(_at_)netcom(_dot_)com> wrote:
From: Wolf Christian Vogt <vogt(_at_)fgan(_dot_)de>
:0 c
! uzsvw7(_at_)ibm(_dot_)rhrz(_dot_)uni-bonn(_dot_)de
The reason this doesn't work is that you didn't include an action line.

Huh? Sure he does. That one would have to have a * before it to be
regarded as a condition. (Presumably you might have been unaware that
the condition lines are completely optional.)

You're saying "(a) clone the mail; (b) if it's not from uzsvw7 then do
something"; but you're not saying what to do.

If that one had said, 

    :0c
    * ! uzsvw7(_at_)ibm(_dot_)rhrz(_dot_)uni-bonn(_dot_)de
    something

it would have meant, (b) if any of the headers match the string
(optionally) anything, followed by "uzsvw7(_at_)ibm", followed by an
arbitrary character, followed by "rhrz", followed by an arbitrary
character, followed by "uni-bonn", followed by an arbitrary character,
followed by "de", optionally followed by anything, then ... But that
is not the case, the recipe is perfectly correct and you'd have to
look elsewhere for explanations. 

I suggested in private to look at the definition for SENDMAIL and
whether that points to a good, existing program which exists on the
host where processing takes place, but without a log file, it's pretty
meaningless to speculate about what might be going on here.

|/usr/local/bin/procmail
Is that what you have in your .forward?  You probably want to look at
the notes on .forward in man procmail.

Some systems actually require the .forward to look like that. The
Filtering Mail FAQ has some additional suggestions, but the local
documentation should be assumed to be correct until you have strong
reason to believe otherwise (such as when mail is processed on a host
of a different architecture than the one you're on).

/* era */

-- 
Bot Bait: It shouldn't even matter whether  (`')  Just  (`')  http://www.iki
I am a resident of the State of Washington   \/ Married! \/   .fi/~era/

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