Regards pals,
I'v got few installation of perfect DenyHosts Most of them are on SuSE machines.
One of them just stoped to send my warings - There is No updates, no upgrades, nor even changes.
The conf is herewith:
 
SECURE_LOG = /var/log/messages
HOSTS_DENY = /etc/hosts.deny
PURGE_DENY = 5d
BLOCK_SERVICE = ALL
DENY_THRESHOLD_INVALID = 2
DENY_THRESHOLD_VALID = 5
DENY_THRESHOLD_ROOT = 1
DENY_THRESHOLD_RESTRICTED = 1
WORK_DIR = /etc/denyhosts
SUSPICIOUS_LOGIN_REPORT_ALLOWED_HOSTS=YES
HOSTNAME_LOOKUP=YES
LOCK_FILE = /var/run/denyhosts.pid
ADMIN_EMAIL = r...@localhost
SMTP_HOST = localhost
SMTP_PORT = 25
SMTP_FROM = DenyHosts MX2 [email protected]
SMTP_SUBJECT = DenyHosts Report MX2
SYSLOG_REPORT=YES
ALLOWED_HOSTS_HOSTNAME_LOOKUP=YES
AGE_RESET_VALID=5d
AGE_RESET_ROOT=25d
AGE_RESET_RESTRICTED=25d
AGE_RESET_INVALID=10d
DAEMON_LOG = /var/log/denyhosts
 
DAEMON_SLEEP = 10s
DAEMON_PURGE = 1h
SYNC_SERVER = http://xmlrpc.denyhosts.net:9911
SYNC_INTERVAL = 1h
SYNC_DOWNLOAD = yes
 
I'v read email bout testing emails within python console:
 
$ python

#### in the interpreter enter:

import DenyHosts.prefs
import DenyHosts.util
prefs = DenyHosts.prefs.Prefs("denyhosts.cfg")
DenyHosts.util.send_email(prefs, "testing")

So this produce an error:
 
Error sending email
(-2, 'Name or service not known')
Email message follows:
From: DenyHosts MX2 <[email protected]
To: top...@localhost
Subject: DenyHosts Report MX2
Date: Fri, 12 Mar 2010 18:46:31 +0200
 
testing
 
When do mail sending with telnet no problems at all.
 
Thanks in advance for any advice.


OPTIX Co. Disclaimer ISO 27001:2005 [ F1 ]
This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately.

OPTIX Co. is an industry leader in the field of optics, opto-mechanical devices and opto-electronic systems. We provide the most comprehensive solutions of custom designs for both civil and defense application.



------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Denyhosts-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/denyhosts-user

Reply via email to