From owner-freebsd-questions@FreeBSD.ORG Mon Jun 14 21:36:40 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A085C16A4CE for ; Mon, 14 Jun 2004 21:36:40 +0000 (GMT) Received: from hoemail2.firewall.lucent.com (hoemail2.lucent.com [192.11.226.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 14BAA43D5C for ; Mon, 14 Jun 2004 21:36:40 +0000 (GMT) (envelope-from rrajarajan@lucent.com) Received: from nj7460exch001h.wins.lucent.com (h135-17-42-36.lucent.com [135.17.42.36])ESMTP id i5ELaK608645 for ; Mon, 14 Jun 2004 16:36:21 -0500 (CDT) Received: by nj7460exch001h.ho.lucent.com with Internet Mail Service (5.5.2657.72) id ; Mon, 14 Jun 2004 17:36:21 -0400 Message-ID: <1B8C2E08B21B8743A2B3AED07407DA760822B213@nj7460exch002u.ho.lucent.com> From: "Rajamani, Rajarajan (Rajarajan)" To: "Rajamani, Rajarajan (Rajarajan)" Date: Mon, 14 Jun 2004 17:36:18 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain cc: "'freebsd-questions@freebsd.org'" Subject: RE: spamassassin, clamav with sendmail - not scanning local mails . X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jun 2004 21:36:40 -0000 >> 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.