Subject: Re: orbs.org and 'Open EMail Relay'
To: Scott Burns <Scott.Burns@Netcontech.Com>
From: Marinier, M. Claude, G. <claude.marinier@dreo.dnd.ca>
List: netbsd-help
Date: 04/19/2000 12:25:16
Scott,

The best way (and it's easier than you think) is to get the source for the
latest sendmail, build it, and make you own config file. It takes about a
dozen lines. Here is mine. It does require some reading to understand what
all that does but it is much less formidable that the actual cf file.

divert(0)dnl
VERSIONID(`@(#)dreo.mc	18 January 2000')
OSTYPE(bsd4.4)
FEATURE(redirect)dnl
FEATURE(smrsh)dnl
MASQUERADE_AS(dreo.dnd.ca)dnl
MASQUERADE_DOMAIN(dreo.dnd.a)dnl
FEATURE(relay_entire_domain)dnl
FEATURE(access_db, hash -o /etc/mail/access.db)dnl	
FEATURE(mailertable, hash -o /etc/mail/mailertable.db)dnl	
FEATURE(use_cw_file)dnl
MAILER(local)
MAILER(smtp)

The cw file (/etc/mail/sendmail.cf with a link in /etc) lists the name (or
names) or the host. The mailertable (/etc/mail/mailertable with a link in
/etc) maps incoming host.domain to a mail server (note that it must
be compiled). Here is mine but you may not need one.

dreo.dnd.ca	smtp:[caen-sp.cps.dreo.dnd.ca.]
.dreo.dnd.ca	smtp:[caen-sp.cps.dreo.dnd.ca.]

On Wed, 19 Apr 2000, Scott Burns wrote:
> Whats the easiest way for me to upgrade and plug this hole ?

-- 
Claude Marinier, Information Technology Group    claude.marinier@dreo.dnd.ca 
Defence Research Establishment Ottawa (DREO)    (613) 998-4901  FAX 998-2675
3701 Carling Avenue, Ottawa, Ontario  K1A 0Z4         http://www.dreo.dnd.ca