Port 25 SMTP Standards

Chuck Liggett chuckl at NACS.NET
Wed Jun 25 16:04:03 IST 2003


True -- RFC821 does specify that the server hostname must be present
as the first word in the reply following the reply code.

Furthermore, when editing your SMTP Greeting reply, be aware that the
entire length of the message, including the reply code and the trailing
CR/LF must be less than or equal to 512 bytes.

Failure to follow these may result in some problems.


-----Original Message-----
From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]On
Behalf Of Spicer, Kevin
Sent: Wednesday, June 25, 2003 10:19
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: Port 25


>>
>>     $ telnet 127.0.0.1 25
>>     220- ESMTP
>>     220-
>>     220-
>>     220-It is a violation of applicable law to send spam
>>     220-to this server, and such violations may be prosecuted.
>>     220- 220 Be aware: Oklahoma has Long Arm clauses in its
>> computer crime statute.
>
> What did you add to get that message or maybe its not sendmail?
>

You can change the banner message on sendmail with this in your sendmail.mc
define(`confSMTP_LOGIN_MSG', `yourserver.yourdomain.com  Your message here')dnl

IIRC theres an RFC that says you should include the name of your mail server in the banner.



More information about the MailScanner mailing list