Bob via Postfix-users:
> As a further ramble headers_checks, a line in mine, looks like this
> 
> /ional.co.uk/ REJECT No Spam Please.
> 
> At the eame time that Postfix triggers on the match it must know the IP
> address that was associated with the trigger. Instead of the above...
> 
> /ional.co.uk/ REJECT No Spam Please. ACTION iptables -A INPUT -s "$i" -
> j DROP
> 
> No need for an external script.

Running commands as root from a Postfix daemon process?
Why didn't I think of doing that 25 years ago.

With Postfix, this is done by tailing the log and running tools
like fail2ban. Postfix handles mail, fail2ban runs commands.
It's a division of responsibilities.

        Wietse
, 
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to