Tuesday, July 02, 2019

Passing %A to spamd.conf exec method

Hi,

I'm testing a script for spamd's exec method. In order for the script to work, it needs the IP address from spamd.

I tried passing %A to it but that doesn't seem to work:

module:\
:black:\
:msg="Your address %A was found in module\n\
See blah for details":\
:method=exec:\
:file=/home/user/module/module.py %A:

But this doesn't seem to be working as nothing is being blocked by this, even though nixspam includes the same IP in its list. I have list order set to:

:module:nixspam:

Is there a way to do what I described above?

~ Tom

No comments:

Post a Comment