OK, I have it so mail doesn't die and amavis is invoked, but it still does
not work.
Sep 19 18:35:45 fuggle amavisd[27719]: Virus scanner failure: Clamd - can't
connect to daemon
Yet ps shows:
26627 ? S 0:00 /usr/sbin/clamd
26632 ? S 0:00 /usr/sbin/clamd
26633 ? S 0:00 /usr/sbin/clamd
When I check which ports are open, I see nothing that indicates clamd is
listening on any of them. So close yet so far.
Tom Veldhouse
----- Original Message -----
From: "Thomas T. Veldhouse" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 19, 2003 6:13 PM
Subject: Re: [gentoo-user] Simple HOWTO for ClamAntivirus?
> Per /usr/share/doc/amavis/README.postfix.gz, I setup postfix.
>
> Here is what I have in main.cf:
>
> content_filter = vscan
>
> And in master.cf:
>
> vscan unix - n n - 10 pipe user=amavis
> argv=/usr/sbin/amavis ${sender} ${recipient}
> localhost:10025 inet n - n - - smtpd -o content_filter=
>
> I checked and then reloaded postfix. After that, nothing would go
through.
> I see this in my mail.log.
>
> Sep 19 18:02:26 fuggle postfix/qmgr[26867]: warning: connect to transport
> vscan: Connection refused
>
> I tried running amavis manually and no ports are opened (bah!).
>
> Sometimes, there is something to be said for the easy of Microsoft
products,
> even if they are the cause of my current nightmare.
>
> Tom Veldhouse
>
> ----- Original Message -----
> From: "Marshal Newrock" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, September 19, 2003 5:49 PM
> Subject: Re: [gentoo-user] Simple HOWTO for ClamAntivirus?
>
>
> > On Fri, 19 Sep 2003, Thomas T. Veldhouse wrote:
> >
> > > I use postfix and finding documentation on this is scattered at best
and
> > > useless in most cases at worst. So far, I have not succeeded. I have
> been
> > > trying to configure amavis (not the -new version since it is masked!)
> but so
> > > far to no avail. Postfix seems to hang (email blackhole) and no ports
> > > (10024 or 10025 ever are opened).
> >
> > Have you read the filter howto (in /usr/share/doc/postfix*)? It details
> > how to set up both simple and advanced filters. It looks like advanced
is
> > what you want. As far as amavis and clamav, I haven't used those.
> >
> > If you're still having problems, post the mail log entries you get when
> > you try to send mail. Postfix does work without the content filter set,
> > right?
> >
> > --
> > Marshal Newrock, unemployed Linux user in Lansing, MI
> > Caution: Product will be hot after heating
> >
> >
> > --
> > [EMAIL PROTECTED] mailing list
> >
> >
>
>
>
> --
> [EMAIL PROTECTED] mailing list
>
>
--
[EMAIL PROTECTED] mailing list