Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jun 2004 17:35:28 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        "Rajamani, Rajarajan (Rajarajan)" <rrajarajan@lucent.com>
Cc:        "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org>
Subject:   Re: spamassassin, clamav with sendmail - not scanning local mails.
Message-ID:  <20040614173258.O92323@wonkity.com>
In-Reply-To: <1B8C2E08B21B8743A2B3AED07407DA760822B210@nj7460exch002u.ho.lucent.com>
References:  <1B8C2E08B21B8743A2B3AED07407DA760822B210@nj7460exch002u.ho.lucent.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 14 Jun 2004, Rajamani, Rajarajan (Rajarajan) wrote:

> I have installed the spamassassin milter and the clam av milter ports
> and have made the following changes to the freebsd.mc file.
>
> INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass-milter.sock,
> F=,T=C:15m;S:4m;R:4m;E:10m')
> INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock,
> F=,T=S:4m;R:4m')dnl
> define(`confINPUT_MAIL_FILTERS', `spamassassin, clmilter')
>
> then restarted sendmail by # make, # make install,# make restart, #
> newaliases
>
> Now I am noticing that all mails that are being sent directly to my
> machine are tagged properly both for spam and viruses.  Mails that are
> sent from one account to another are not being scanned.
>
> Am I missing something. How do I force sendmail to use the mail
> filters for local mails. Any info would be appreciated.

See the options for clamav-milter(5).  In particular, --local and 
--outgoing; these are set in /etc/rc.conf.  Spamassassin may have 
similar options.

-Warren Block * Rapid City, South Dakota USA



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040614173258.O92323>