Re: [Clamav-users] Sendmail pukes (more info)

2004-06-21 Thread Craig Green
Nigel Horne wrote:
Are you running clamd with INET or UNIX domain sockets? If the former
try telneting to clamd and see if it talks.
 

If he's using FreeBSD, he can also telnet to a Unix socket with 'telnet 
-u /path/to/socket':

-
cgreen:VMail1:/home/cgreen# telnet -u /var/run/clamav/clamd
Trying /var/run/clamav/clamd...
No connection.
Escape character is '^]'.
PING
PONG
Connection closed by foreign host.
cgreen:VMail1:/home/cgreen#
-
However, it's probably easier to just try using clamdscan to pass files 
to clamd for scanning and see if it works. ;-)

If clamdscan works, as a suggestion for an alternate setup he could try 
using MIMEDefang (www.mimedefang.org).  It's a milter that supports 
clamd by calling clamdscan, and integrates Spamassassin 
checking/tagging.  If you know Perl, it also lets you mangle--err, 
filter--email with custom Perl filters, too.  It's available in ports 
(/usr/ports/mail/mimedefang).

Note that I've only used it on 4.x servers.  I don't see why it wouldn't 
work on 5.x, but YMMV.

Regards,
Craig.
--
---
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


RE: [Clamav-users] Sendmail pukes (more info)

2004-06-19 Thread Nigel Horne
 A list member suggested running clamd as root (temporarily, of course). 
 Sendmail no longer complains. I'm getting the following error now...
 
 clamav-milter[17693]: Expected port information from clamd, got ''
 sm-mta[17703]: i5J2IuTg017703: Milter: data, reject=451 4.7.1 Please try
again later

Are you running clamd with INET or UNIX domain sockets? If the former
try telneting to clamd and see if it talks.

 Scott



---
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] Sendmail pukes (more info)

2004-06-19 Thread Scott Rothgaber
On Sat, 19 Jun 2004 11:22:33 +0100 Nigel Horne 
[EMAIL PROTECTED] wrote:

 A list member suggested running clamd as root 
(temporarily, of course). 
 Sendmail no longer complains. I'm getting the following 
error now...
 
 clamav-milter[17693]: Expected port information from 
clamd, got ''
 sm-mta[17703]: i5J2IuTg017703: Milter: data, reject=451 
4.7.1 Please try
again later

Are you running clamd with INET or UNIX domain sockets? 
If the former
try telneting to clamd and see if it talks.
Local socket.
---
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users