1

Topic: Block certain names in "From"-header field

Hello!

I'm wondering if it's possible to make a header-check for the "From"-field? Using postfix' header_checks doesn't work for the "From:"-field since it's added by cleanup. My problem is getting spam emails with "Levitra", "Cialis" and "Viagra" in the "From:"-field.

This didn't work: (header_check)
/^From: *Levitra*/i                             REJECT Spam. (5)

Is there any way to make amavis/spamassassin check the from-field?

Thanks in advance!