From: Phil S. <phi...@us...> - 2010-02-27 00:41:11
|
The test email uses the same api and prefs so if that worked then DH should be able to send reports in the same fashion. If it's unable to do so, you should see errors in the denyhosts.log. Also, you might want to put DH in debug mode (/etc/init.d/denyhosts debug). If it detects a new host you'll see the "new denied hosts" info message followed by a debug message stating it sent email (see below). Feb 20 - denyhosts: INFO new denied hosts: ['aaa.bbb.ccc.ddd'] Feb 20 - denyhosts: DEBUG no new suspicious logins Feb 20 - util : DEBUG sent email to: fo...@ba... Phil On Fri, 26 Feb 2010, LuKreme wrote: > On 26-Feb-10 10:42, Phil Schwartz wrote: >> Most of the sync errors were from the last 2 weeks when I was updating the >> server, etc... > > Anything that I can do to track down this lack of reports then? > > Is there a way for me to force denyhosts to actually send a real report > (as opposed to the test) or something I can do that would trigger a > report? Any obvious debugging step I've missed? > > For reference, the settings are: > > ADMIN_EMAIL = ad...@ex... > SMTP_HOST = localhost > SMTP_PORT = 25 > SMTP_FROM = den...@ex... > SMTP_SUBJECT = DenyHosts Report > > > |