barrett@crabcake.cs.jhu.edu (09/20/89)
I plan to maintain a electronic mailing list, and I want it to work in the following way: 1) People send mail to the list on my machine. Suppose everyone sends to "foo-list@machine.name". 2) Each letter is held on machine.name, in some spool directory, until 3:00 am. 3) All letters in the spool directory are sent out at 3:00 am, to everyone on the mailing list. I can do this easily using a mail alias that pipes each mail message to a unique file in the spool directory, and then have cron send everything in the directory at 3am. HOWEVER, all the Return-Path: and From: fields will be wrong. They'll all be "root", and I want them to be the fields from the original senders. What's an elegant way to do this? I really don't want to write my own programs for extracting and using the sender's name, etc. etc. We're running ULTRIX 2.0 and sendmail on a VAX 8530. My main goal for doing this spooling is that I don't want to bog down the machine with sending mail during the day. There are about 50 people on the mailing list. Maybe there's a better method entirely for doing what I want...? Thanks very much! Please reply by E-MAIL ONLY to any of the addresses below. Dan //////////////////////////////////////\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ | Dan Barrett - Systems Administrator, Computer Science Department | | The Johns Hopkins University, 34th and Charles Sts., Baltimore, MD 21218 | | INTERNET: barrett@cs.jhu.edu | UUCP: barrett@jhunix.UUCP | | COMPUSERVE: >internet:barrett@cs.jhu.edu | BITNET: ins_adjb@jhuvms.bitnet | \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\/////////////////////////////////////