Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!amdcad!rpw3 From: rpw3@amdcad.AMD.COM (Rob Warnock) Newsgroups: comp.mail.uucp Subject: Re: A question about uucp and another about mail Message-ID: <24790@amdcad.AMD.COM> Date: 10 Mar 89 07:59:15 GMT References: <414@twwells.uucp> <138@psgdc> <750@twwells.uucp> Reply-To: rpw3@amdcad.UUCP (Rob Warnock) Organization: [Consultant] San Mateo, CA Lines: 33 In article <750@twwells.uucp> bill@twwells.UUCP (T. William Wells) writes: +--------------- | I know about uucp -r. But what you and several other respondents have | answered is the wrong question. I don't want the uucp *program* to | not initiate transfers, I want the uucp *system* to not do transfers. | As it happens, in this specific case, all the transfers are initiated | by a mailer; uucp -r won't help. +--------------- Well, when I had this problem -- wanting mail to go out only at specific times, when I ran a "polled" UUCP -- I looked to see how the mail got sent, and observed that "mail somehost!foo" caused mail to execute (on my system): /usr/bin/uux -arpw3 - somehost!rmail '(foo)' Since "uux" also obeys the "-r" flag, the solution is to write a tiny C program which you install as "/usr/bin/uux", which calls the *real* "uux" which you have squirreled away somewhere (like /usr/bin/uux.real), but adds the "-r" option to whatever command string was passed. So the above command causes the following: /usr/bin/uux.real -r -arpw3 - somehost!rmail '(foo)' Try it; it may work for you too. Rob Warnock Systems Architecture Consultant UUCP: {amdcad,fortune,sun}!redwood!rpw3 ATTmail: !rpw3 DDD: (415)572-2607 USPS: 627 26th Ave, San Mateo, CA 94403