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.

TCP/IP and NFS FAQ

How do I test a smtp connection?

The lines preceded by numbers are typical responses. The actual response may be different.


Hate these ads?



 
 $ 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 ISPS 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.


Technorati tags:  

Comments /SCOFAQ/FAQ_scotec4testsmtp.html


Add your comments

LOD Communications, Inc.

Enter your email address for automatic notification of new posts here
(be sure to whitelist 'feedburner.com' if you use spam filtering)

Or use any RSS reader

Delivered by FeedBurner


Views for this page
Today This Week This Month This Year  Overall
15252492,703 3,293

/SCOFAQ/FAQ_testsmtp.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.

Publishing your articles here

More:
       - FAQ




Unix/Linux Consultants


SCO, OpenServer, UnixWare, software, servers, security, networks, installation, administration, troubleshooting, maintenance, Watchguard, firewalls, VPNs, e-mail. Visit us at http://opensystemscomputing.com and www.go2unix.com.


larryi@ccamedical.com SCO OS5, Debian Linux, RedHat Linux, MySQL, Apache, AJAX development using dXport/dL4/Unibasic, Windows Connectivity, Sharing Resouces, Automation, Shell Scripting


http://www.m3ipinc.com Security, firewalls, ids, audits, vulnerability assesments, BS7799, HIPAA, GLB, incident handling


Twitter
  • May 11 13:53
    Happy Mother's day
  • May 10 06:39
    Gym log this week: 4 days, 179.5 lbs, rowing 40 minutes, walking 40, dips 60, pullups 97, crunches 160, pushups 60, squats/lunges 200









Change Congress

Related Posts