From owner-freebsd-questions@FreeBSD.ORG Fri Aug 26 12:08:55 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 30BE416A420 for ; Fri, 26 Aug 2005 12:08:55 +0000 (GMT) (envelope-from pergesu@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id ACBB543D48 for ; Fri, 26 Aug 2005 12:08:53 +0000 (GMT) (envelope-from pergesu@gmail.com) Received: by zproxy.gmail.com with SMTP id z6so330421nzd for ; Fri, 26 Aug 2005 05:08:52 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=r2PfRvwBoM8zIlIx6BArsxnNWtL6vFL9S52jSnSNSW/XeOZXXHkE50+srunbhvFRXIn4HQPmb7YhmeiaUUKXo3cwST+8OCOjOsC4Jdo5+bW5xdJys2HhZYSE4iR98tuZUt2PwCdSX61m095CR8o9t5vKVsZbD/Z57/Me1YKZu1Y= Received: by 10.36.36.4 with SMTP id j4mr228229nzj; Fri, 26 Aug 2005 05:08:52 -0700 (PDT) Received: by 10.36.48.17 with HTTP; Fri, 26 Aug 2005 05:08:52 -0700 (PDT) Message-ID: <810a540e0508260508977c8e6@mail.gmail.com> Date: Fri, 26 Aug 2005 06:08:52 -0600 From: Pat Maddox To: =?ISO-8859-1?Q?Bj=F6rn_K=F6nig?= In-Reply-To: <430F02D2.3040903@cs.tu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <810a540e050826040829ddc753@mail.gmail.com> <430F02D2.3040903@cs.tu-berlin.de> Cc: FreeBSD Questions 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:08:55 -0000 Awesome, that worked great, thanks. On 8/26/05, Bj=F6rn K=F6nig 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? >=20 > I use the port mail/ssmtp for this purpose. This is a small program that > sends all mails via a relay server. After you have installed it you will > find some example configuration files in /usr/local/etc/ssmtp. Alter > also the entries in /etc/mail/mailer.conf to >=20 > sendmail /usr/local/sbin/ssmtp > send-mail /usr/local/sbin/ssmtp > mailq /usr/local/sbin/ssmtp > newaliases /usr/local/sbin/ssmtp > hoststat /usr/bin/true > purgestat /usr/bin/true >=20 >=20 > Regards Bj=F6rn >