At 11:30 AM 4/1/99 +0000, Azfar Kazmi wrote:
Okay. Let's work on recipes:
If a recipe in global procmailrc says:
:0
{
:0 c
! boss(_at_)mydomain(_dot_)com
}
and a local recipe for a user [says myself] says:
:0
* !^From:.*ajordomo
* !^From:.*myself
* !^From:.*Automatic*
{
:0 c
! boss(_at_)mydomain(_dot_)com
}
then, will a copy of a mail from Majordomo and received by user myself be
sent to boss(_at_)mydomain(_dot_)com?
What I want is that, then, it should not, means that local recipe
suppresses the global one.
Not quite what you asked for, but could you have the global recipe
set a variable, say, FORWARDED_TO_BOSS=yes, and then your local
recipes could test for it such as:
:0c
* !^From:.*ajordomo
* !^From:.*myself
* !^From:.*Automatic*
* ! FORWARDED_TO_BOSS ?? ^^yes^^
! boss(_at_)mydomain(_dot_)com
(note, I've removed what I think is an unneeded nesting block)?
Just a thought,
Stan