From owner-freebsd-questions@FreeBSD.ORG Mon Sep 1 01:00:51 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 09BA3106567C for ; Mon, 1 Sep 2008 01:00:51 +0000 (UTC) (envelope-from rambiusparkisanius@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.232]) by mx1.freebsd.org (Postfix) with ESMTP id B8AEB8FC2F for ; Mon, 1 Sep 2008 01:00:50 +0000 (UTC) (envelope-from rambiusparkisanius@gmail.com) Received: by wr-out-0506.google.com with SMTP id c8so1013190wra.27 for ; Sun, 31 Aug 2008 18:00:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=UAD35gHVveKJjQ9cxQD5YRZZmjRp1mTpdqguKStYmdI=; b=xjnHIAqjGFaWou4B4g0xqfFn9PBbjzFUkK5kJCGIzYZlfG4oNFhNI5OnfBQ4df2r44 ml6ExRypX+bpFSsBbQ/niYaswr28uvlEdjYc0oijszsqZy4Gy08dCxMFy8zvF9se6fmu 3W/N32EG4DBwAmYzPu8q3McYCRT8TXzS0zQcU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=LbkxVd90Q/VPy+yn7kb1kP2Jmvf5Q1aGYgNcbZzpU53CsYrPy6e/YbViF6/F7xDsEM gFwzocjTzlG7qei42LElPivFiuDP7lnNmwRaZbeQAXsMA3I89tdpOZ2M6oykvez4kg0e ebFRdrDaXOasAawRz83dNb3YdKSD0cgn4N+3I= Received: by 10.90.89.14 with SMTP id m14mr3662050agb.60.1220230849344; Sun, 31 Aug 2008 18:00:49 -0700 (PDT) Received: by 10.90.89.18 with HTTP; Sun, 31 Aug 2008 18:00:49 -0700 (PDT) Message-ID: <89ce7f740808311800l15ed3df2k4b549cbf8f257f87@mail.gmail.com> Date: Mon, 1 Sep 2008 04:00:49 +0300 From: "Ivan \"Rambius\" Ivanov" To: "FreeBSD Questions" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: 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:00:51 -0000 Hello list, 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? The reason I want this is the following: I am researching a CMS system called e107. When users register in it with their email addresses they are sent an activation email in which they have to click in order to activate their accounts in e107. Right now I have e107 installed on my laptop and I am registering some user accounts for testing purposes. I do not want to create a local system account (with adduser) for each different user - I just want the activation message sent to the email address @localhost to be forwarded to rambius@localhost so that I can rd iead from my mailbox and activate the test users. I have default sendmail installation as provided by the base system with no modifications of my own. This is my first time dealing with sendmail and I will be grateful to any advice and hints. Thank you in advance. Regards Rambius P.S. I am using 7.0-RELEASE-p3 FreeBSD if this matters. -- Tangra Mega Rock: http://www.radiotangra.com