Hello Peter
On 25-Jan-01, you wrote:
> On Thu, Jan 25, 2001 at 02:06:58PM -0500, Martin Randall wrote:
> [snip]
>> Whilst I'm here....I noticed that most mail servers connecting have
>> cutomised greetings and endings during the 220, 250 and 221 responses. I
>> searched the docs plus Dave Sills archives but couldn't find anything on
>> this.
>
> man qmail-smtpd, look for smtpgreeting.
>
> Greetz, Peter.
>
Well there were twp partsto this, the main part the rblsmtpd and the
trivial/curious part, which is this.
Let me start with the rblsmtpd.
Here is a rbl log on another mail server.
------------------------
Sat 2001-01-27 13:39:51: [1164:8057] EHLO mail02.osite.com.br
Sat 2001-01-27 13:39:51: [1164:8057] Spam Blocker checking 200.189.209.131
using cache...
Sat 2001-01-27 13:39:51: [1164:8057] Spam Blocker checking 200.189.209.131
using 131.209.189.200.dialups.mail-abuse.org...
Sat 2001-01-27 13:39:51: [1164:8057] Spam Blocker A-record resolution of
[131.209.189.200.dialups.mail-abuse.org] in progress (DNS Server:
216.136.29.250)...
Sat 2001-01-27 13:40:01: [1164:8057] Spam Blocker 10 second wait for DNS
response exceeded
Sat 2001-01-27 13:40:01: [1164:8057] Spam Blocker checking 200.189.209.131
using 131.209.189.200.rbl.maps.vix.com...
Sat 2001-01-27 13:40:01: [1164:8057] Spam Blocker A-record resolution of
[131.209.189.200.rbl.maps.vix.com] in progress (DNS Server:
216.136.29.250)...
Sat 2001-01-27 13:40:02: [1164:8057] Spam Blocker checking 200.189.209.131
using 131.209.189.200.relays.mail-abuse.org...
Sat 2001-01-27 13:40:02: [1164:8057] Spam Blocker A-record resolution of
[131.209.189.200.relays.mail-abuse.org] in progress (DNS Server:
216.136.29.250)...
Sat 2001-01-27 13:40:02: [1164:8057] Spam Blocker
D=131.209.189.200.relays.mail-abuse.org TTL=(5) A=[127.0.0.2]
Sat 2001-01-27 13:40:02: [1164:8057] 550 mail from 200.189.209.131 refused
by RSS, see http://www.mail-abuse.org/rss/
Sat 2001-01-27 13:40:03: [1164:8057] SMTP session abnormally terminated, 26
bytes transferred.
Sat 2001-01-27 13:40:03: ----------
----------------------------
As you can see, it says it is doing A-record resolutions with the relevent
abuse locations.
I did note in the earlier mail that rblsmtpd is now in the ucspi-tcp program
and has a -a query.
The only thing about this is why it says "anti-listed" instead of listed.
On my second question which was about the 220, 221 etc. codes, Yes, I had
already tried putting something in SMTPGREETING.
What that gives me is (I've deleted most of the junk for brevity) :-
Sat 2001-01-27 13:38:15: [2356:8055] 220 How's it hanging ? ESMTP
Sat 2001-01-27 13:38:15: [2356:8055] EHLO chaossolutions.org
Sat 2001-01-27 13:38:15: [2356:8055] 250-How's it hanging ?
<SNIP>
Sat 2001-01-27 13:38:15: [2356:8055] 221 How's it hanging ?
Sat 2001-01-27 13:38:15: [2356:8055] SMTP session successful, 675 bytes
transferred.
As you can see, it gives the same text string for 220, 221 and 250 ie the
smtpgreeting.
Wheras, other pople customise the strings which is what I was asking about.
Sat 2001-01-27 05:41:30: [2608:7809] 220 smtp2.home.se Novonyx SMTP ready
$Revision: 2.74 $
Sat 2001-01-27 05:41:30: [2608:7809] EHLO chaossolutions.org
Sat 2001-01-27 05:41:32: [2608:7809] 250-smtp2.home.se Pleased to meet you
Sat 2001-01-27 05:41:44: [2608:7809] 221 smtp2.home.se So long, and thanks
for all the fish
Sat 2001-01-27 05:41:34: [2228:7803] 250 warrior-inbound - Plus.Net, The
smarter way to Internet -
Sat 2001-01-27 05:41:43: [2228:7803] 250 ok 980592233 qp 27053
Sat 2001-01-27 05:41:43: [2228:7803] QUIT
Sat 2001-01-27 05:41:49: [2228:7803] 221 warrior-inbound - Plus.Net, The
smarter way to Internet -
Sat 2001-01-27 05:41:37: [2444:7858] 250-post.it.helsinki.fi Hello
server.chaossolutions.org [216.136.109.158] (may be forged), pleased to
meet you. Unless you are a SPAMmer
Sat 2001-01-27 05:41:38: [2444:7858] 250 2.1.0
<[EMAIL PROTECTED]>... Sender looks kinda ok
Sat 2001-01-27 05:41:50: [2444:7858] 250 2.0.0 f0RAhmx20818 Message
accepted for delivery. Lucky you
Sat 2001-01-27 05:41:50: [2444:7858] QUIT
Sat 2001-01-27 05:41:51: [2444:7858] 221 2.0.0 post.it.helsinki.fi closing
connection. Nice meeting you
Anyway, this part I was just curious about. The main bit was/is the
rblsmtpd. Please refer back to my original mail if you are confused.
Regards...Martin
--
Ah, Blackadder. Notice anything...unusual?
Yes, sir. It's eleven thirty in the morning, and you're moving about.
Is the bed on fire?
== George and Edmund : Duel and Duality