[Rspamd-Users] Custom module question
Aban Dokht
mlist at abando.de
Fri Mar 25 10:53:03 UTC 2022
Hello all,
I need some help for writing an custom module for logging.
Sadly I not very familiar with LUA.
Here's (in pseudo code), what I want to implement for every mail passing rspamd:
if score > 8 then {
/path/to/script1.sh ${sender} ${recipient} ${IP} ${score}
}
if score < -4 then {
/path/to/script2.sh ${sender} ${recipient} ${IP} ${score}
}
Any idea or example on how to to accomplish this?
Regards
Aban
--
Aban Dokht aban.dokht at abando.de
------------------------------------------------------------------
More information about the Users
mailing list