From owner-freebsd-questions@FreeBSD.ORG Wed Feb 15 15:53:31 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 6C13416A420 for ; Wed, 15 Feb 2006 15:53:31 +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 0B17443D77 for ; Wed, 15 Feb 2006 15:53:23 +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 k1FFt1UW023291 for ; Wed, 15 Feb 2006 10:55:01 -0500 (EST) (envelope-from jimcsoka@dominionfirstmortgage.com) Message-ID: <040a01c6324a$f6dac920$2e07a8c0@domfirst.local> From: "James Csoka" To: "Freebsd - Questions" References: <03bf01c63247$d1c78ae0$2e07a8c0@domfirst.local> Date: Wed, 15 Feb 2006 11:14:57 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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 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 15:53:31 -0000 Okay...I think I answered part of my question. /etc/mail/access only governs mail relaying. Which would mean that of course, it wouldn't accept mail from that address, but would have no problem sending mail to it. So....any ideas on how I can simply block 1 particular email address, without marking it as spam? ----- Original Message ----- From: "James Csoka" To: Sent: Wednesday, February 15, 2006 10:52 AM Subject: Blocking an individual email address > 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 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >