Email sending from

Email sending from

I setup blocking BFM from DirectAmin with CSF and everything is working fine.

However I would like to see that script only send mails when an IP is really blocked. Not if it is already blocked by CSF. This gives me a lot of mails which I am not as much interressed as in the first time an IP will be blocked.

I guess a nice solution could be to change the script with some different exit codes based on the action performed. However I can not figure out how to use that exit code in

Another approach would be to send the mails from and make obsolete, however this seems not flexible to me.:rolleyes:

Please your thoughts and maybe a hint how to use exit codes from in

Comments are closed.