Date: Fri, 26 Aug 2005 06:08:52 -0600 From: Pat Maddox <pergesu@gmail.com> To: =?ISO-8859-1?Q?Bj=F6rn_K=F6nig?= <bkoenig@cs.tu-berlin.de> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Forwarding mail to another server Message-ID: <810a540e0508260508977c8e6@mail.gmail.com> In-Reply-To: <430F02D2.3040903@cs.tu-berlin.de> References: <810a540e050826040829ddc753@mail.gmail.com> <430F02D2.3040903@cs.tu-berlin.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Awesome, that worked great, thanks. On 8/26/05, Bj=F6rn K=F6nig <bkoenig@cs.tu-berlin.de> 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 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?810a540e0508260508977c8e6>