Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Apr 2002 21:19:36 +0000 (GMT)
From:      "Forrest W. Christian" <forrestc@imach.com>
To:        Tom Wiebe <twiebe@mac.com>
Cc:        isp@FreeBSD.ORG
Subject:   Re: Secondary Mail Server??
Message-ID:  <20020413210300.A32712-100000@workhorse.imach.com>
In-Reply-To: <E82A6E09-4F19-11D6-BFAC-0030658FC1FC@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 13 Apr 2002, Tom Wiebe wrote:

>  From what I've read so far, the configuration of Sendmail looks like
> something I want to stay away from. I'm primarily a graphic designer, so I
> want my admin tasks to be as light as possible.

Not really.  Sendmail is already on your system.  You don't have to
install anything.   Configuration on a standard (recent) freebsd system
for what you want to do is rather simple:

Just add the domains you use to /etc/mail/relay-domains (create if it
doesn't exist).  This will permit "inbound" relaying.   Then add
sendmail_enable="YES" to /etc/rc.conf .

Reboot and everything should work.

If you want to use the sendmail as a "smart relay host" for your existing
mail server, you aill need to create an access db.  Just add a line like

1.2.3.4		RELAY

to a a file /etc/mail/access and then execute "make access.db" in the
/etc/mail directory.

The only caveat is that you might have to play with your hostname or
sendmail.cf file (easy to do if necessary, but beyond the scope of this
note) in the case where sendmail accepts mail as local that it shouldn't
(say mail to www.yourdomain.com, if the mail server is running on
www.yourdomain.com).  Generally, this won't be a problem as long as the
name of the freebsd box does not match the right hand part of your email
address.  If this occurs, re-post and let us know what is broken.

<Warning! Shameless plug follows:> Alternatively, you could purchase
secondary DNS and MX service from www.backupdns.com and you wouldn't have
to deal with this.  Reply off-list if you want more information.

- Forrest W. Christian (forrestc@imach.com) AC7DE
----------------------------------------------------------------------
The Innovation Machine Ltd.                              P.O. Box 5749
http://www.imach.com/                                Helena, MT  59604
Home of PacketFlux Technogies and BackupDNS.com         (406)-442-6648
----------------------------------------------------------------------
      Protect your personal freedoms - visit http://www.lp.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020413210300.A32712-100000>