Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!yale!mintaka!olivea!orc!inews!iwarp.intel.com!gargoyle!chinet!les From: les@chinet.chi.il.us (Leslie Mikesell) Newsgroups: comp.mail.elm Subject: Re: Multiple mail users sharing one user code Message-ID: <1990Nov14.185038.18876@chinet.chi.il.us> Date: 14 Nov 90 18:50:38 GMT References: <1990Nov12.092146.20233@actrix.co.nz> Organization: Chinet - Public Access UNIX Lines: 34 In article <1990Nov12.092146.20233@actrix.co.nz> paul@actrix.co.nz (Paul Gillingwater) writes: >I'm trying to set up elm to be used under a bbs. All users login as >bbs, so this is their euid. The bbs software exports >LOGNAME=Paul.Gillingwater into the environment, and sets >MAIL=/apc/usr/Paul/Gillingwater/mail as well. >The problem is that I want the From: line on messages to read: >From: Paul.Gillingwater@bbs.actrix.co.nz >Unfortunately, they come out as: >From: bbs@actrix.co.nz >Can anyone suggest a way to hack on elm to make this happen? Of >course it should only fake the domain for bbs users. You must have had to hack on your mailer transport to make it do the delivery for the bbs users. Why not add the equivalent hacks to supply the From: line in the MTA based on something in the environment and simply configure ELM to leave off the From: line? This will localize the changes and make it easier to undo should you decide to provide something closer to a normal unix environment in the future. If you are using smail 3.1, the changes would be trivial - I have a modification that makes it emulate the SysV use of LOGNAME for the From_ (and From: if it doesn't already exist), in case you want that as a starting point. Les Mikesell les@chinet.chi.il.us