[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

How should this procmail-rule be to work?



Hi,

I have a problem with filtering with procmail.

Every morning I recieve this newsletter from a newspaper, but it always
ends up in my inbox, not in the folder i want to.

I have this rule in my procmail-resource:
:0:
* ^FROM_netavis
nyheder

The newsletters header from this mornings is:
=================================================================
>From netavis@kristeligt-dagblad.dk Fri Dec 02 07:28:19 2005
Return-path: <netavis@kristeligt-dagblad.dk>
Envelope-to: pastor@localhost
Delivery-date: Fri, 02 Dec 2005 07:28:19 +0100
Received: from localhost ([127.0.0.1] ident=pastor)
	by localhost.localdomain with esmtp (Exim 4.50)
	id 1Ei4P5-0008RX-1E
	for pastor@localhost; Fri, 02 Dec 2005 07:28:19 +0100
Received: from cp.danhost.dk [195.140.132.196]
	by localhost with IMAP (fetchmail-6.2.5.2)
	for pastor@localhost (single-drop); Fri, 02 Dec 2005 07:28:19 +0100 (CET)
Received: from [195.140.132.26] (helo=smtp.danhost.dk)
	by cpanel.danhost.dk with esmtp (Exim 4.60 (FreeBSD))
	(envelope-from <netavis@kristeligt-dagblad.dk>)
	id 1Ei4Kz-000Mlw-FH
	for pastor@hvam-hvilsom.dk; Fri, 02 Dec 2005 07:24:05 +0100
Received: from localhost (localhost [127.0.0.1])
	by smtp.danhost.dk (Postfix) with ESMTP id B2B381B632E
	for <pastor@hvam-hvilsom.dk>; Fri,  2 Dec 2005 07:23:59 +0100 (CET)
Received: from smtp.danhost.dk ([127.0.0.1])
 by localhost (ns1.dns-services.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 07954-02 for <pastor@hvam-hvilsom.dk>;
 Fri,  2 Dec 2005 07:23:59 +0100 (CET)
Received: from milkman.metropol.dk (milkman.metropol.dk [80.80.12.19])
	by smtp.danhost.dk (Postfix) with ESMTP id 523491B60D8
	for <pastor@hvam-hvilsom.dk>; Fri,  2 Dec 2005 07:23:59 +0100 (CET)
Received: from kristeligt-dagblad.dk (unknown [80.80.12.58])
	by milkman.metropol.dk (Postfix) with ESMTP id 45E2C140FF
	for <pastor@hvam-hvilsom.dk>; Fri,  2 Dec 2005 07:21:57 +0100 (CET)
Date: Fri, 02 Dec 2005 07:22:43 +0100
From: netavis@kristeligt-dagblad.dk
Subject: DR risikerer retssag for trusler mod kristne
To: pastor@hvam-hvilsom.dk
Sender: netavis@kristeligt-dagblad.dk
Reply-To: netavis@kristeligt-dagblad.dk
Precedence: list
Content-type: text/html
X-Bulkmail: 3.12
Message-Id: <20051202062157.45E2C140FF@milkman.metropol.dk>
X-Virus-Scanned: by amavisd-new at danhost.dk
Status: RO
Content-Length: 13517
Lines: 274
=================================================================

Can somebody suggest a procmail-rule, that will catch this newsletter.

All the other rules I have in my procmail-resource works perfect, so it
is only this rule, that is not working.

/Severino



Reply to: