Path: utzoo!mnetor!uunet!husc6!cmcl2!brl-adm!adm!jlunny@nswc-g.arpa From: jlunny@nswc-g.arpa Newsgroups: comp.unix.wizards Subject: /bin/mail mailing to files Message-ID: <10906@brl-adm.ARPA> Date: 18 Dec 87 16:54:40 GMT Sender: news@brl-adm.ARPA Lines: 19 i'm trying to use /bin/mail to mail a letter to a local file and obviously i am not having much luck. both ucbmail and binmail pass their requests to sendmail, which in turn sends it to its local mailer, and on my system it is binmail. i know ucbmail will mail letters to local files because ucbmail will do the actual write operation itself if the recipient is a file and not exec sendmail, unlike binmail which does pass the request to sendmail if the recipient is a file. i have looked at the source of sendmail and don't see how it is possible to mail letters to files if sendmail is in the loop. would somebody please tell me how/if it is possible? thanks a bunch. jlunny NSWC