[Rspamd-Users] Postfix and rspamd - logging

Tomasz Kaźmierczak tkazmierczak at man.poznan.pl
Thu Aug 21 08:50:11 UTC 2025


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



More information about the Users mailing list