Date: Tue, 18 Feb 2003 17:03:00 -0600 (CST) From: Steven Lake <raiden@shell.core.com> To: questions@FreeBSD.ORG Subject: Configuring sendmail to deliver per sender Message-ID: <Pine.GSO.4.44L0.0302181658570.24753-100000@shell.core.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.44L0.0302181658570.24753-100000>