[Rspamd-Users] Rejecting messages at DATA stage

Srikrishnan Chitoor jvenkat74 at yahoo.com
Sun Jun 5 16:03:57 UTC 2022


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.

 


More information about the Users mailing list