[Rspamd-Users] Hybrid Setup Pre and Post-queue filtering with Postfix

L. Jankok ljankok at gmail.com
Sun Dec 1 07:39:20 UTC 2024


Excellent, thank you :D

Op zo 1 dec 2024 om 05:02 schreef Gerald Galster <list+rspamd at gcore.biz>:

>
> > If I setup milter (pre-queue) and content filter (post-queue) on postfix
> > for rspamd
>
> Don't do that. The preferred way is milter with pre-queue as rspamd is
> very fast. It's very unlikely a message's classification will change
> in the fraction of a second between pre- and post-queue.
>
> > , I get only the milter part (pre-queue) working because it
>
> That is all you need.
>
> > appears that rspamd is ignoring  the file worker-proxy-postqueue.inc (no
> > socket is created for localhost:11337) with the following content
> >
> > bind_socket = "127.0.0.1:11337"; # Proxy worker listens for SMTP
> connections
>
> No.                                               ^^^^^^^^^^^^^^^^
>
> > milter = false;                                 # Disable Milter protocol
>
> This enables rspamd's http protocol which is not compatible with postfix.
>
> Maybe you should read up on how milter works. It's not a server that you
> deliver an email, that is processed and then reinjected on another local
> postfix port. It is more like a conversation on a single connection with
> postfix where milter has access to every smtp stage and can accept, block,
> ignore or modify data while in transit.
>
> Best regards,
> Gerald
> --
> Users mailing list
> Users at lists.rspamd.com
> https://lists.rspamd.com/mailman/listinfo/users
>


More information about the Users mailing list