From owner-freebsd-questions@FreeBSD.ORG Fri Jan 25 05:33:01 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D31AF16A468 for ; Fri, 25 Jan 2008 05:33:01 +0000 (UTC) (envelope-from dantavious@comcast.net) Received: from QMTA05.westchester.pa.mail.comcast.net (qmta05.westchester.pa.mail.comcast.net [76.96.62.48]) by mx1.freebsd.org (Postfix) with ESMTP id 78A4D13C447 for ; Fri, 25 Jan 2008 05:33:01 +0000 (UTC) (envelope-from dantavious@comcast.net) Received: from OMTA02.westchester.pa.mail.comcast.net ([76.96.62.19]) by QMTA05.westchester.pa.mail.comcast.net with comcast id hBvx1Y0030QuhwU050SJ00; Fri, 25 Jan 2008 05:22:00 +0000 Received: from [192.168.1.109] ([68.55.141.86]) by OMTA02.westchester.pa.mail.comcast.net with comcast id hHMz1Y00A1s2foL3N00000; Fri, 25 Jan 2008 05:22:00 +0000 X-Authority-Analysis: v=1.0 c=1 a=9wv_1c2SaanXDqpeQqEA:9 a=HntRUpd-VnH8DQnFk1gA:7 a=rrreetUugInETOQXrPk4ko2IFDcA:4 a=O6E9qNgkHW4A:10 a=rr974Q6xBMIA:10 From: Dantavious To: freebsd-questions@freebsd.org Date: Fri, 25 Jan 2008 00:22:02 -0500 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200801250022.03364.dantavious@comcast.net> Subject: Maildrop filtering issues X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jan 2008 05:33:01 -0000 Hi all, I have a working Postfix Mailserver with maildrop installed. This mailserver is setup for virtual accounts. I would like to filter incoming mail using maildrop at the server. I followed all the docs that I could find out on the net concerning this setup. What I have done so far is. Created a .mailfilter in the /home/vmail file that points to the .mailfilters file. less .mailfilter xfilter "/usr/local/bin/spamc" # Check for user defined filter file exception { logfile $HOME/.maildrop.log include "$HOME/mailfilters/$LOGNAME" } In my "$HOME/mailfilters//$LOGNAME"/ , I have a user@domain.net mailfilter file that looks like this. if (/^From:.*dantavious@comcast\.net/) { exception { to "$DEFAULT/.Comcast/" } } All messages sent here does not go into the .Comcast folder but in my inbox. I also do not get any entires in the maildrop.log that i setup. Does anyone have this setup and working. Any help would be greatly appreciated. Server Additional info. maildrop-2.0.4 courier-authlib-mysql-0.60.2 courier-authlib-userdb-0.60.2 courier-imap-4.3.0,1 amavisd-new-2.5.3,1: p5-Mail-SpamAssassin-3.2.4 v/r Derrick