[Rspamd-Users] Postfix and rspamd - logging
Lucas Rolff
lucas at lucasrolff.com
Thu Aug 21 09:15:18 UTC 2025
I don't believe you can increase the log level of milter actions in Postfix, and thus successful milter requests won't really be logged as such. Curious about the use-case though.
You can however tie your rspamd logs to the postfix log, since rspamd will log the queue ID from Postfix as a part of its result log line in the logs eg: "qid: <91F9E3F272>"
> On 21 Aug 2025, at 10:50, Tomasz Kaźmierczak via Users <users at lists.rspamd.com> wrote:
>
> Hi,
>
> I have configured Postfix + rspamd – everything works fine.
>
>
> My question concerns logging in Postfix:
>
> is it possible to log information about sending and receiving messages to rspamd – regardless of their status?
>
>
> The default configuration only reports rejections:
>
> 2025-08-18T09:37:31.997804+02:00 mail-host postfix/cleanup[595229]: EC975C69388: milter-reject: END-OF-MESSAGE from unknown[X.X.X.X]: 4.7.1 Try again later; from=<spamer at spamer.com> to=<user at example.com> proto=ESMTP helo=<[X.X.X.X]>
> ...
> 2025-08-19T08:16:57.283511+02:00 mail-host postfix/cleanup[621214]: 3B925C5121F: milter-reject: END-OF-MESSAGE from unknown[X.X.X.X]: 5.7.1 Spam message rejected; from=<spamer at spamer.com> to=<user at example.com> proto=ESMTP helo=<[X.X.X.X]>
> ...
>
> but there is no information about successful messages.
>
>
> Configuration in Postfix:
>
> smtpd_milters=inet:rspamd-local.lan:11332
>
>
> Maybe someone else needs this information and has a solution for it.
>
>
> Thanks,
>
> Tomek
>
> --
> Users mailing list
> Users at lists.rspamd.com
> https://lists.rspamd.com/mailman/listinfo/users
More information about the Users
mailing list