From owner-freebsd-questions@FreeBSD.ORG Tue Jan 25 09:43:25 2005 Return-Path: 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 29B1C16A4CE for ; Tue, 25 Jan 2005 09:43:25 +0000 (GMT) Received: from smtp1.wanadoo.fr (smtp1.wanadoo.fr [193.252.22.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id C9FD643D53 for ; Tue, 25 Jan 2005 09:43:24 +0000 (GMT) (envelope-from atkielski.anthony@wanadoo.fr) Received: from me-wanadoo.net (iobox.se [127.0.0.1]) by mwinf0107.wanadoo.fr (SMTP Server) with ESMTP id 387B5A0001B0 for ; Tue, 25 Jan 2005 10:43:24 +0100 (CET) Received: from pix.atkielski.com (ASt-Lambert-111-2-1-3.w81-50.abo.wanadoo.fr [81.50.80.3]) by mwinf0107.wanadoo.fr (SMTP Server) with ESMTP id 176CFA0001AD for ; Tue, 25 Jan 2005 10:43:24 +0100 (CET) X-ME-UUID: 20050125094324960.176CFA0001AD@mwinf0107.wanadoo.fr Date: Tue, 25 Jan 2005 10:43:23 +0100 From: Anthony Atkielski X-Priority: 3 (Normal) Message-ID: <275375955.20050125104323@wanadoo.fr> To: freebsd-questions@freebsd.org In-Reply-To: <41536B850014C562@ims3e.cp.tin.it> References: <41536B850014C562@ims3e.cp.tin.it> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: mail-reader & M$ exchange X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jan 2005 09:43:25 -0000 v.demartino2@virgilio.it writes: vdvi> 1) I want to read the mail on the server in /var/mail to root and to the vdvi> users. What console email reader should I compile (to be used under a PUTTY vdvi> window, I mean)? The "mail" command should do this. It lets you read your own mail, plus the mail of others if you are root. Works from any tty. Assuming your running the usual mail software (sendmail et al.), you can configure aliases to redirect mail to anywhere you wish. For example, in the aliases file, you can put a line like this: xyz: abc, def@mydomain.com This will cause any incoming mail intended for local user xyz to be routed to both local user abc and remote user def@mydomain.com. So you can route mail to your Exchange server and it should get through. This should not require any changes on the Exchange side. The file you have to change is usually /etc/aliases or /etc/mail/aliases, depending on your site configuration. You must execute the "newaliases" command after you change it, to rebuild the aliases database. I think you may also have to signal sendmail, too, as follows: #kill -HUP nnn where nnn is the process ID of the parent sendmail process (use ps or something to find it). -- Anthony