Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: smeerbartje on February 13, 2009, 10:12:14 AM
-
I am very happy with the Denyhosts (http://wiki.contribs.org/Denyhosts) tool. The wiki page provides a lot of information about installing/maintaining denyhosts. But there is one thing I miss: I want to disable the sending of emails when a host has been blocked.
The wiki page only provides information about changing the email address, but not about disabling emailing. Can anyone tell me how to disable those emails?
-
Edit the config file from denyhosts:
/etc/denyhosts.conf
change the line:
ADMIN_EMAIL = admin@localhost
to
ADMIN_EMAIL =
yythoss
-
Thanks, it's not that when I insert NULL as email address, the smtp server still will be requested to send an email? In other words: it is not necessary to set a parameter like "send admin mail" to false or something?
-
I have this information from the Homepage of Denyhosts.
yythoss
-
I have this information from the Homepage of Denyhosts.
yythoss
Again, thanks! :D
-
After changing the config file (/etc/denyhosts.conf) indeed the emails stopped. But after rebooting the server, it all started over again. What can I do to make it permanent?
-
Although I haven't checked, the file referenced is probably populated from a template - so you would need to create a custom template that eliminated this value.