From owner-freebsd-questions@FreeBSD.ORG Fri Aug 26 13:32:51 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 DD02D16A41F for ; Fri, 26 Aug 2005 13:32:51 +0000 (GMT) (envelope-from daniel_k_eriksson@telia.com) Received: from pne-smtpout2-sn2.hy.skanova.net (pne-smtpout2-sn2.hy.skanova.net [81.228.8.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id 73BB143D48 for ; Fri, 26 Aug 2005 13:32:51 +0000 (GMT) (envelope-from daniel_k_eriksson@telia.com) Received: from royal64.emp.zapto.org (195.198.193.104) by pne-smtpout2-sn2.hy.skanova.net (7.2.060.1) id 42B94E2900A8E182; Fri, 26 Aug 2005 15:32:49 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Fri, 26 Aug 2005 15:32:49 +0200 Content-class: urn:content-classes:message Message-ID: <4F9C9299A10AE74E89EA580D14AA10A605F544@royal64.emp.zapto.org> X-MIMEOLE: Produced By Microsoft Exchange V6.5.7226.0 X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Forwarding mail to another server Thread-Index: AcWqLsGrzHSNlvDhQpqwJKnQTQqaaQAEs04g From: "Daniel Eriksson" To: "FreeBSD Questions" Cc: Pat Maddox Subject: RE: Forwarding mail to another server 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: Fri, 26 Aug 2005 13:32:52 -0000 Pat Maddox wrote: > For example, if I did > mail pergesu@gmail.com >=20 > And sent a message, my machine would send that to mail.bresnan.net and > have them pass it on. Is it possible to do that? If so, how? cd /etc/mail make all this will create a FQDN.mc file (f.e. myhost.mydomain.com.mc) edit this file and uncomment the SMART_HOST line and insert an SMTP server that will relay mail for you example: define(`SMART_HOST', `mailrelay.myisp.com') make cf install restart Done! /Daniel Eriksson