Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!ucsd!sdd.hp.com!uakari.primate.wisc.edu!aplcen!uunet!pdn!tscs!tct!chip From: chip@tct.uucp (Chip Salzenberg) Newsgroups: comp.mail.elm Subject: Re: Mail to/from a BBS (one login, many users) Message-ID: <2690E240.1006@tct.uucp> Date: 3 Jul 90 18:21:52 GMT References: <1990Jun29.074034.12656@actrix.co.nz> <923@limbo.Intuitive.Com> Organization: ComDev/TCT, Sarasota, FL Lines: 24 According to taylor@limbo.Intuitive.Com (Dave Taylor): >- Hack into the sendmail to add a special case at the end of all > the regular delivery stuff, just before it's about to bounce the > message, to call your own delivery program. If you use Deliver for that purpose, the system delivery file could use the XBBS configuration file(s) directly. Locking issues could be addressed by using Deliver and Elm, both of which are capable of using the Xenix "/tmp/username.mlk" locking convention. That's a win because it doesn't break under long user names -- the temp file is generated with sprintf("/tmp/%.10s.mlk", basename)'. Some Elm hacking would be required to use that locking method a non-Xenix OS. (No codeing, just #ifdef rearrangement.) >Finally, for mail going out, simply define a new program that Elm >drops its outbound mail into (instead of sendmail). That program could >simply grab the users id value, map it into a name, then write an >appropriate From: line and hand the message straight to sendmail! Again, Deliver could do that. Or, more correctly, you could do that with Deliver. :-) -- Chip Salzenberg at ComDev/TCT ,