spamassassin, clamav with sendmail - not scanning local mails.

Rajamani, Rajarajan (Rajarajan) rrajarajan at
Mon Jun 14 12:11:26 PDT 2004

I have installed the spamassassin milter and the clam av milter ports
and have made the following changes to the file.

INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass-milter.sock,
define(`confINPUT_MAIL_FILTERS', `spamassassin, clmilter')

then restarted sendmail by # make, # make install,# make restart, #

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.

Since I use fetchmail/fetchyahoo/gotmail to retreive my
ISP/yahoo/hotmail accounts (where I get most spam), the mails
delivered to my mbox are not scanned by either clamd or spamd. I
checked that these tools are having the appropriate switches to
forward the pop'd mails to my account instead of putting it directly
into the mbox.

Am I missing something. How do I force sendmail to use the mail
filters for local mails. Any info would be appreciated.



More information about the freebsd-questions mailing list