[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 383
  • Last Modified:

XXXX Command in SMTP? What does it mean?

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
Javin007
Asked:
Javin007
1 Solution
 
zzzzzoocCommented:
>> 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
 
Javin007Author Commented:
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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now