🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.mail.sendmail
3 messages
3 total messages Started by Richard Hopkins Fri, 18 Nov 1988 11:39
DEBUG
#2959
Author: Richard Hopkins
Date: Fri, 18 Nov 1988 11:39
6 lines
736 bytes
Having recompiled our sendmail sources without the DEBUG option, I now find
that I can't run sendmail in test mode (with -bt args). From reading the
documentation I didn't expect this. Are the rest of you experiencing this,
and if so has anyone got a fix yet?

Richard Hopkins (HokinsRJ@uk.ac.bristol)
Re: DEBUG
#2964
Author: Mark Sirota
Date: Mon, 21 Nov 1988 04:12
13 lines
1148 bytes
In article <13014.8811181138@brahma.cs.hw.ac.uk> Hopkins@np1a.bristol.ac.uk (Richard Hopkins) writes:
> Having recompiled our sendmail sources without the DEBUG option, I now find
> that I can't run sendmail in test mode (with -bt args). From reading the
> documentation I didn't expect this. Are the rest of you experiencing this,
> and if so has anyone got a fix yet?

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.
-- 
Mark Sirota
 msir_ltd@uhura.cc.rochester.edu (rochester!ur-cc!msir_ltd)
Re: DEBUG
#2967
Author: Paul Vixie
Date: Mon, 21 Nov 1988 08:12
20 lines
1501 bytes
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads