[Rspamd-Users] Postfix and rspamd - logging
G.W. Haywood
rspamd at jubileegroup.co.uk
Thu Aug 21 10:02:47 UTC 2025
Hi there,
On Thu, 21 Aug 2025, Lucas Rolff wrote:
>
>> On 21 Aug 2025, at 10:50, Tomasz Kaźmierczak via Users <users at lists.rspamd.com> wrote:
>> ...
>> is it possible to log information about sending and receiving
>> messages to rspamd – regardless of their status?
>> ...
> ...
> 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>"
> ...
The milter interface allows you to run several milters, effectively in
a chain.
If you can't get the logging you want from Postfix and/or rspamd, then
you could create a milter which does practically nothing except some
logging for the message, and which is called before rspamd is called.
Once you get the hang of it, installing a milter is straightforward.
--
73,
Ged.
More information about the Users
mailing list