Solved

XXXX Command in SMTP?  What does it mean?

Posted on 2004-04-19
2
312 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
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

828 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