From owner-freebsd-questions@FreeBSD.ORG Mon Sep 1 01:24:11 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0CC0E106567D for ; Mon, 1 Sep 2008 01:24:11 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id D8A9B8FC08 for ; Mon, 1 Sep 2008 01:24:10 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id D62C215C21B; Sun, 31 Aug 2008 21:24:09 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Sun, 31 Aug 2008 21:24:09 -0400 X-Sasl-enc: jaWE7uZF4UuVnG6/h/mIk5c2HNLHofzKTsZfnx+duTfQ 1220232249 Received: from hagrid.ewd.goldmark.org (n114.ewd.goldmark.org [72.64.118.114]) by mail.messagingengine.com (Postfix) with ESMTPSA id 50FC6A2A2; Sun, 31 Aug 2008 21:24:09 -0400 (EDT) Message-Id: From: Jeffrey Goldberg To: Ivan Rambius Ivanov In-Reply-To: <89ce7f740808311800l15ed3df2k4b549cbf8f257f87@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v928.1) Date: Sun, 31 Aug 2008 20:24:07 -0500 References: <89ce7f740808311800l15ed3df2k4b549cbf8f257f87@mail.gmail.com> X-Mailer: Apple Mail (2.928.1) Cc: FreeBSD Questions Subject: Re: Forwarding all mail to a local user 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: Mon, 01 Sep 2008 01:24:11 -0000 [mailed and posted] On Aug 31, 2008, at 8:00 PM, Ivan Rambius Ivanov wrote: > I have the following questions. How can I forward all mail sent to > @localhost to a rambius@localhost, where rambius is my own > user account in my FreeBSD system and can be anything > including a user name that does not exist on the local machine? > I have default sendmail installation as provided by the base system > with no modifications of my own. You should edit /etc/mail/virtusertable to include a line like @localhost rambius@localhost There is a sample virtusertable you can look at. After you have edited the virtusertable file, you should run make maps in that directory. Cheers, -j -- Jeffrey Goldberg http://www.goldmark.org/jeff/