Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!ukma!husc6!purdue!decwrl!vixie From: vixie@decwrl.dec.com (Paul Vixie) Newsgroups: comp.mail.sendmail Subject: Re: DEBUG Message-ID: <923@bacchus.dec.com> Date: 21 Nov 88 08:12:45 GMT References: <13014.8811181138@brahma.cs.hw.ac.uk> <368@ur-cc.UUCP> Organization: DEC Western Research Lab Lines: 20 In <368@ur-cc.UUCP> msir_ltd@uhura.cc.rochester.edu (Mark Sirota) writes: # The problem is that you don't want to compile without the DEBUG option. # What you want to do is to ifdef out the "debug" command from the command # table in srvrsmtp.c. That way, you can't enter debug mode remotely, but # all the debugging code is still in there. I don't agree. I want to be able to enter DEBUG remotely, both on my own systems and on remote systems. It makes it easier to see what's being done to an address, and I can then tune my local sendmail.cf to squeak by. This is lots of fun with HPLABS, who likes to royally rotate everything before and after they look at it. The best thing to do is to look for the "tTd(0,1)"'s in the code and remove the ones you don't like, especially the one that allows mailing to pipes. (Hint: there are other rude things allowed with DEBUG turned on, and there are other ways to turn it on besides the SMTP DEBUG command). -- Paul Vixie Work: vixie@decwrl.dec.com decwrl!vixie +1 415 853 6600 Play: paul@vixie.sf.ca.us vixie!paul +1 415 864 7013