Xref: utzoo comp.mail.misc:4600 comp.mail.sendmail:2558 comp.lang.c:34886 Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!apple!usc!cs.utexas.edu!tut.cis.ohio-state.edu!att!pacbell.com!ucsd!sdcc6!sdcc13!sboswell From: sboswell@sdcc13.ucsd.edu (....What Is?....) Newsgroups: comp.mail.misc,comp.mail.sendmail,comp.lang.c Subject: Mail server Summary: Help! Message-ID: <15082@sdcc6.ucsd.edu> Date: 23 Dec 90 06:50:54 GMT References: <179@platypus.uofs.edu> <184@platypus.uofs.edu> Sender: news@sdcc6.ucsd.edu Followup-To: comp.mail.misc Organization: University of California, San Diego Lines: 17 Nntp-Posting-Host: sdcc13.ucsd.edu Hi, I don't know which newsgroup to route this to, so here we go anyways. I just wrote a "mail server" program that reads my mail file (on a BSD 4.3 Tahoe system), picks out letters with certain key subjects, and processes the message body (for instance, it'll send out help files for a few programs that I made publicly executable.) The problem is trying to avoid clashes between sendmail and my program. If the timing is off (which it is a lot more often than I expected), new letters that are waiting for the file not to be busy get eaten as soon as I close the file. How do I get around this? Please mail replies; I haven't been reading news regularly lately. Thanks, Steve Boswell sboswell@ucsd.edu