From owner-freebsd-questions@FreeBSD.ORG Fri Aug 26 12:03:05 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 ECE3016A421 for ; Fri, 26 Aug 2005 12:03:04 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from aiolos.otenet.gr (aiolos.otenet.gr [195.170.0.93]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1089143D88 for ; Fri, 26 Aug 2005 12:02:34 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from orion.daedalusnetworks.priv (aris.bedc.ondsl.gr [62.103.39.226]) by aiolos.otenet.gr (8.13.4/8.13.4/Debian-1) with SMTP id j7QC2UXX007177; Fri, 26 Aug 2005 15:02:30 +0300 Received: from orion.daedalusnetworks.priv (orion [127.0.0.1]) by orion.daedalusnetworks.priv (8.13.4/8.13.4) with ESMTP id j7QC2UoJ072188; Fri, 26 Aug 2005 15:02:30 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by orion.daedalusnetworks.priv (8.13.4/8.13.4/Submit) id j7QC2TrE072187; Fri, 26 Aug 2005 15:02:29 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) X-Authentication-Warning: orion.daedalusnetworks.priv: keramida set sender to keramida@ceid.upatras.gr using -f Date: Fri, 26 Aug 2005 15:02:29 +0300 From: Giorgos Keramidas To: Bj?rn K?nig Message-ID: <20050826120229.GA72155@orion.daedalusnetworks.priv> References: <810a540e050826040829ddc753@mail.gmail.com> <430F02D2.3040903@cs.tu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <430F02D2.3040903@cs.tu-berlin.de> Cc: Pat Maddox , freebsd-questions@freebsd.org 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 12:03:05 -0000 On 2005-08-26 13:53, Bj?rn K?nig wrote: >Pat Maddox wrote: >> My ISP (Bresnan) blocks outgoing traffic on port 25. I'd like to make >> it so that the mail program automatically forwards requests to my >> ISP's mail server, instead of trying to directly send mail to the >> appropriate server. >> >> For example, if I did >> mail pergesu@gmail.com >> >> 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? > > I use the port mail/ssmtp for this purpose. This is a small program that > sends all mails via a relay server. That's a good option. Another good option is to modify the main host.mc file in /etc/mail to include a line like: define(`SMART_HOST', `mail.isp.com') with `mail.isp.com' being the outgoing mail gateway of the ISP.