On Tue, Jul 02, 2019 at 10:43:47PM -0700, Thomas Smith wrote:

> 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
> 

The exec method is used to retrieve a list of addresses using a
program. This program is excuted once in a while. It is not executed
for every message.

The address being blocked is used to generate a message to show to the
spammer. A different thing.

        -Otto

Reply via email to