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

G.W. Haywood rspamd at jubileegroup.co.uk
Wed May 29 09:47:05 UTC 2024


Hi there,

On Tue, 28 May 2024, Steve Witten wrote:
> On Tue, May 28, 2024 at 9:48 AM Steve Witten <caponecicero at gmail.com> wrote:
>
>> The way I would do this is write a rule using the Lua API.
>> ...
>
> If your mail delivery agent supports *sieve* (*e.g., dovecot*), you could
> do the same thing using the *sieve* language and place the resulting filter
> in the message delivery pipeline.  You can DISCARD the message if it meets
> the criteria your *sieve* script is looking for.
>
> You won't need to learn Lua but I find sieve much more obtuse and much more
> limiting.  It's up to you...

Generally speaking I prefer to REJECT mail using SMTP at the server,
rather than wait until the delivery stage when the server has ACCEPTed
it, because the ACCEPT gives the impression that the spammed recipient
address is valid.  Of course this assumes that the recipient address
is not one of my (thousands of) spam traps - in which case normally I
would TEMPFAIL it indefinitely instead. }:-)

-- 

73,
Ged.


More information about the Users mailing list