|
NAMEfastmail - quick batch mail interface to a single addressSYNOPSISfastmail [-b bcc-list] [-c cc-list] [-C comments] [-d] [-f fromname] [-i msg-id] [-r replyto] [-R references] [-s subject] filename|- address-listDESCRIPTIONFastmail is a low-level interface to the mail system that allows batch processing of mail. It's intended for mailing to very large groups of people in a staggered fashion.The starting options are;
Either the name of the file containing the message, or a - to indicate usage of standard-in is required. EXAMPLELet's say we're user "big" on machine "big-vax" and we have a shell script called 'batch-mail' that contains the following lines:# # Batch Mail - batch mailing of a file to a LOT of users # # Usage: batch-mail "from" "subject" filename sender_copy = $LOGIN replyto = "The-Mr-Big-list" fastmail -b $sender_copy -r $replyto -f "$1" -s "$2" $3 person1 sleep 10 fastmail -r $replyto -f "$1" -s "$2" $3 person2 sleep 10 fastmail -r $replyto -f "$1" -s "$2" $3 person3 sleep 10 fastmail -r $replyto -f "$1" -s "$2" $3 person4 < etc > with the invocation: batch-mail "Mr. Big" "Warning to all" warning.textwould mail a copy of the 'warning.text' file to person1, person2, person3, etc. "$LOGIN" will also receive a copy of the first message in the mail, silently. Each resultant message will include the headers: From: big-vax!big (Mr. Big) Subject: Warning to all Reply-To: The-Mr-Big-listThis program should turn out to be considerably faster than the alternative methods of accomplishing this task. FILES/usr/lib/sendmail sendmail transport if available/bin/rmail transport if no sendmail /tmp/fastmail.$$ temporary file AUTHORElm Development GroupSEE ALSOsendmail(1), rmail(1), elm(1L)BUG REPORTS TOBill Pemberton flash@virginia.eduCOPYRIGHTSCopyright 1988-1995 by The USENET Community TrustDerived from Elm 2.0, Copyright 1986, 1987 by Dave Taylor
Visit the GSP FreeBSD Man Page Interface. |