Solved

XXXX Command in SMTP?  What does it mean?

Posted on 2004-04-19
2
315 Views
Last Modified: 2010-05-02
I'm currently building an app to intercept SPAM mail via an SMTP relay.  The only problem I've got is that some mail servers send a XXXX command prior to sending their HELO.  I've looked high and low to find out what the reason for the XXXX is, and haven't found anything anywhere.  My mail server just generates an error when it gets it.  Here's an example of the handshake just prior to an E-Mail being sent:

>  220 mail.(ourserver).com ESMTP Server (Microsoft Exchange Internet Mail Service 5.5.2655.55) ready[CR][LF]
>> XXXX grebe.mail.pas.earthlink.net[CR][LF]
> 500 Command not recognized.[CR][LF]
>> HELO grebe.mail.pas.earthlink.net[CR][LF]
>  250 OK[CR][LF]
>> MAIL FROM:<blah@earthlink.net>[CR][LF]
>  250 OK - mail from <blah@earthlink.net>[CR][LF]

That first XXXX command sent is what's losing me.  And it's not just earthlink that does it.  Like I said, I've searched high and low for something explaining it with no luck.  Best I'm able to guess is that for some reason maybe they WANT to generate an error response on the server for some reason.  Anyone with the answer gets 500 points.  (And no theories, please.  I need to know WHY they do this.)

-Javin
0
Comment
Question by:Javin007
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 17

Accepted Solution

by:
zzzzzooc earned 500 total points
ID: 10862577
>> XXXX grebe.mail.pas.earthlink.net[CR][LF]
>> 500 Command not recognized.[CR][LF]

Cisco PIX Firewalls filter SMTP content. If you use non-basic commands, the real command will be replaced with "XXXX" and then it'll be followed by "500 Command not recognized".
0
 
LVL 4

Author Comment

by:Javin007
ID: 10863322
Aha.  So this is likely an EHLO command or some such.  Makes sense.  We do have a Cisco Pix.

Thanks!

-Javin
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question