Forwarding mail to another server

Giorgos Keramidas keramida at
Fri Aug 26 12:03:05 GMT 2005

On 2005-08-26 13:53, Bj?rn K?nig <bkoenig at> 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 at
>> And sent a message, my machine would send that to 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
file in /etc/mail to include a line like:

	define(`SMART_HOST', `')

with `' being the outgoing mail gateway of the ISP.

More information about the freebsd-questions mailing list