From owner-freebsd-questions@FreeBSD.ORG Sat Apr 5 00:00:56 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8048F37B401 for ; Sat, 5 Apr 2003 00:00:56 -0800 (PST) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD25843FA3 for ; Sat, 5 Apr 2003 00:00:54 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) h3580maA087184 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 5 Apr 2003 09:00:48 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)h3580mOF087183 for questions@freebsd.org; Sat, 5 Apr 2003 09:00:48 +0100 (BST) Date: Sat, 5 Apr 2003 09:00:48 +0100 From: Matthew Seaman To: questions@freebsd.org Message-ID: <20030405080048.GC86666@happy-idiot-talk.infracaninophi> Mail-Followup-To: Matthew Seaman , questions@freebsd.org References: <20030404234509.A91877@skytrackercanada.com> <20030405064235.GB71101@ns2.wananchi.com> <20030405015917.A93482@skytrackercanada.com> <20030405071552.GF71101@ns2.wananchi.com> <20030405022054.C93482@skytrackercanada.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="JgQwtEuHJzHdouWu" Content-Disposition: inline In-Reply-To: <20030405022054.C93482@skytrackercanada.com> User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-38.8 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_MUTT version=2.50 X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Subject: Re: sending mail with a script question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Apr 2003 08:00:56 -0000 --JgQwtEuHJzHdouWu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 05, 2003 at 02:20:54AM -0500, David Banning wrote: > > I do use Exim and all I have to tell it is: > >=20 > > trusted_users =3D www > >=20 > > It would then allow the webserver to set the correct address. I am not = sure > > how Sendmail, Postfix or any other MTA does this. >=20 > Thanks for the idea. Sendmail is a bit of a nightmare to tangle > with, but I'll start looking around to see if there is a way to do=20 > something similar on my end. In sendmail, class 't' lists the users trusted to reset the envelope address. Configure this by adding the usernames one per line to /etc/mail/trusted-users and adding: FEATURE(`use_ct_file')dnl into your submit.mc (then 'make' and 'make install' and 'make restart' as usual). It's the sendmail sm_msp process that needs this modification, rather than the sm_mta process. See the section "MESSAGE SUBMISSION PROGRAM" in /usr/share/sendmail/cf/README. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --JgQwtEuHJzHdouWu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+jo0wdtESqEQa7a0RAm/GAJ4yBt238s487iOugPvWKiy6xGL1yACeJKOf bayaw9ERkIZ3Hwg6JsnP9UU= =rkby -----END PGP SIGNATURE----- --JgQwtEuHJzHdouWu--