Date: Fri, 26 Aug 2005 15:02:29 +0300 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Bj?rn K?nig <bkoenig@cs.tu-berlin.de> Cc: Pat Maddox <pergesu@gmail.com>, freebsd-questions@freebsd.org Subject: Re: Forwarding mail to another server Message-ID: <20050826120229.GA72155@orion.daedalusnetworks.priv> 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
On 2005-08-26 13:53, Bj?rn K?nig <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? > > 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050826120229.GA72155>