Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!mintaka!bloom-beacon!eru!kth.se!sunic!mcsun!unido!rwthinf!marvin.e17.physik.tu-muenchen.de!berg From: berg@marvin.e17.physik.tu-muenchen.de (Stephen R. van den Berg) Newsgroups: comp.unix.questions Subject: Re: mail & nice Message-ID: <4212@rwthinf.UUCP> Date: 15 Apr 91 14:32:52 GMT References: <9104081926.AA00724@tea-jwm.jhuapl.edu> Sender: news@rwthinf.UUCP Lines: 22 In article <9104081926.AA00724@tea-jwm.jhuapl.edu> you write: > I have my .forward aimed to a script that sorts the incoming to >appropriate mailing lists. > Since mail isn't real high on my priority list, is there a way >to set this up such that the script gets its priority knocked down >such that the ttys can keep going? Why don't you pull the sources of "Procmail" from comp.sources.misc. It does the same sorting of the mail as your script does, but much more robust (probably). It doesn't currently support lower priorities, but all you need to implement that, is insert a nice() call at the start of the program. BTW, I tried to mail this to you, but the mail bounced due to some errors in your .forward file. I'd be willing to mail you the error messages it generated; but please, remove your .forward file first :-) -- Sincerely, berg@marvin.e17.physik.tu-muenchen.de Stephen R. van den Berg. "I code it in 5 min, optimize it in 90 min, because it's so well optimized: it runs in only 5 min. Actually, most of the time I optimize programs."