spamassassin, clamav with sendmail - not scanning local mails .

Rajamani, Rajarajan (Rajarajan) rrajarajan at lucent.com
Mon Jun 14 14:36:40 PDT 2004


>>  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.
>
> I think you will have to configure your fetching tools to inject
> messages to localhost port 25 or 587 instead of execing sendmail. 
> Fetchmail should do this by default (it will fall back to execing
> sendmil if the port isn't open); not sure about the others.
>
> -- 
> 	Dan Nelson
> 	dnelson at allantgroup.com

That thought struck me as soon as I posted my question.
Your hunch is right. When I used fetchmail to
redirect the mail to port 25 it worked (earlier it was
piping it to procmail directly - my mistake). Now
I have to figure out how to do the same with fetchyahoo/gotmail.

Thanks

Rajarajan.


More information about the freebsd-questions mailing list