From owner-freebsd-questions Tue Feb 18 15: 3: 3 2003 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 09CE337B401 for ; Tue, 18 Feb 2003 15:03:02 -0800 (PST) Received: from out2.mx.nwbl.wi.voyager.net (out2.mx.nwbl.wi.voyager.net [169.207.3.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5722143F75 for ; Tue, 18 Feb 2003 15:03:01 -0800 (PST) (envelope-from raiden@shell.core.com) Received: from shell.core.com (shell.core.com [169.207.1.89]) by out2.mx.nwbl.wi.voyager.net (Postfix) with ESMTP id 78E93A4D95 for ; Tue, 18 Feb 2003 17:03:00 -0600 (CST) Received: from localhost (raiden@localhost) by shell.core.com (8.11.6/8.11.6/1.3) with ESMTP id h1IN30R25646 for ; Tue, 18 Feb 2003 17:03:00 -0600 (CST) Date: Tue, 18 Feb 2003 17:03:00 -0600 (CST) From: Steven Lake X-X-Sender: raiden@shell.core.com To: questions@FreeBSD.ORG Subject: Configuring sendmail to deliver per sender Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all. How do I get sendmail to forward off mail coming from a particular sender to a particular email address? So regardless of who it's addressed TO, I want it to forward mail to a different mailbox or to /dev/null depending on the address. So say I get an email going from "joefriday@pbs.org" going to "user1@mydomain.net", I want that email to go to "user2@mydomain.net" instead, but all other mail labled for user1 I want it to deliver normally. The other situation would be mail coming into from "annoyingjerk@loser.com" going to any user on my network. I want to automatically forward that mail into /dev/null and make it go bye bye. How do I go about doing that? Thanks. If I can't do that, I'll take the first item instead. I've got a workaround for the second if it can't be done. But I definately need to do the first one. Thanks for the info! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message