This article is from a FAQ concerning SCO operating
systems. While some of the information may be applicable to any OS,
or any Unix or Linux OS, it may be specific to SCO Xenix, Open
Desktop or Openserver.
There is lots of Linux, Mac OS X and general Unix info elsewhere on
this site: Search this site is the best
way to find anything.
The lines preceded by numbers are typical responses. The actual response may be different.
$ telnet mail.somewhere.com 25
Trying 192.168.75.194...
Connected to smtp.somewhere.com.
Escape character is '^]'.
220 smtp.somewhere.net ESMTP Sendmail 8.9.3+Sun/8.9.1; Thu,
12 Oct 2000 04:39:40 -0700 (PDT)
helo aplawrence.com
250 smtp.somewhere.com
mail from: tony@aplawrence.com
250 tony@aplawrence.com... Sender ok
rcpt to: foobah@aplawrence.com
550 foobah@aplawrence.com... Relaying denied
rcpt to: foobah@somewhere.com
250 foobah@somewhere.com... Recipient ok
data
354 Enter mail, end with . on a line by itself
test
look ma no headers!
.
250 HA00945 Message accepted for delivery
quit
221 smtp.somewhere.com closing connection
You might also need to do a
helo mymachine.mymachine.com
first, and addresses may need to be in angle brackets: <foo@xyz.com>
Note: some ISP'S block your outgoing packets, only allowing port 25 to their SMTP server. You won't be able to test any other server if this is true.
Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them.
I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.
/SCOFAQ/FAQ_scotec4testsmtp.html copyright 1997-2003 (various) All Rights Reserved
Have you tried Searching this site?
Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates
This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.
Mon Jan 5 10:32:26 2009: Subject: aravind
The post is so usefull thanks a lot.
Don't miss responses! Subscribe to Comments by RSS or by Email
Click here to add your comments
If you want a picture to show with your comment, go get a Gravatar