Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: Received from rule?

From: Mr. Gus <mrgus(at)disco-zombie.net>
Date: Wed Oct 24 2007 - 12:09:47 EDT


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 <http://mail3.example.com>

Something like

header HappyRuleName Received =~ /mail\d\.example\.com/i

or

header HappyRuleName Received =~ /^from mail\d+\.example\.com/i

?

-- 
Gus
Received on Wed Oct 24 12:10:47 2007

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


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