Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: Received from rule?

From: Adam Lanier <adam(at)krusty.madoff.com>
Date: Wed Oct 24 2007 - 12:09:02 EDT


On Wed, 2007-10-24 at 17:54 +0200, Christian Nygaard wrote:
> How do I write a local spamassassin rule that matches received from
> header mail?.example.com . I've tried
> writing a header matching rule but it doesnt seem to work. Can you
> show a short example
> of a working header matching rule for received from?
>
> Received: from mail3.example.com

header MADF_T2MR3 Received =~ /t2mr3\.com/i

or if you wanted to match the literal 'from' as well:

header FROM_EXAMPLE_COM Received =~ /from mail3\.example\.com/i Received on Wed Oct 24 12:09:55 2007

This archive was generated by hypermail 2.1.8 : Mon Jul 07 2008 - 16:15:59 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library