I'm using tcpserver with qmail and a local blacklist in the form of
tcp.smtp and tcp.smtp.cdb. In order to provide local logging, and a brief
description to a rejected source of why their connection attempt was
rejected, a typical line from my tcp.smtp file may look something like this:
63.102.43.25:allow,RBLSMTPD="Access denied due to spamming."
This type of code returns an SMTP 451 error to the originator, and then
drops the connection. Since a 451 means 'deferred' or something similar in
SMTP-speak, the originating server continues to try to connect several more
times before it finally gives up.
My question: Is there any way to make tcpserver return a 553 error instead
of a 451? I've dug around in the source code files, but I don't speak
enough C to be able to find and change what I want.
Thanks in advance for any assistance.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Bruce Lane, Owner and head honcho, Blue Feather Technologies
http://www.bluefeathertech.com // E-mail: [EMAIL PROTECTED]
Amateur Radio: KC7GR, active since 12-77 (Extra class as of June-2K)
"I'll get a life when someone demonstrates to me that it would be
superior to what I have now..." (Gym Z. Quirk, aka Taki Kogoma).