[Rspamd-Users] How to reject email subject/body message?

Stanislav me at rooty.name
Fri Oct 20 20:22:02 UTC 2023


Hi,

Thanks Tino! This is was my plan "b" :)

Best

> Hi!
> 
> I know It’s a rspamd mailing list but with just regex matching
> against header/body I’d simply do this in the MTA, e.g. postfix:
> 
> https://www.postfix.org/header_checks.5.html
> 
> Tino
> 
>> Am 20.10.2023 um 21:59 schrieb Stanislav via Users
>> <users at lists.rspamd.com>:
> 
>> Thanks!
>> 
>> So, just to confirm my thought-  at the moment, Rspamd doesn't have
>> any configuration-based approach to achieve my goals, so as a
>> result, I must write my own Lua script and plug it into the regexp
>> module. Sounds about right?
>> 
>> Best
>> 
>>> See:
>> 
>>> https://rspamd.com/doc/modules/regexp.html
>> 
>>> -- sw
>> 
>>> On Fri, Oct 20, 2023 at 11:48 AM Stanislav via Users
>>> <users at lists.rspamd.com>
>> 
>>> wrote:
>> Greetings,
> 
>>> I'm relatively new to spam filtering systems.
> 
>>> Could somebody please point me to the documentation or give an
>>> example
> 
>>> of how to perform the following actions:
> 
>>> - Reject an email with specific text in a body message.
> 
>>> - Reject an email with specific text in a subject.
> 
>>> Thanks a lot
> 
>>> --
> 
>>> Users mailing list
> 
>>> Users at lists.rspamd.com
> 
>>> https://lists.rspamd.com/mailman/listinfo/users
>  --
> Users mailing list
> Users at lists.rspamd.com
> https://lists.rspamd.com/mailman/listinfo/users


More information about the Users mailing list