Christian I have the same setup working on my outgoing box at the moment. Everything looks ok except my INPUT_MAIL_FILTER read INPUT_MAIL_FILTER(`clmilter',`S=local And yours reads INPUT_MAIL_FILTER(clmilter,S=local
I am not sure if this is significant I also start my clamav-milter as follows: /usr/local/sbin/clamav-milter -lo /var/run/clmilter.sock Below is my sendmail.mc include(`../m4/cf.m4') VERSIONID(`default setup for Slackware Linux')dnl OSTYPE(`linux')dnl dnl# These settings help protect against people verifying email addresses dnl# at your site in order to send you email that you probably don't want: define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl dnl# Uncomment the line below to send outgoing mail through an external server: dnl define(`SMART_HOST',`mailserver.example.com') dnl# No timeout for ident: define(`confTO_IDENT', `0')dnl FEATURE(`use_cw_file')dnl FEATURE(`use_ct_file')dnl FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl FEATURE(`access_db', `hash -T<TMPF> /etc/mail/access')dnl FEATURE(`blacklist_recipients')dnl FEATURE(`local_procmail',`',`procmail -t -Y -a $h -d $u')dnl FEATURE(`always_add_domain')dnl FEATURE(`redirect')dnl INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clmilter.sock,F=, T=S:4m;R:4m')dnl define(`confINPUT_MAIL_FILTERS', `clmilter') dnl# Turn this feature on if you don't always have DNS, or enjoy junk mail: dnl FEATURE(`accept_unresolvable_domains')dnl EXPOSED_USER(`root')dnl dnl# Also accept mail for localhost.localdomain: LOCAL_DOMAIN(`localhost.localdomain')dnl MAILER(local)dnl MAILER(smtp)dnl MAILER(procmail)dnl Evan -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Simon Christian Sent: Monday, October 04, 2004 7:32 AM To: [EMAIL PROTECTED] Subject: [Clamav-users] clamav-milter + sendmail won't talk to each other Hi all, I've been trying to get clamav-milter working with sendmail 8.13.1 on a linux box for a couple of days, but i continue to get the following error message in the system logs when sending email through it: Oct 4 16:13:04 localhost clamav-milter[16955]: recv failed from clamd getting PORT There are no error message when starting sendmail or clamav-milter. I start clamav-milter with the following command line: clamav-milter --max-children=2 --quiet -olb local:/temp/clmilter.sock /temp is a directory that the "clamav" user owns Here is a listing of my sendmail.mc file: **************************************************************************** ****** divert(-1) divert(0)dnl VERSIONID(`$Id: generic-linux.mc,v 8.1 1999/09/24 22:48:05 gshapiro Exp $') OSTYPE(linux)dnl DOMAIN(generic)dnl define(`DATABASE_MAP_TYPE', `hash') FEATURE(`virtusertable', `hash /etc/mail/virtusertable')dnl INPUT_MAIL_FILTER(clmilter,S=local:/temp/clmilter.sock,F=T, T=S:4m;R:4m)dnl define(`confINPUT_MAIL_FILTERS', `clmilter')dnl MAILER(local)dnl MAILER(smtp)dnl **************************************************************************** ******** The LocalSocket entry for clamd is as follows: LocalSocket /temp/clmilter.sock It would be much appreciated if someone could tell me what I'm doing wrong. Cheers, Simon _______________________________________________ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users _______________________________________________ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users