Date: Thu, 4 Aug 2005 08:44:17 +0200 From: Martin Welk <mw@theatre.sax.de> To: Denny White <dennyboy@cableone.net> Cc: NKoch@demig.de, freebsd-questions@freebsd.org Subject: Re: antivir-milter question Message-ID: <20050804064417.GA97899@theatre.sax.de> In-Reply-To: <20050803203002.B709@dualman.cableone.net> References: <20050803085535.N85321@dualman.cableone.net> <20050803211223.GB97146@theatre.sax.de> <20050803203002.B709@dualman.cableone.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Good morning,
on Wed, Aug 03, 2005 at 08:41:53PM -0500, Denny White wrote:
> I had read where I needed to edit sendmail.mc but couldn't find
> it. Then read the equivalent mc file for freebsd I needed to edit
> was /etc/mail/freebsd.mc to which I added:
>
> INPUT_MAIL_FILTER(
> `antivir-milter',
> `S=unix:/var/spool/avmilter/avmilter.sock, F=T, T=S:10m;R:10m;E:10m'
> )dnl
>
> Then I did a `make install' to rebuild, what I thought, was
> sendmail.cf, but it's looking like I was way off beam. Here's
> what's in /var/mail/maillog:
(...)
I looks like your avmilter never gets used. Please have a look at your
/etc/make.conf. This might include a line stating what sendmail mc file
to use for generating your individual sendmail.cf:
SENDMAIL_MC=/etc/mail/theatre.sax.de.mc
Than, the corresponding line in /etc/mail/theatre.sax.de.mc is:
INPUT_MAIL_FILTER(`avmilter',`S=inet:3333@localhost,F=R,T=S:10m;R:10m;E:10m')
This is exactly from the antivir-milter documentation, and the only thing I
did afterwards was
make
make install
make restart
Since than, it's just working. Of course, I've set up a start script in
/usr/local/etc/rc.d that enables avmilter at system startup. Do you
probably have some older version? Mine is using sockets, not a pipe.
Does your avmilter listen on some port? (Mine is using default, 3333.)
Regards,
Martin
--
,,Oh, there's a lot of opportunities, if you're knowing to take them,
you know, there's a lot of opportunities, if there aren't
you can make them, make or break them!'' (Tennant/Lowe)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050804064417.GA97899>
