Solved

XXXX Command in SMTP?  What does it mean?

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

746 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now