On Tue, 2004-07-06 at 12:23, Tony Chang wrote:
> Hey Guys,
> 
> Thanks a lot for all the help.  I'm kind of running into a brain freeze
> here (not enough coffee).  I've deinstalled, and then re-installed
> clamav.  Everything looks fine, the right processes are started.  Is
> there a manual way of testing whether or not clamd and freshclam are
> working?  I'm on a secondary MX, and taking down the primary MX to test
> this isn't feasible.  I just need to verify that freshclam is indeed
> getting new definitions, and clamd is indeed checking files for viruses.

If you built it from source, there are some sample viruses on the test
subdirectory.  And EICAR is pretty easy to find on the web.

> 
> I've tried using mutt, both from command line and interactive mode.
> However, neither of my attempts show up in exim's mainlog, or clamd.log.

Telnet to the box on port 25, like so:
[EMAIL PROTECTED] telnet localhost 25
Trying 127.0.0.1...
Connected to localhost (127.0.0.1).
Escape character is '^]'.
220 mj.obfuscated.com ESMTP
helo mj.obfuscated.com
250 mj.obfuscated.com
mail from: <[EMAIL PROTECTED]>
250 Ok
rcpt to: <[EMAIL PROTECTED]>
250 Ok
data
354 End data with <CR><LF>.<CR><LF>
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Manual Test
 
$CEl... Your test virus here.
.
250 Ok: queued as B4256187515
quit
221 Bye
Connection closed by foreign host.

Then check your logs.

-- 
Daniel J McDonald <[EMAIL PROTECTED]>
Austin Energy



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to