Datacrash Forum  


telnet commands to check ur mailserver - 2006/05/10 11:51 telnet mail.yourserver.com 25

helo (for servers hosting several domains type helo domain.name)
>reply: 250 mail.yourserver.com Hello [ur current ip]

mail from: whatever.u.want@aslongas.urserver.accepts.it
>reply: 250 2.1.0 whatever.u.want@aslongas.urserver.accepts.it....Sender OK

rcpt to: validid@yourserver.com
>reply: 2.1.5 validid@yourserver.com

data
>reply: 354 Start mail input; end with <CRLF>.<CRLF>
<enter data if u want>

subject: test or whatever...
. < "." to send the mail>
>reply: 250 2.6.0 Queued mail for delivery

Now u should see the mail u just send in ur validid@yourserver.com mailbox.
note: typing errors result in malformed commands... retype the command without errors (backspace doesnt work, so this can be frustrating )

to check ur smtp extensions, telnet again to port 25 and give the "ehlo" command. a list with the esmtp verbs will appear.

Too see what you type in telnet

If you open telnet and open a connection to a smtp server you never see what you type.

Here is the solution.

Open a cmd prompt type telnet(enter) type Set Local_echo (windows2000) Set Localecho (windowsXP)
Now you see what you type.
GPO adicted
  | | The administrator has disabled public write access.