Michele Cerioni writes:
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
[...]
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
^^^^^^^^^^^^
I think it matches here. Check out the FROM_DAEMON regexp in procmailrc(5) ;-)
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail