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
|