[Rspamd-Users] Rejecting messages at DATA stage

Vsevolod Stakhov vsevolod at rspamd.com
Sun Jun 5 16:12:07 UTC 2022


On 05/06/2022 17:03, Srikrishnan Chitoor via Users wrote:
> Hi:
>    We are using Postfix + rspamd using milter protocol as suggested in the documentation. Emails are getting rejected, but after the full email has been sent.
>   We want to do the following:
>   1. Check the connecting IP (after the MAIL FROM:, RCPT TO: stage)
>   2. See if the IP (or) Envelope From is in a local blacklist.
>   3. If so, reject connection immediately, instead of waiting for waiting for end of "DATA" command
>   How can we achieve this using rspamd?
> Thanks,-Krishnan.

You cannot do it with Rspamd as it is pretty useless nowadays for many 
reasons.

Rejecting before starttls makes more sense but it is way more dangerous 
in terms of FP and it is also not implemented in Rspamd.


More information about the Users mailing list