From owner-freebsd-questions@FreeBSD.ORG Wed Feb 15 16:27:24 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 F0AA216A420 for ; Wed, 15 Feb 2006 16:27:24 +0000 (GMT) (envelope-from freebsd@philip.pjkh.com) Received: from bravo.pjkh.com (bravo.pjkh.com [72.36.232.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id A87F543D45 for ; Wed, 15 Feb 2006 16:27:24 +0000 (GMT) (envelope-from freebsd@philip.pjkh.com) Received: from bravo.pjkh.com (bravo.pjkh.com [72.36.232.219]) by bravo.pjkh.com (Postfix) with ESMTP id C488D13C7C4; Wed, 15 Feb 2006 10:28:08 -0600 (CST) Received: by bravo.pjkh.com (Postfix, from userid 1000) id 51A2F13C7C0; Wed, 15 Feb 2006 10:28:08 -0600 (CST) Received: from localhost (localhost [127.0.0.1]) by bravo.pjkh.com (Postfix) with ESMTP id 50A0513C7BE; Wed, 15 Feb 2006 10:28:08 -0600 (CST) Date: Wed, 15 Feb 2006 10:28:08 -0600 (CST) From: Philip Hallstrom To: James Csoka In-Reply-To: <03bf01c63247$d1c78ae0$2e07a8c0@domfirst.local> Message-ID: <20060215102656.A63014@bravo.pjkh.com> References: <03bf01c63247$d1c78ae0$2e07a8c0@domfirst.local> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-questions@freebsd.org Subject: Re: Blocking an individual email address 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: Wed, 15 Feb 2006 16:27:25 -0000 > I am running a FreeBSD 5.4p10 machine at my office. It functions as our > firewall and mailserver. I am running Mailscanner, which invokes > sendmail when necessary to process mail. Sendmail is not started by > default....Mailscanner invokes individual instances of it when it needs > to. > > Here is my problem. I have an employee at my office that is sending > work email to her home email address. I need to find a way to block her > email address, whether To, From, Cc, Bcc, or whatever, from passing > through my mailserver. I have already added a line to /etc/mail/access > (in the format email@address.com REJECT), and have run makemap hash > /etc/mail/access.db < /etc/mail/access. I tested this with my personal > email address (external to my network), and it had the effect of > blocking any email orginating from my personal email to any address at > my work, however it does not prevent me from sending emails to this > address from a work address, which is the whole point. I doubt we know the whole story, but even if you do find a way to make this work what stops her from... - emailing her work to her gmail/hotmail/yahoo account? - copying her email and putting it on a thumb drive? - printing it out and taking it home? If you are trying to stop her from taking "work material" home then you've got a much bigger problem.