On Mon, Nov 29, 1999 at 05:34:58PM -0800, Noah Sutherland wrote:
> OK, I am using tcpserver to do selective relaying. Is logging done of the
> connections that are rejected? If so, how do I find them. Is there something
> I can grep my log file for? For reference, here's my startup line:

If you have a standard selective relaying setup, you're not actually rejecting
any connections. tcpserver will accept any connection at all, and either set or
not set RELAYCLIENT, as appropriate.

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

Chris

Reply via email to