[Rspamd-Users] How to mark this kind of mails as spam ...

Steve Witten caponecicero at gmail.com
Wed May 29 18:00:06 UTC 2024


There are no logical operations in the *postfix* *header_check *facilities
:-(

The way you'd have to do the AND operation you describe is with nested *if*
's:

if /some_regex/
>    if /other_regex/
>       # both conditions pass
>       #
>       REJECT
>    end
> end


You can do something similar for OR...consult your freshman Boolean algebra
text for exactly how ;-)

--
Steve Witten,
Portland, OR

On Wed, May 29, 2024 at 10:17 AM Tino Hendricks via Users <
users at lists.rspamd.com> wrote:

> Hi Steve,
>
> I do this for single header matches but wasn’t brave enough to dare this
> with an „AND“ condition. ;-)
>
> Tino
>


More information about the Users mailing list