On Tue, Sep 14, 1999 at 11:13:14AM -0700, Jan Stanik wrote:

There's a patch on www.qmail.org that does this, and also adds checking
for validity of the sender's domain. If you don't want that, then you
could look at the patch, and only extract the part that logs the
relaying attempt. Or you could stick in recordio before your qmail-smtpd
invocation, and pass the result to an awk/sed/perl script to only log
the relaying attempt failure,something like:

...  recordio qmail-smtpd | filter.pl | splogger smtpd 3 &

I tried to do this myself, but I'm not very good with programming, and
didn't get very far, so I gave up.

> Hi,
> 
>       I need to log rcpthosts failures:
> 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
> Is there any patch to qmail-smtpd?

-- 
See complete headers for more info

Reply via email to