At 05:04 PM 11/30/99 -0500, you wrote:
>I suspect what you mean is that you want to log attempts to use your SMTP
>server as a relay. That would not be logged by tcpserver, and qmail-smtpd
>(which is doing the actual rejecting, of the recipients, not the connection)
>doesn't emit any logging information.
>
>To get what you're looking for, you'll need a patch. Here's one (you'll
>probably find others at www.qmail.org):
>http://www.palomine.net/qmail/logrelay.patch
When I attempt to compile qmail with make, this is what occurs:
[root@nermal qmail-1.03]# make
./load qmail-smtpd rcpthosts.o commands.o timeoutread.o \
timeoutwrite.o ip.o ipme.o ipalloc.o control.o constmap.o \
received.o date822fmt.o now.o qmail.o cdb.a fd.a wait.a \
datetime.a getln.a open.a sig.a case.a env.a stralloc.a \
alloc.a substdio.a error.a str.a fs.a auto_qmail.o `cat \
socket.lib`
qmail-smtpd.o: In function `smtp_rcpt':
qmail-smtpd.o(.text+0x893): undefined reference to `strerr_warn'
make: *** [qmail-smtpd] Error 1
I know that the include for "strerr.h" is there, and the line
for strerr_warn6 appears to be ok also...any ideas?
-Bill