Subject: Re: pkgsrc survey
To: Chuck Swiger <cswiger@mac.com>
From: Geert Hendrickx <geert.hendrickx@ua.ac.be>
List: netbsd-users
Date: 10/05/2005 18:29:39
On Wed, Oct 05, 2005 at 09:52:02AM -0400, Chuck Swiger wrote:
> Guys, if you don't have a real, properly configured mailserver of your own,
> use your ISP to relay mail.  This involves a one-line change to your sendmail
> config, specificly the SMART_HOST setting.

You'll still have to set up masquerading (genericstable) for proper
handling of bounces.  But it's still trivial (a two-line change).  

--- netbsd-proto.mc     2005-09-28 15:13:24.000000000 +0200
+++ lori.mc     2005-07-24 19:18:07.000000000 +0200
@@ -52,6 +52,10 @@
 FEATURE(access_db,    DATABASE_MAP_TYPE` -T<TMPF> -o 'MAIL_SETTINGS_DIR`access'
)
 FEATURE(`redirect')
 FEATURE(`no_default_msa')
+
+define(`SMART_HOST',`uit.telenet.be')
+FEATURE(masquerade_envelope)
+
 MAILER(local)dnl
 MAILER(smtp)dnl


	Geert