Am 24.11.2023 um 01:07:30 Uhr schrieb Claus Aßmann:
Marco Moock wrote:
FEATURE(`dnsbl', `dnsbl-1.uceprotect.net')dnl
I used ncat 127.0.0.1 25 -s 127.0.0.2 to connect (the dnsbl being
used has that localhost IP listed for testing).
What was the SMTP dialogue?
root@test:/home/m# ncat 127.0.0.1 25 -s 127.0.0.2
220 test.dorfdsl.de ESMTP Sendmail 8.17.1.9/8.17.1.9/Debian-2; Fri, 24 Nov 2023 09:14:24 +0100; (No UCE/UBE) logging access from: [127.0.0.2](FAIL)-[127.0.0.2]
helo localhost
250 test.dorfdsl.de Hello [127.0.0.2], pleased to meet you
mail from:<>
250 2.1.0 <>... Sender ok
rcpt to:<root>
250 2.1.5 <root>... Recipient ok
data
354 Enter mail, end with "." on a line by itself
test
.
250 2.0.0 3AO8EON0000623 Message accepted for delivery
quit
221 2.0.0 test.dorfdsl.de closing connection
What was logged about it?
Nothing about dnsbl
Nov 24 09:14:40 test sm-mta[623]: 3AO8EON0000623: from=<>, size=5, class=0, nrcpts=1, msgid=<
202311240814.3AO8EON0000623@test.dorfdsl.de>, proto=SMTP, daemon=MTA, relay=[127.0.0.2]
Nov 24 09:14:40 test sm-mta[624]: 3AO8EON0000623: to=<root>,
delay=00:00:02, xdelay=00:00:00, mailer=local, pri=30279, dsn=2.0.0, stat=Sent
Config is in the cf file and machine has been restarted since yesterday.
root@test:/home/m# grep dns /etc/mail/sendmail.cf
##### $Id: dnsbl.m4,v 8.34 2013-11-22 20:51:11 ca Exp $ #####
Kdnsbl dns -R A -T<TMP>
# DNS based IP address spam list dnsbl-1.uceprotect.net
R$-.$-.$-.$- $: <?> $(dnsbl $4.$3.$2.$1.dnsbl-1.uceprotect.net. $: OK $)
R<?>$+ $#error $@ 5.7.1 $: "550 Rejected: " $&{client_addr} " listed at dnsbl-1.uceprotect.net"
# FEATURE(`dnsbl', `dnsbl-1.uceprotect.net')dnl
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)