On 24-Feb-10 16:15, René Berber wrote:
> LuKreme wrote:
>
>> On 23-Feb-10 18:07, LuKreme wrote:
>>> I have DenyHosts setup and its working quite well, but I never get
>>> reports emailed to me. I have
>>>
>>> ADMIN_EMAIL = [email protected]
>>> SMTP_HOST = localhost
>>> SMTP_PORT = 25
>>> SMTP_FROM = DenyHosts <[email protected]>
>>> SMTP_SUBJECT = DenyHosts Report
>>>
>>> and I get lots of [email protected] email, but not from DenyHosts
>>>
>>> Checking postfix logs I see no evidence that any attempt to send an
>>> email was ever made, and I don't see anything in the denyhosts log
>>> itself.
>>
>> No one?
>
> Seems that you missed Phil's reply.

Sure did. I still don't see it, in fact.

Hmm.. That's very odd. It's not in this folder at all, but when I search 
I was able to find it. I wonder where it is.


On 24-Feb-2010, at 00:15, Phil Schwartz wrote:

 > Are you sure the localhost accepts mail on port 25?  FWIW, I get 
reports from several of my servers so I know it works.  To test:
 >
 > $ telnet localhost 25

Yep, that definitely works.

 > if it gets refused, that's the problem.  Otherwise, not sure.  Does 
you smtp server require login credentials?

Certainly not for receiving mail to local accounts.

  $ telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mail.example.com ESMTP Postfix 2.6.5
HELO example.com
250 mail.example.com
MAIL FROM: [email protected]
250 2.1.0 Ok
RCPT TO: [email protected]
250 2.1.5 Ok
DATA
354 End data with <CR><LF>.<CR><LF>
This is a test

this is only a test
.
250 2.0.0 Ok: queued as 07C13118B788
quit
221 2.0.0 Bye
Connection closed by foreign host.

And sure enough, I have the test message in my mailbox in seconds.

-- 
NERVE GAS IS NOT A TOY
        Bart chalkboard Ep. 2F32

------------------------------------------------------------------------------
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