On 28.04.23 12:11, Joey J wrote:
I haven't written many of these with Meta, but wanted to make sure how this
works.
If the meta FROM_TEST from FROM_TEST_EMAIL && FROM_TEST_IP is false, does
that mean the next line score will not be added/executed?
In my mind, I feel like (top down logic ) the score will happen all the
time.
Also, does this look like the right idea?
Thanks!!
header FROM_TEST_EMAIL From =~ /user@test\.com/i
header FROM_TEST_IP Received =~ /from 1\.2\.3\.4/i
meta FROM_TEST from FROM_TEST_EMAIL && FROM_TEST_IP
score FROM_TEST -1.0
giving negative score to any rule based on headers than can be faked is a
bad idea.
That's why I advised using X-Spam-Relays-Trusted header (maybe
X-Spam-Relays-Internal)
FROM_TEST_EMAIL and FROM_TEST_IP have both default positive score 1.0.
you should perhaps use __FROM_TEST_EMAIL and __FROM_TEST_IP instead
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Linux - It's now safe to turn on your computer.
Linux - Teraz mozete pocitac bez obav zapnut.