From owner-freebsd-questions Tue Feb 18 16: 9:30 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 43E9D37B401 for ; Tue, 18 Feb 2003 16:09:29 -0800 (PST) Received: from ns1.vagner.com (ns1.vagner.com [65.39.87.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1CF1743FE1 for ; Tue, 18 Feb 2003 16:09:27 -0800 (PST) (envelope-from george@vagner.com) Received: (from root@localhost) by ns1.vagner.com (8.12.5/8.12.6) id h1J09MZ5089543; Tue, 18 Feb 2003 17:09:22 -0700 (MST) (envelope-from george@vagner.com) Received: from amd2000.vagner.com (pcp02972580pcs.manass01.va.comcast.net [68.48.106.33]) by ns1.vagner.com (8.12.5/8.12.6av) with ESMTP id h1J09Gtt089535; Tue, 18 Feb 2003 17:09:16 -0700 (MST) (envelope-from george@vagner.com) From: Laszlo Vagner To: Steven Lake , questions@freebsd.org Subject: Re: Configuring sendmail to deliver per sender Date: Tue, 18 Feb 2003 19:09:24 -0500 User-Agent: KMail/1.5 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200302181909.24387.george@vagner.com> X-Virus-Scanned: by AMaViS perl-11 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 check out virtusertable, access and aliases. you might need the apropriate FEATURE in your M4 file for virtusertable to work. I also suggest installing Webmin for easy access and changes to these files. On Tuesday 18 February 2003 06:03 pm, Steven Lake wrote: > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message