This is my recipe.
:0 c
* $ ^To: .*(${OWNER1}|${OWNER2})
* ! ^FROM_DAEMON
......
If I send a normal email from my account procmail doesn't match on
* ! ^FROM_DAEMON
This is the log:
procmail: Match on "^To:
.*(mitech(_at_)ptnet(_dot_)it|michele(_dot_)tech(_at_)ptnet(_dot_)it)"
procmail: No match on !
"(^(Mailing-List:|Precedence:.*(junk|bulk|list)|To: Multiple recipients
of |(((Resent-)?(From|Sender)|X-Envelope-From):|>?From
)([^>]*[^((_dot_)%(_at_)a-z0-9])?(Post(ma?(st(e?r)?|n)|office)|(send)?Mail(er)?|daemon|m(mdf|ajordomo)|n?uucp|LIST(SERV|proc)|NETSERV|o(wner|ps)|r(e(quest|sponse)|oot)|b(ounce|bs\.smtp)|echo|mirror|s(erv(ices?|er)|mtp(error)?|ystem)|A(dmin(istrator)?|MMGR|utoanswer))(([^).!:a-z0-9][-_a-z0-9]*)?[%@>
][^<)]*(\(.*\).*)?)?$([^>]|$)))"
procmail: Locking "/var/spool/mail/mitech.lock"
and this is the mail I send to address michele(_dot_)tech(_at_)ptnet(_dot_)it
from my
address michele(_at_)ptnet(_dot_)it:
From michele(_at_)ptnet(_dot_)it Tue Apr 3 14:47:02 2001
Return-Path: <michele(_at_)ptnet(_dot_)it>
Received: from ptnet.it (pingus.ptnet.it [194.243.125.11])
by david.ptnet.it (8.10.2/8.9.1) with ESMTP id f33El2s16759
for <michele(_dot_)tech(_at_)ptnet(_dot_)it>; Tue, 3 Apr 2001 14:47:02
GMT
Sender: root(_at_)david(_dot_)ptnet(_dot_)it
Message-ID: <3AC9E20B(_dot_)2DBFC1E2(_at_)ptnet(_dot_)it>
Date: Tue, 03 Apr 2001 14:45:31 +0000
From: Michele Cerioni <michele(_at_)ptnet(_dot_)it>
X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.16 i586)
X-Accept-Language: it, en
MIME-Version: 1.0
To: michele(_dot_)tech(_at_)ptnet(_dot_)it
Subject: www
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
wwww
Can anyone help me?
Michele
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail