Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jan 2008 00:22:02 -0500
From:      Dantavious <dantavious@comcast.net>
To:        freebsd-questions@freebsd.org
Subject:   Maildrop filtering issues
Message-ID:  <200801250022.03364.dantavious@comcast.net>

next in thread | raw e-mail | index | archive | help
	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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801250022.03364.dantavious>