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

Reply via email to