Date: Mon, 14 Jun 2004 17:36:18 -0400 From: "Rajamani, Rajarajan (Rajarajan)" <rrajarajan@lucent.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: <1B8C2E08B21B8743A2B3AED07407DA760822B213@nj7460exch002u.ho.lucent.com>
next in thread | raw e-mail | index | archive | help
>> 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@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1B8C2E08B21B8743A2B3AED07407DA760822B213>