Date: Sat, 5 Apr 2003 09:00:48 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: questions@freebsd.org Subject: Re: sending mail with a script question Message-ID: <20030405080048.GC86666@happy-idiot-talk.infracaninophi> In-Reply-To: <20030405022054.C93482@skytrackercanada.com> References: <20030404234509.A91877@skytrackercanada.com> <20030405064235.GB71101@ns2.wananchi.com> <20030405015917.A93482@skytrackercanada.com> <20030405071552.GF71101@ns2.wananchi.com> <20030405022054.C93482@skytrackercanada.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030405080048.GC86666>