From owner-freebsd-questions@FreeBSD.ORG Wed Feb 15 15:30:53 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 2D42116A420 for ; Wed, 15 Feb 2006 15:30:53 +0000 (GMT) (envelope-from jimcsoka@dominionfirstmortgage.com) Received: from mail.dominionfirstmortgage.com (h-66-167-151-186.mclnva23.covad.net [66.167.151.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99F8143D4C for ; Wed, 15 Feb 2006 15:30:52 +0000 (GMT) (envelope-from jimcsoka@dominionfirstmortgage.com) Received: from jimcsoka ([192.168.7.46]) by mail.dominionfirstmortgage.com (8.13.3/8.13.3) with SMTP id k1FFWUkY021906 for ; Wed, 15 Feb 2006 10:32:30 -0500 (EST) (envelope-from jimcsoka@dominionfirstmortgage.com) Message-ID: <03bf01c63247$d1c78ae0$2e07a8c0@domfirst.local> From: "James Csoka" To: Date: Wed, 15 Feb 2006 10:52:26 -0500 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-DFMC-MailScanner-Information: Please contact the ISP for more information X-DFMC-MailScanner: Found to be clean X-MailScanner-From: jimcsoka@dominionfirstmortgage.com Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: 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 15:30:53 -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. Does anyone have any ideas? I could tag the address as spam, but I = would rather not. There has to be a way to block anyone from sending to = a certain email address, I would think. Any help would be appreciated. -Jim