Thanks for all helpful replies regarding writing the header rule!
You are very right Karsten in what was the issue!
header FROM_EXAMPLE_COM Received =~ /from mail3\.example\.com/i
The ? mark was the issue, I replaced that with a . and now things works much
better.
Greets,
Chris
On 10/
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
Kind regards,
Chr