RT_ACTION perm block action

1 post Page 1 of 1
DjordjeB
Junior Member
Posts: 1
Joined: 15 May 2018, 12:25


Hello, i setup RT_RELAY_ALERT,RT_AUTHRELAY_ALERT, RT_POPRELAY_ALERT, RT_LOCALRELAY_ALERT,RT_LOCALHOSTRELAY_ALERT
i want to trigger perm block for all of this
Code: Select all
If an RT_* event is triggered, then if the following contains the path to
a script, it will be run in a child process and passed the following:
information as parameters which also appears in the email alert:
IP Address
Relay Type (RELAY/AUTHRELAY/POPRELAY/LOCALRELAY/LOCALHOSTRELAY)
Block Message (Temporary/Permanent Block)
Count of emails relayed
Sample of the first 10 emails

The action script must have the execute bit and interpreter (shebang) set
where i need to put bash script for this action?
anyone have any bash script to permanent block user for any trigger?
1 post Page 1 of 1